Skip to content

Commit

Permalink
Add Norwegian locale (deck9#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeri authored Mar 18, 2024
1 parent e149636 commit 84f9024
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
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."
}
}

0 comments on commit 84f9024

Please sign in to comment.