Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌐 Add Polish locale #152

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions resources/js/components/Factory/Settings/Options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ const languageOptions = ref([
{ label: "English", value: "en" },

// Alternative languages
{ label: "German", value: "de" },
{ label: "Slovak", value: "sk" },
{ label: "Français", value: "fr" },
{ label: "German", value: "de" },
{ label: "Norwegian", value: "no" },
{ label: "Polish", value: "pl" },
{ label: "Slovak", value: "sk" },
{ label: "简体中文", value: "zh-CN"},
]);

Expand Down
2 changes: 2 additions & 0 deletions resources/js/forms/classic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import localeEN from "@i18n/en.json";
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";

const pinia = createPinia();
Expand All @@ -24,6 +25,7 @@ const i18n = createI18n({
sk: localeSK,
fr: localeFR,
no: localeNO,
pl: localePL,
zhCN: localeZHCN,
},
});
Expand Down
35 changes: 35 additions & 0 deletions resources/locales/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"admin": {
"blocks": "brak bloków | 1 blok | {n} bloków"
},
"Accept & Submit": "Zaakceptuj i wyślij",
"Accept": "Akceptuj",
"Close": "Zamknij",
"Enter": "Enter",
"Find us here": "Znajdziesz nas tutaj",
"Form Submitted": "Formularz przesłany",
"Go to next Page": "Idź do następnej Strony",
"Go to previous Page": "Idź do poprzedniej Strony",
"Legal Notice": "Informacje Prawne",
"Next": "Następny",
"Other": "Inne",
"Please enter a valid email.": "Proszę wprowadzić prawidłowy adres e-mail.",
"Please enter a valid link.": "Proszę wprowadzić prawidłowy link.",
"Please enter a valid number.": "Proszę wprowadzić prawidłową liczbę.",
"Please enter a valid phone number.": "Proszę wprowadzić prawidłowy numer telefonu.",
"Please select an option.": "Proszę wybrać opcję.",
"Privacy Policy": "Polityka Prywatności",
"required": "wymagane",
"Something went wrong validating your input": "Coś poszło nie tak podczas sprawdzania poprawności danych wejściowych",
"Submit": "Wyślij",
"This field is required.": "Tol pole jest wymagane.",
"Type your answer": "Wprowadź swoją odpowiedź",
"You have exceeded the maximum number of characters allowed.": "Przekroczyłeś maksymalną dozwoloną liczbę znaków.",
"hints": {
"edit": "Naciśnij {0} aby edytować",
"confirm": "{0} aby potwierdzić"
},
"validation": {
"consent_required": "Aby kontynuować, musisz zaakceptować warunki."
}
}