Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.

Commit

Permalink
Add Norwegian translations (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Z0ink5 authored May 3, 2020
1 parent 6c807f2 commit 9c45508
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
"it",
"it_CH",
"it_IT",
"no",
"pt",
"pt_BR",
"pt_PT",
Expand Down
2 changes: 2 additions & 0 deletions src/main/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import translationsEs from "./translations/es";
import translationsFr from "./translations/fr";
import translationsIs from "./translations/is";
import translationsIt from "./translations/it";
import translationsNo from "./translations/no";
import translationsPt from "./translations/pt";
import translationsTr from "./translations/tr";
import translationsUk from "./translations/uk";
Expand All @@ -24,6 +25,7 @@ const ALL_TRANSLATIONS: Record<string, Partial<Translations>> = {
fr: translationsFr,
is: translationsIs,
it: translationsIt,
no: translationsNo,
pt: translationsPt,
tr: translationsTr,
uk: translationsUk,
Expand Down
134 changes: 134 additions & 0 deletions src/main/i18n/translations/no.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
import { Translations } from "../../../shared/types";

// prettier-ignore
const translationsNo: Translations = {
// Menu (defined by macOS)
"about-app": "Om {appName}",
"bring-all-to-front": "Vis Alle Foran",
"close": "Lukk",
"copy": "Kopier",
"cut": "Klipp",
"edit": "Endre",
"file": "Fil",
"help": "Hjelp",
"hide-app": "Skjul {appName}",
"hide-others": "Skjul Andre",
"minimize": "Minimer",
"paste": "Lim inn",
"preferences": "Preferanser",
"quit-app": "Avslutt {appName}",
"redo": "Omgjør",
"select-all": "Velg Alle",
"show-all": "Vis Alle",
"speech": "Tale",
"start-speaking": "Start å Tale",
"stop-speaking": "Stopp å Tale",
"undo": "Angre",
"view": "Visning",
"window": "Vindu",
"zoom": "Zoom",

// Menu (app-specific)
"export": "Eksporter",
"export-to-format": "Eksporter til {format}",
"go-to-date": "Gå til Dato",
"go-to-today": "Gå til I Dag",
"import": "Importer",
"import-from-format": "Importer fra {format}",
"license": "Lisens",
"lock-diary": "Lås Dagbok",
"next-day": "Neste Dag",
"next-month": "Neste Måned",
"previous-day": "Forrige Dag",
"previous-month": "Forrige Måned",
"privacy-policy": "Personvern-erklæring",
"statistics": "Statistikk",
"website": "Nettside",

// Weekdays
"sunday": "Søndag",
"monday": "Mandag",
"tuesday": "Tirsdag",
"wednesday": "Onsdag",
"thursday": "Torsdag",
"friday": "Fredag",
"saturday": "Lørdag",

// Theme
"dark": "Mørk",
"light": "Lys",
"theme": "Tema",

// Calendar
"today": "I Dag",

// Editor
"add-a-title": "Legg til tittel",
"bold": "Fet",
"bullets": "Punkt",
"italic": "Kursiv",
"list": "Liste",
"write-something": "Skriv noe",

// Search
"clear": "Tøm",
"no-results": "Ingen resultater",
"no-title": "Ingen tittel",
"search": "Søk",

// Preferences
"allow-future-entries": "Tillat innlegg i fremtiden",
"auto": "Auto",
"diary-entries": "Dagbok innlegg",
"first-day-of-week": "Første dag i uken",
"no": "Nei",
"ok": "OK",
"reset-diary": "Nullstill dagbok",
"reset-diary-confirm": "Ja, jeg er sikker",
"reset-diary-msg": "Er du sikker på at du vil nullstille dagboken din? Dette vil slette alt innhold. Innholdet kan ikke gjenopprettes.",

// Password and directory
"change-directory": "Endre mappe",
"change-password": "Endre passord",
"choose-password": "Vennligst oppgi et passord for din dagbok.",
"decryption-error": "Feil ved dekryptering av dagbokfil",
"diary-file": "Dagbokfil",
"file-exists": "En annen fil finnes i målstien",
"move-error-msg": "En feil oppstod ved flytting av filen",
"move-error-title": "Flyttefeil",
"move-file": "Flytt fil",
"new-password": "Nytt passord",
"password": "Passord",
"passwords-no-match": "Passords stemmer ikke overens",
"repeat-new-password": "Gjenta nytt passord",
"repeat-password": "Gjenta passord",
"select-directory": "Velg mappe",
"set-password": "Sett passord",
"unlock": "Lås opp",
"wrong-password": "Feil passord",

// Statistics
"total-entries": "antall innlegg",
"entries-per-week": "innlegg per uke",
"streak-best": "innlegg på rad (ubrutt rekord)",
"streak-current": "innlegg på rad (nåværende rekord)",
"total-words": "totalt antall ord",
"words-per-entry": "ord per innlegg",

// Import
"import-error-msg": "En feil oppstod under importering",
"import-error-title": "Importfeil",
"import-instructions-day-one": "Åpne Day One appen og eksporter dagbokfilen under Fil → Eksorter → {format}. Unzip den lagde filen. Velg resulterende {format} fil i det neste steget for å importere den inn i {appName}.",
"import-instructions-jrnl": "For å eksportere din jrnl dagbok, kjør {command}. Velg den opprettede JSON filen i neste steg for å importere den inn i {appName}.",
"import-instructions-mini-diary": "Du kan importere innhold fra en tidligere {appName} JSON eksport eller fra en annen JSON fil som er satt opp på samme måte.",
"start-import": "Start import",

// Export
"export-error-msg": "En feil skjedde under eksportering",
"export-error-title": "Eksportfeil",

// Other
"loading": "Laster",
};

export default translationsNo;

0 comments on commit 9c45508

Please sign in to comment.