Compare commits
2 commits
827fe195a9
...
28e1d9a206
| Author | SHA1 | Date | |
|---|---|---|---|
|
28e1d9a206 |
|||
|
676b8dbee0 |
11 changed files with 102 additions and 12 deletions
|
|
@ -45,7 +45,7 @@ public class LangSelectMenuCtrl implements LocaleAware {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initializeComponents() {
|
public void initializeComponents() {
|
||||||
langSelectMenu.getItems().setAll("en", "pl", "nl", "tok", "tr");
|
langSelectMenu.getItems().setAll("en", "pl", "nl", "zht", "zhc", "tok", "tr");
|
||||||
langSelectMenu.setValue(manager.getLocale().getLanguage());
|
langSelectMenu.setValue(manager.getLocale().getLanguage());
|
||||||
langSelectMenu.setConverter(new StringConverter<String>() {
|
langSelectMenu.setConverter(new StringConverter<String>() {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
BIN
client/src/main/resources/flag_zhc.png
Normal file
BIN
client/src/main/resources/flag_zhc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
client/src/main/resources/flag_zht.png
Normal file
BIN
client/src/main/resources/flag_zht.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -32,3 +32,5 @@ lang.nl.display=Dutch
|
||||||
lang.pl.display=Polish
|
lang.pl.display=Polish
|
||||||
lang.tok.display=toki pona
|
lang.tok.display=toki pona
|
||||||
lang.tr.display=T\u00FCrk\u00E7e
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
|
|
|
||||||
|
|
@ -34,3 +34,5 @@ lang.nl.display=Nederlands
|
||||||
lang.pl.display=Polski
|
lang.pl.display=Polski
|
||||||
lang.tok.display=toki pona
|
lang.tok.display=toki pona
|
||||||
lang.tr.display=T\u00FCrk\u00E7e
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
|
|
|
||||||
|
|
@ -10,15 +10,15 @@ button.ok=Ok
|
||||||
button.cancel=Annuleren
|
button.cancel=Annuleren
|
||||||
|
|
||||||
menu.label.recipes=Recepten
|
menu.label.recipes=Recepten
|
||||||
menu.label.ingredients=Ingrediënten
|
menu.label.ingredients=Ingrediënten
|
||||||
menu.label.preparation=Bereiding
|
menu.label.preparation=Bereiding
|
||||||
|
|
||||||
menu.button.add.recipe=Recept toevoegen
|
menu.button.add.recipe=Recept toevoegen
|
||||||
menu.button.add.ingredient=Ingrediënt toevoegen
|
menu.button.add.ingredient=Ingrediënt toevoegen
|
||||||
menu.button.add.step=Stap toevoegen
|
menu.button.add.step=Stap toevoegen
|
||||||
|
|
||||||
menu.button.remove.recipe=Recept verwijderen
|
menu.button.remove.recipe=Recept verwijderen
|
||||||
menu.button.remove.ingredient=Ingrediënt verwijderen
|
menu.button.remove.ingredient=Ingrediënt verwijderen
|
||||||
menu.button.remove.step=Stap verwijderen
|
menu.button.remove.step=Stap verwijderen
|
||||||
|
|
||||||
menu.button.edit=Bewerken
|
menu.button.edit=Bewerken
|
||||||
|
|
@ -33,3 +33,5 @@ lang.nl.display=Nederlands
|
||||||
lang.pl.display=Polski
|
lang.pl.display=Polski
|
||||||
lang.tok.display=toki pona
|
lang.tok.display=toki pona
|
||||||
lang.tr.display=T\u00FCrk\u00E7e
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
|
|
|
||||||
|
|
@ -34,3 +34,5 @@ lang.nl.display=Nederlands
|
||||||
lang.pl.display=Polski
|
lang.pl.display=Polski
|
||||||
lang.tok.display=toki pona
|
lang.tok.display=toki pona
|
||||||
lang.tr.display=T\u00FCrk\u00E7e
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
|
|
|
||||||
|
|
@ -34,3 +34,4 @@ lang.nl.display=toki Netelan
|
||||||
lang.pl.display=toki Posuka
|
lang.pl.display=toki Posuka
|
||||||
lang.tok.display=toki pona
|
lang.tok.display=toki pona
|
||||||
lang.tr.display=toki Tuki
|
lang.tr.display=toki Tuki
|
||||||
|
lang.zht.display=toki Sonko (tan pi tenpo pini)
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,12 @@ menu.button.print=Tarifi Yazd\u0131r
|
||||||
|
|
||||||
menu.label.selected-langs=Diller
|
menu.label.selected-langs=Diller
|
||||||
|
|
||||||
lang.en.display=\u0130ngilizce
|
menu.search=Aramak
|
||||||
lang.nl.display=Hollandaca
|
|
||||||
lang.pl.display=Leh\u00E7e
|
lang.en.display=English
|
||||||
|
lang.nl.display=Nederlands
|
||||||
|
lang.pl.display=Polski
|
||||||
|
lang.tok.display=toki pona
|
||||||
lang.tr.display=T\u00FCrk\u00E7e
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
|
|
|
||||||
38
client/src/main/resources/locale/lang_zhc.properties
Normal file
38
client/src/main/resources/locale/lang_zhc.properties
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
add.ingredient.title=添加配料
|
||||||
|
add.recipe.title=创建食谱
|
||||||
|
add.step.title=添加步骤
|
||||||
|
|
||||||
|
add.ingredient.label=配料
|
||||||
|
add.recipe.label=食谱名称
|
||||||
|
add.step.label=步骤
|
||||||
|
|
||||||
|
button.ok=确认
|
||||||
|
button.cancel=取消
|
||||||
|
|
||||||
|
menu.label.recipes=食谱
|
||||||
|
menu.label.ingredients=配料
|
||||||
|
menu.label.preparation=准备步骤
|
||||||
|
|
||||||
|
menu.button.add.recipe=创建食谱
|
||||||
|
menu.button.add.ingredient=添加配料
|
||||||
|
menu.button.add.step=添加步骤
|
||||||
|
|
||||||
|
menu.button.remove.recipe=清除食谱
|
||||||
|
menu.button.remove.ingredient=清除配料
|
||||||
|
menu.button.remove.step=清除步骤
|
||||||
|
|
||||||
|
menu.button.edit=编辑
|
||||||
|
menu.button.clone=复制
|
||||||
|
menu.button.print=打印食谱
|
||||||
|
|
||||||
|
menu.search=搜索
|
||||||
|
|
||||||
|
menu.label.selected-langs=语言
|
||||||
|
|
||||||
|
lang.en.display=English
|
||||||
|
lang.nl.display=Nederlands
|
||||||
|
lang.pl.display=Polski
|
||||||
|
lang.tok.display=toki pona
|
||||||
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
38
client/src/main/resources/locale/lang_zht.properties
Normal file
38
client/src/main/resources/locale/lang_zht.properties
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
add.ingredient.title=添加配料
|
||||||
|
add.recipe.title=創建食譜
|
||||||
|
add.step.title=添加步驟
|
||||||
|
|
||||||
|
add.ingredient.label=配料
|
||||||
|
add.recipe.label=食譜名稱
|
||||||
|
add.step.label=步驟
|
||||||
|
|
||||||
|
button.ok=確認
|
||||||
|
button.cancel=取消
|
||||||
|
|
||||||
|
menu.label.recipes=食譜
|
||||||
|
menu.label.ingredients=配料
|
||||||
|
menu.label.preparation=制備步驟
|
||||||
|
|
||||||
|
menu.button.add.recipe=創建食譜
|
||||||
|
menu.button.add.ingredient=添加配料
|
||||||
|
menu.button.add.step=添加步驟
|
||||||
|
|
||||||
|
menu.button.remove.recipe=清除食譜
|
||||||
|
menu.button.remove.ingredient=清除配料
|
||||||
|
menu.button.remove.step=清除步驟
|
||||||
|
|
||||||
|
menu.button.edit=編輯
|
||||||
|
menu.button.clone=複製
|
||||||
|
menu.button.print=列印食譜
|
||||||
|
|
||||||
|
menu.search=搜索
|
||||||
|
|
||||||
|
menu.label.selected-langs=語言
|
||||||
|
|
||||||
|
lang.en.display=English
|
||||||
|
lang.nl.display=Nederlands
|
||||||
|
lang.pl.display=Polski
|
||||||
|
lang.tok.display=toki pona
|
||||||
|
lang.tr.display=T\u00FCrk\u00E7e
|
||||||
|
lang.zht.display=中文(台灣)
|
||||||
|
lang.zhc.display=中文(中国大陆)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue