Minor updates to correctly display Ryukyuan languages in menu
This commit is contained in:
parent
569411d2cc
commit
b709916df1
4 changed files with 7 additions and 2 deletions
|
@ -28,6 +28,7 @@ Create new GitHub issue with bug report or proposition
|
||||||
|
|
||||||
* [DDinghoya](https://github.com/DDinghoya), who translated this application to Korean!
|
* [DDinghoya](https://github.com/DDinghoya), who translated this application to Korean!
|
||||||
* [Ignacio Grosso](https://github.com/blckbearx), who translated this application to Spanish!
|
* [Ignacio Grosso](https://github.com/blckbearx), who translated this application to Spanish!
|
||||||
|
* [kuragehime](https://github.com/kuragehimekurara1), who translated this application to Japanese and Ryukyuan languages!
|
||||||
|
|
||||||
#### Translations
|
#### Translations
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ GNU GLPv3 или выше. Ознакомьтесь с файлом LICENSE.
|
||||||
|
|
||||||
* [DDinghoya](https://github.com/DDinghoya), кто перевели приложение на Корейский!
|
* [DDinghoya](https://github.com/DDinghoya), кто перевели приложение на Корейский!
|
||||||
* [Ignacio Grosso](https://github.com/blckbearx), кто перевели приложение на Испанский!
|
* [Ignacio Grosso](https://github.com/blckbearx), кто перевели приложение на Испанский!
|
||||||
|
* [kuragehime](https://github.com/kuragehimekurara1), кто перевели приложение на Японский и языки Рюкю!
|
||||||
|
|
||||||
#### Переводы
|
#### Переводы
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
||||||
<name>Tihwin</name>
|
<name>Tihwin</name>
|
||||||
|
|
||||||
<artifactId>Tihwin</artifactId>
|
<artifactId>Tihwin</artifactId>
|
||||||
<version>2.2</version>
|
<version>2.3</version>
|
||||||
|
|
||||||
<url>https://github.com/developersu/${project.artifactId}/</url>
|
<url>https://github.com/developersu/${project.artifactId}/</url>
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -37,6 +37,9 @@ public class LocaleHolder {
|
||||||
country = localeFileName.substring(10, 12);
|
country = localeFileName.substring(10, 12);
|
||||||
this.locale = new Locale(language, country);
|
this.locale = new Locale(language, country);
|
||||||
this.localeCode = locale.toString();
|
this.localeCode = locale.toString();
|
||||||
|
if (country.equals("RYU")) // Ryukyuan
|
||||||
|
this.languageName = "琉球語派";
|
||||||
|
else
|
||||||
this.languageName = locale.getDisplayLanguage(locale).toUpperCase();
|
this.languageName = locale.getDisplayLanguage(locale).toUpperCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue