diff --git a/.tx/config b/.tx/config index 795d3959ff77e1dcdd09b1284dcce97971ecf90a..c5ff7a11eabd98d103caede06d776ffcc8cee452 100644 --- a/.tx/config +++ b/.tx/config @@ -23,6 +23,7 @@ trans.sv_SE = apps/i2ptunnel/locale/messages_sv.po trans.uk_UA = apps/i2ptunnel/locale/messages_uk.po trans.vi = apps/i2ptunnel/locale/messages_vi.po trans.zh_CN = apps/i2ptunnel/locale/messages_zh.po +trans.zh_TW = apps/i2ptunnel/locale/messages_zh_TW.po [I2P.proxy] source_file = apps/i2ptunnel/locale-proxy/messages_en.po @@ -76,6 +77,7 @@ trans.tr_TR = apps/routerconsole/locale/messages_tr.po trans.uk_UA = apps/routerconsole/locale/messages_uk.po trans.vi = apps/routerconsole/locale/messages_vi.po trans.zh_CN = apps/routerconsole/locale/messages_zh.po +trans.zh_TW = apps/routerconsole/locale/messages_zh_TW.po [I2P.welcome] source_file = apps/routerconsole/locale-news/messages_en.po @@ -105,6 +107,7 @@ trans.sv_SE = apps/routerconsole/locale-news/messages_sv.po trans.tr_TR = apps/routerconsole/locale-news/messages_tr.po trans.uk_UA = apps/routerconsole/locale-news/messages_uk.po trans.zh_CN = apps/routerconsole/locale-news/messages_zh.po +trans.zh_TW = apps/routerconsole/locale-news/messages_zh_TW.po [I2P.countries] type = PO @@ -136,6 +139,7 @@ trans.uk_UA = apps/routerconsole/locale-countries/messages_uk.po trans.tr_TR = apps/routerconsole/locale-countries/messages_tr.po trans.vi = apps/routerconsole/locale-countries/messages_vi.po trans.zh_CN = apps/routerconsole/locale-countries/messages_zh.po +trans.zh_TW = apps/routerconsole/locale-countries/messages_zh_TW.po [I2P.i2psnark] source_file = apps/i2psnark/locale/messages_en.po diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java index 750f4d8c0e6f1eb52be33e341f3190ccb646a5a2..7e3beced3f5fa3f9dee58cdcd20c083d48efe2ac 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java @@ -99,7 +99,8 @@ public class ConfigUIHelper extends HelperBase { { "tr", "tr", _x("Turkish"), null }, { "uk", "ua", _x("Ukrainian"), null }, { "vi", "vn", _x("Vietnamese"), null }, - { "zh", "cn", _x("Chinese"), null } + { "zh", "cn", _x("Chinese"), null }, + { "zh_TW", "tw", _x("Chinese"), "Taiwan" } }; diff --git a/apps/routerconsole/jsp/console.jsp b/apps/routerconsole/jsp/console.jsp index c61025795e39d2682706aec63def0e384c202349..d559eff6fb1fe5b5d63ce98dd58dc1208a8a0969 100644 --- a/apps/routerconsole/jsp/console.jsp +++ b/apps/routerconsole/jsp/console.jsp @@ -57,6 +57,7 @@ <a href="/console?lang=sk&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=sk" title="SlovenÄina" alt="SlovenÄina"></a> <a href="/console?lang=sv&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=se" title="Svenska" alt="Svenska"></a> <a href="/console?lang=tr&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=tr" title="Türkçe" alt="Türkçe"></a> + <a href="/console?lang=zh_TW&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=tw" title="Chinese (Taiwan)" alt="Chinese (Taiwan)"></a> <a href="/console?lang=uk&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=ua" title="УкраїнÑька" alt="УкраїнÑька"></a> <a href="/console?lang=vi&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=vn" title="Tiếng Việt" alt="Tiếng Việt"></a> </div> diff --git a/apps/routerconsole/jsp/home.jsp b/apps/routerconsole/jsp/home.jsp index eb9887e97707403aa66ede34b4fdc00a459afc49..a0b5344e58460ad2ac1a712ac94f5e1b70ea4231 100644 --- a/apps/routerconsole/jsp/home.jsp +++ b/apps/routerconsole/jsp/home.jsp @@ -84,6 +84,7 @@ <a href="/home?lang=sk&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=sk" title="SlovenÄina" alt="SlovenÄina"></a> <a href="/home?lang=sv&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=se" title="Svenska" alt="Svenska"></a> <a href="/home?lang=tr&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=tr" title="Türkçe" alt="Türkçe"></a> + <a href="/home?lang=zh_TW&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=tw" title="Chinese (Taiwan)" alt="Chinese (Taiwan)"></a> <a href="/home?lang=uk&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=ua" title="УкраїнÑька" alt="УкраїнÑька"></a> <a href="/home?lang=vi&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=vn" title="Tiếng Việt" alt="Tiếng Việt"></a> </div>