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 Norwegian locale #143

Merged
merged 1 commit into from
Mar 18, 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
1 change: 1 addition & 0 deletions resources/js/components/Factory/Settings/Options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const languageOptions = ref([
{ label: "German", value: "de" },
{ label: "Slovak", value: "sk" },
{ label: "Français", value: "fr" },
{ label: "Norwegian", value: "no" },
]);

const language = ref(
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 @@ -9,6 +9,7 @@ import localeDE from "@i18n/de.json";
import localeEN from "@i18n/en.json";
import localeSK from "@i18n/sk.json";
import localeFR from "@i18n/fr.json";
import localeNO from "@i18n/no.json";

const pinia = createPinia();

Expand All @@ -21,6 +22,7 @@ const i18n = createI18n({
de: localeDE,
sk: localeSK,
fr: localeFR,
no: localeNO,
},
});

Expand Down
35 changes: 35 additions & 0 deletions resources/locales/no.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"admin": {
"blocks": "ingen blokker | 1 blokk | {n} blokker"
},
"Accept & Submit": "Godkjenn og send inn",
"Accept": "Godkjenn",
"Close": "Lukk",
"Enter": "Legg inn",
"Find us here": "Finn oss her",
"Form Submitted": "Skjema sendt inn",
"Go to next Page": "Gå til neste side",
"Go to previous Page": "Gå til forrige side",
"Legal Notice": "Juridisk merknad",
"Next": "Neste",
"Other": "Annet",
"Please enter a valid email.": "Vennligst skriv inn en gyldig e-postadresse.",
"Please enter a valid link.": "Vennligst skriv inn en gyldig lenke.",
"Please enter a valid number.": "Vennligst skriv inn et gyldig nummer.",
"Please enter a valid phone number.": "Vennligst skriv inn et gyldig telefonnummer.",
"Please select an option.": "Vennligst velg et alternativ.",
"Privacy Policy": "Personvern",
"required": "påkrevd",
"Something went wrong validating your input": "Noe gikk galt under validering av inndataene dine",
"Submit": "Send inn",
"This field is required.": "Dette feltet er påkrevd.",
"Type your answer": "Skriv svaret ditt",
"You have exceeded the maximum number of characters allowed.": "Du har overskredet det maksimale antallet tegn som er tillatt.",
"hints": {
"edit": "Trykk {0} for å redigere",
"confirm": "{0} for å bekrefte"
},
"validation": {
"consent_required": "For å fortsette, må du godta vilkårene."
}
}
Loading