diff --git a/client/src/main/java/client/scenes/LangSelectMenuCtrl.java b/client/src/main/java/client/scenes/LangSelectMenuCtrl.java index 0dc719a..af56631 100644 --- a/client/src/main/java/client/scenes/LangSelectMenuCtrl.java +++ b/client/src/main/java/client/scenes/LangSelectMenuCtrl.java @@ -46,7 +46,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", "tok", "tr"); langSelectMenu.setValue(manager.getLocale().getLanguage()); langSelectMenu.setConverter(new StringConverter() { @Override 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 32856a1..966b89e 100644 --- a/client/src/main/resources/locale/lang.properties +++ b/client/src/main/resources/locale/lang.properties @@ -42,4 +42,5 @@ lang.en.display=English lang.nl.display=Dutch lang.pl.display=Polish lang.tok.display=toki pona -lang.tr.display=Turkish \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) diff --git a/client/src/main/resources/locale/lang_en.properties b/client/src/main/resources/locale/lang_en.properties index db0d90f..2bd11ae 100644 --- a/client/src/main/resources/locale/lang_en.properties +++ b/client/src/main/resources/locale/lang_en.properties @@ -44,4 +44,5 @@ lang.en.display=English lang.nl.display=Dutch lang.pl.display=Polish lang.tok.display=toki pona -lang.tr.display=Turkish \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) diff --git a/client/src/main/resources/locale/lang_nl.properties b/client/src/main/resources/locale/lang_nl.properties index 86cdb6b..79295ee 100644 --- a/client/src/main/resources/locale/lang_nl.properties +++ b/client/src/main/resources/locale/lang_nl.properties @@ -43,4 +43,5 @@ lang.en.display=Engels lang.nl.display=Nederlands lang.pl.display=Pools lang.tok.display=toki pona -lang.tr.display=Turks \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) diff --git a/client/src/main/resources/locale/lang_pl.properties b/client/src/main/resources/locale/lang_pl.properties index f747c47..de7c244 100644 --- a/client/src/main/resources/locale/lang_pl.properties +++ b/client/src/main/resources/locale/lang_pl.properties @@ -44,4 +44,5 @@ lang.en.display=Inglisz lang.nl.display=Holenderski lang.pl.display=Polski lang.tok.display=toki pona -lang.tr.display=Turecki \ No newline at end of file +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) diff --git a/client/src/main/resources/locale/lang_tok.properties b/client/src/main/resources/locale/lang_tok.properties index 181cc25..14cc3cd 100644 --- a/client/src/main/resources/locale/lang_tok.properties +++ b/client/src/main/resources/locale/lang_tok.properties @@ -44,4 +44,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_zht.properties b/client/src/main/resources/locale/lang_zht.properties new file mode 100644 index 0000000..6b604b9 --- /dev/null +++ b/client/src/main/resources/locale/lang_zht.properties @@ -0,0 +1,35 @@ +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.zht.display=中文(台灣) \ No newline at end of file