From 73288b6535474852f27fdd0798dd2bdfdb0b3e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Rem=C3=B8y=20Paulsen?= <30476405+petrepa@users.noreply.github.com> Date: Fri, 16 Apr 2021 18:04:50 +0200 Subject: [PATCH] feat: Add norsk nynorsk (Norwegian) (#199) * Added norsk nynorsk (Norwegian) translation * Added nynorsk to the READMEwq * Edited localize.js to include nynorsk * Small edits to some of the norwegian words --- README.md | 1 + src/localize.js | 2 ++ src/translations/nn.json | 48 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 src/translations/nn.json diff --git a/README.md b/README.md index f16c81f6..b46c9d27 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,7 @@ This card supports translations. Please, help to add more translations and impro - Português (Portuguese) - Svenska (Swedish) - Norsk bokmål (Norwegian) +- Norsk nynorsk (Norwegian) - Dansk (Danish) - 한국어 (Korean) - Suomi (Finnish) diff --git a/src/localize.js b/src/localize.js index 40697fba..45dc7bf8 100644 --- a/src/localize.js +++ b/src/localize.js @@ -15,6 +15,7 @@ import * as hu from './translations/hu.json'; import * as he from './translations/he.json'; import * as sv from './translations/sv.json'; import * as nb from './translations/nb.json'; +import * as nn from './translations/nn.json'; import * as da from './translations/da.json'; import * as ko from './translations/ko.json'; import * as fi from './translations/fi.json'; @@ -36,6 +37,7 @@ var languages = { he, sv, nb, + nn, da, ko, fi, diff --git a/src/translations/nn.json b/src/translations/nn.json new file mode 100644 index 00000000..b8a081d1 --- /dev/null +++ b/src/translations/nn.json @@ -0,0 +1,48 @@ +{ + "status": { + "cleaning": "Rengjer", + "paused": "Pausa", + "idle": "Tomgang", + "charging": "Ladar", + "returning home": "Returnerer heim" + }, + "source": { + "gentle": "Skånsam", + "silent": "Stille", + "standard": "Standard", + "medium": "Medium", + "turbo": "Turbo" + }, + "common": { + "name": "Støvsugarkort", + "description": "Støvsugarkortet let deg kontrollere robotstøvsugaren din", + "start": "Reingjer", + "continue": "Fortsett", + "pause": "Sett på pause", + "stop": "Stopp", + "return_to_base": "Dokk", + "locate": "Lokaliser støvsugar", + "not_available": "Støvsugaren er ikkje tilgjengeleg" + }, + "error": { + "missing_entity": "Spesifiserande oppføring kravd!" + }, + "editor": { + "entity": "Oppføring (påkravd)", + "map": "Kartkamera (valfritt)", + "image": "Bilde (valfritt)", + "compact_view": "Kompakt vising", + "compact_view_aria_label_on": "Slå på kompakt vising", + "compact_view_aria_label_off": "Slå av kompakt vising", + "show_name": "Vis namn", + "show_name_aria_label_on": "Slå visingsnanet på", + "show_name_aria_label_off": "Slå visingsnamnet av", + "show_status": "Vis status", + "show_status_aria_label_on": "Slå skjermstatus på", + "show_status_aria_label_off": "Slå skjermstatus av", + "show_toolbar": "Vis verktøylinja", + "show_toolbar_aria_label_on": "Slå skjermverktøylinja på", + "show_toolbar_aria_label_off": "Slå skjermverktøylinja av", + "code_only_note": "Merk: Innstillingshandlingar og statistikkalternativ er berre tilgjengeleg ved hjelp av Code Editor." + } +}