Module talk:Lang-zh: Difference between revisions

Content deleted Content added
no-merging s and t: new section
m Archiving 1 discussion(s) to Module talk:Lang-zh/Archive 5) (bot
Line 21:
{{archive box | auto=yes }}
__TOC__
 
== Template-protected edit request on 17 August 2024 ==
 
{{Edit template-protected|Module:Lang-zh|answered=yes}}
 
I propose the following changes to add [[Tâi-uân Lô-má-jī Phing-im Hong-àn|Tâi-lô]] romanization support. Of course, POJ covers 95% of Hokkien/Minnan use cases (hence why I have added the "tailo" IANA subtag) but it could still be useful for Taiwanese-specific pages. Additions and modifications below:
 
<syntaxhighlight lang="diff">
--- Module:Lang-zh
+++ Module:Lang-zh
 
@@ after line 29 @@ local labels = {
["sl"] = "Sidney Lau",
["poj"] = "Pe̍h-ōe-jī",
+ ["tl"] = "Tâi-lô",
["zhu"] = "Zhuyin Fuhao",
["l"] = "lit.",
@@ after line 46 @@ local wlinks = {
["poj"] = "Pe̍h-ōe-jī",
+ ["tl"] = "Tâi-uân Lô-má-jī Phing-im Hong-àn",
@@ after line 63 @@ local ISOlang = {
["poj"] = "nan-Latn",
+ ["tl"] = "nan-Latn-tailo",
 
@@ after line 74 @@ local italic = {
["poj"] = true,
+ ["tl"] = true,
 
@@ at line 136 @@
- local orderlist = {"c", "s", "t", "p", "tp", "w", "j", "cy", "sl", "poj", "zhu", "l", "tr"}
+ local orderlist = {"c", "s", "t", "p", "tp", "w", "j", "cy", "sl", "poj", "tl", "zhu", "l", "tr"}
 
@@ after line 150 @@ if (poj1) then
orderlist[4] = "poj"
- orderlist[5] = "p"
- orderlist[6] = "tp"
- orderlist[7] = "w"
- orderlist[8] = "j"
- orderlist[9] = "cy"
- orderlist[10] = "sl"
+ orderlist[5] = "tl"
+ orderlist[6] = "p"
+ orderlist[7] = "tp"
+ orderlist[8] = "w"
+ orderlist[9] = "j"
+ orderlist[10] = "cy"
+ orderlist[11] = "sl"
end
</syntaxhighlight>
[[User:MSG17|MSG17]] ([[User talk:MSG17|talk]]) 15:53, 17 August 2024 (UTC)
 
:@[[User:MSG17|MSG17]]: This sounds reasonable, and would be helpful on pages such as [[Penang Hokkien]] where both POJ and TL are used in the article text. @[[User:Pppery|Pppery]] or @[[User:Jonesey95|Jonesey95]], would you be able to help here? [[User:Freelance Intellectual|Freelance Intellectual]] ([[User talk:Freelance Intellectual|talk]]) 13:03, 19 September 2024 (UTC)
::I'll take a look at this ASAP, thank you for your improvements! <span style="border-radius:2px;padding:3px;background:#1E816F">[[User:Remsense|<span style="color:#fff">'''Remsense'''</span>]]<span style="color:#fff">&nbsp;‥&nbsp;</span>[[User talk:Remsense|<span lang="zh" style="color:#fff">'''论'''</span>]]</span> 13:06, 19 September 2024 (UTC)
:{{done}}<!-- Template:ETp --> <span style="border-radius:2px;padding:3px;background:#1E816F">[[User:Remsense|<span style="color:#fff">'''Remsense'''</span>]]<span style="color:#fff">&nbsp;‥&nbsp;</span>[[User talk:Remsense|<span lang="zh" style="color:#fff">'''论'''</span>]]</span> 13:48, 19 September 2024 (UTC)
 
== Trailing bold in l= not being removed ==