* Console: Handle ISO-639-2 language codes (ticket #1229)

This commit is contained in:
zzz
2014-03-12 12:29:38 +00:00
parent 96b4c6b219
commit c57552f4e9
3 changed files with 12 additions and 9 deletions

View File

@ -135,7 +135,7 @@ public abstract class Translate {
}
/**
* Two-letter lower case
* Two- or three-letter lower case
* @return lang in routerconsole.lang property, else current locale
*/
public static String getLanguage(I2PAppContext ctx) {
@ -192,7 +192,7 @@ public abstract class Translate {
* by langCode, using the current language.
* Uses translation if available, then JVM Locale.getDisplayLanguage() if available, else default param.
*
* @param langCode two-letter lower-case
* @param langCode two- or three-letter lower-case
* @param dflt e.g. "English"
* @since 0.9.5
*/