I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 23615579 authored by zzz's avatar zzz
Browse files

Console: Add translation debug option

parent 8ef593fe
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,8 @@ public class ConfigUIHelper extends HelperBase { ...@@ -100,7 +100,8 @@ public class ConfigUIHelper extends HelperBase {
{ "uk", "ua", _x("Ukrainian"), null }, { "uk", "ua", _x("Ukrainian"), null },
{ "vi", "vn", _x("Vietnamese"), null }, { "vi", "vn", _x("Vietnamese"), null },
{ "zh", "cn", _x("Chinese"), null }, { "zh", "cn", _x("Chinese"), null },
{ "zh_TW", "tw", _x("Chinese"), "Taiwan" } { "zh_TW", "tw", _x("Chinese"), "Taiwan" },
{ "xx", "a1", "Debug: Find untagged strings", null },
}; };
...@@ -138,6 +139,8 @@ public class ConfigUIHelper extends HelperBase { ...@@ -138,6 +139,8 @@ public class ConfigUIHelper extends HelperBase {
// we use "lang" so it is set automagically in CSSHelper // we use "lang" so it is set automagically in CSSHelper
buf.append("<input type=\"radio\" class=\"optbox\" name=\"lang\" "); buf.append("<input type=\"radio\" class=\"optbox\" name=\"lang\" ");
String lang = langs[i][0]; String lang = langs[i][0];
if (lang.equals("xx") && !isAdvanced())
continue;
if (lang.equals(current)) if (lang.equals(current))
buf.append(CHECKED); buf.append(CHECKED);
buf.append("value=\"").append(lang).append("\">") buf.append("value=\"").append(lang).append("\">")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment