diff --git a/client/src/main/java/client/scenes/LangSelectMenuCtrl.java b/client/src/main/java/client/scenes/LangSelectMenuCtrl.java index 8cb6ddf..cc764f0 100644 --- a/client/src/main/java/client/scenes/LangSelectMenuCtrl.java +++ b/client/src/main/java/client/scenes/LangSelectMenuCtrl.java @@ -45,7 +45,7 @@ public class LangSelectMenuCtrl implements LocaleAware { @Override 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.setConverter(new StringConverter() { @Override diff --git a/client/src/main/resources/flag_zhc.png b/client/src/main/resources/flag_zhc.png new file mode 100644 index 0000000..e14c147 Binary files /dev/null and b/client/src/main/resources/flag_zhc.png differ diff --git a/client/src/main/resources/flag_zht.png b/client/src/main/resources/flag_zht.png new file mode 100644 index 0000000..5c5b076 Binary files /dev/null and b/client/src/main/resources/flag_zht.png differ diff --git a/client/src/main/resources/locale/lang.properties b/client/src/main/resources/locale/lang.properties index df67ba5..7622bb6 100644 --- a/client/src/main/resources/locale/lang.properties +++ b/client/src/main/resources/locale/lang.properties @@ -31,4 +31,6 @@ lang.en.display=English lang.nl.display=Dutch lang.pl.display=Polish lang.tok.display=toki pona -lang.tr.display=T\u00FCrk\u00E7e \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) +lang.zhc.display=中文(中国大陆) diff --git a/client/src/main/resources/locale/lang_en.properties b/client/src/main/resources/locale/lang_en.properties index 2344205..02c0e2d 100644 --- a/client/src/main/resources/locale/lang_en.properties +++ b/client/src/main/resources/locale/lang_en.properties @@ -33,4 +33,6 @@ lang.en.display=English lang.nl.display=Nederlands lang.pl.display=Polski lang.tok.display=toki pona -lang.tr.display=T\u00FCrk\u00E7e \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) +lang.zhc.display=中文(中国大陆) diff --git a/client/src/main/resources/locale/lang_nl.properties b/client/src/main/resources/locale/lang_nl.properties index 0a65cf8..1ebead8 100644 --- a/client/src/main/resources/locale/lang_nl.properties +++ b/client/src/main/resources/locale/lang_nl.properties @@ -10,15 +10,15 @@ button.ok=Ok button.cancel=Annuleren menu.label.recipes=Recepten -menu.label.ingredients=Ingredinten +menu.label.ingredients=Ingrediënten menu.label.preparation=Bereiding menu.button.add.recipe=Recept toevoegen -menu.button.add.ingredient=Ingredint toevoegen +menu.button.add.ingredient=Ingrediënt toevoegen menu.button.add.step=Stap toevoegen menu.button.remove.recipe=Recept verwijderen -menu.button.remove.ingredient=Ingredint verwijderen +menu.button.remove.ingredient=Ingrediënt verwijderen menu.button.remove.step=Stap verwijderen menu.button.edit=Bewerken @@ -32,4 +32,6 @@ lang.en.display=English lang.nl.display=Nederlands lang.pl.display=Polski lang.tok.display=toki pona -lang.tr.display=T\u00FCrk\u00E7e \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) +lang.zhc.display=中文(中国大陆) diff --git a/client/src/main/resources/locale/lang_pl.properties b/client/src/main/resources/locale/lang_pl.properties index 841d9b8..e46b4d1 100644 --- a/client/src/main/resources/locale/lang_pl.properties +++ b/client/src/main/resources/locale/lang_pl.properties @@ -33,4 +33,6 @@ lang.en.display=English lang.nl.display=Nederlands lang.pl.display=Polski lang.tok.display=toki pona -lang.tr.display=T\u00FCrk\u00E7e \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) +lang.zhc.display=中文(中国大陆) diff --git a/client/src/main/resources/locale/lang_tok.properties b/client/src/main/resources/locale/lang_tok.properties index 1b44b6a..56c3796 100644 --- a/client/src/main/resources/locale/lang_tok.properties +++ b/client/src/main/resources/locale/lang_tok.properties @@ -33,4 +33,5 @@ lang.en.display=toki Inli lang.nl.display=toki Netelan lang.pl.display=toki Posuka lang.tok.display=toki pona -lang.tr.display=toki Tuki \ No newline at end of file +lang.tr.display=toki Tuki +lang.zht.display=toki Sonko (tan pi tenpo pini) diff --git a/client/src/main/resources/locale/lang_tr.properties b/client/src/main/resources/locale/lang_tr.properties index 1b4ceb6..917c3c9 100644 --- a/client/src/main/resources/locale/lang_tr.properties +++ b/client/src/main/resources/locale/lang_tr.properties @@ -27,7 +27,12 @@ menu.button.print=Tarifi Yazd\u0131r menu.label.selected-langs=Diller -lang.en.display=\u0130ngilizce -lang.nl.display=Hollandaca -lang.pl.display=Leh\u00E7e +menu.search=Aramak + +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=中文(中国大陆) diff --git a/client/src/main/resources/locale/lang_zhc.properties b/client/src/main/resources/locale/lang_zhc.properties new file mode 100644 index 0000000..646ce54 --- /dev/null +++ b/client/src/main/resources/locale/lang_zhc.properties @@ -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=中文(中国大陆) diff --git a/client/src/main/resources/locale/lang_zht.properties b/client/src/main/resources/locale/lang_zht.properties new file mode 100644 index 0000000..fe5c3fb --- /dev/null +++ b/client/src/main/resources/locale/lang_zht.properties @@ -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=中文(中国大陆)