Skip to content

Commit

Permalink
fix chinese language
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilReinking committed Jun 7, 2024
1 parent ee23e68 commit 8584a3c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# For more information: https://laravel.com/docs/sail
version: "3"
services:
laravel.test:
build:
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/Factory/Settings/Options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ const languageOptions = ref([
{ label: "Norwegian", value: "no" },
{ label: "Polish", value: "pl" },
{ label: "Slovak", value: "sk" },
{ label: "简体中文", value: "zh-CN"},
{ label: "简体中文", value: "zh" },
]);
const language = ref(
languageOptions.value.find((lang) => lang.value === store?.form?.language) ??
languageOptions.value[0]
languageOptions.value[0],
);
const saveOptions = async () => {
Expand Down
4 changes: 2 additions & 2 deletions resources/js/forms/classic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import localeSK from "@i18n/sk.json";
import localeFR from "@i18n/fr.json";
import localeNO from "@i18n/no.json";
import localePL from "@i18n/pl.json";
import localeZHCN from "@i18n/zh-CN.json";
import localeZH from "@i18n/zh.json";

const pinia = createPinia();

Expand All @@ -26,7 +26,7 @@ const i18n = createI18n({
fr: localeFR,
no: localeNO,
pl: localePL,
zhCN: localeZHCN,
zh: localeZH,
},
});

Expand Down
File renamed without changes.

0 comments on commit 8584a3c

Please sign in to comment.