diff --git a/client/src/main/java/client/scenes/LangSelectMenuCtrl.java b/client/src/main/java/client/scenes/LangSelectMenuCtrl.java index af56631..1885d6b 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", "zht", "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/locale/lang.properties b/client/src/main/resources/locale/lang.properties index 966b89e..59f8bb1 100644 --- a/client/src/main/resources/locale/lang.properties +++ b/client/src/main/resources/locale/lang.properties @@ -44,3 +44,4 @@ lang.pl.display=Polish 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_en.properties b/client/src/main/resources/locale/lang_en.properties index 2bd11ae..bf41079 100644 --- a/client/src/main/resources/locale/lang_en.properties +++ b/client/src/main/resources/locale/lang_en.properties @@ -46,3 +46,4 @@ lang.pl.display=Polish 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_nl.properties b/client/src/main/resources/locale/lang_nl.properties index 79295ee..f944251 100644 --- a/client/src/main/resources/locale/lang_nl.properties +++ b/client/src/main/resources/locale/lang_nl.properties @@ -45,3 +45,4 @@ lang.pl.display=Pools 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_pl.properties b/client/src/main/resources/locale/lang_pl.properties index de7c244..28695ad 100644 --- a/client/src/main/resources/locale/lang_pl.properties +++ b/client/src/main/resources/locale/lang_pl.properties @@ -46,3 +46,4 @@ 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_tr.properties b/client/src/main/resources/locale/lang_tr.properties index 4fa8ada..4af12b8 100644 --- a/client/src/main/resources/locale/lang_tr.properties +++ b/client/src/main/resources/locale/lang_tr.properties @@ -40,7 +40,10 @@ menu.label.selected-langs=Diller menu.shopping.title=Al??veri? listesi -lang.en.display=\u0130ngilizce -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.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 index 6b604b9..fe5c3fb 100644 --- a/client/src/main/resources/locale/lang_zht.properties +++ b/client/src/main/resources/locale/lang_zht.properties @@ -32,4 +32,7 @@ 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 +lang.tok.display=toki pona +lang.tr.display=T\u00FCrk\u00E7e +lang.zht.display=中文(台灣) +lang.zhc.display=中文(中国大陆)