From c2c822fd6ce57e7a480fdc557371695a4241fc43 Mon Sep 17 00:00:00 2001 From: Pasi Suominen Date: Wed, 13 Jan 2021 17:36:58 +0200 Subject: [PATCH 1/3] Added finnish translation --- src/translations/fi.json | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/translations/fi.json diff --git a/src/translations/fi.json b/src/translations/fi.json new file mode 100644 index 00000000..8768dd3b --- /dev/null +++ b/src/translations/fi.json @@ -0,0 +1,48 @@ +{ + "status": { + "Cleaning": "Siivoaa", + "Paused": "Pysäytetty", + "Idle": "Toimeton", + "Charging": "Latauksessa", + "Returning home": "Palaa kotiin" + }, + "source": { + "Gentle": "Hellävarainen", + "Silent": "Hiljainen", + "Standard": "Normaali", + "Medium": "Keskitaso", + "Turbo": "Turbo" + }, + "common": { + "name": "Pölynimurikortti", + "description": "Pölynimurikortti sallii robotti imurin ohjauksen.", + "start": "Siivoa", + "continue": "Jatka", + "pause": "Tauko", + "stop": "Pysähdy", + "return_to_base": "Latausasemaan", + "locate": "Paikanna imuri", + "not_available": "Imuri ei saatavilla" + }, + "error": { + "missing_entity": "Entiteetti puuttuu!" + }, + "editor": { + "entity": "Entiteetti (Vaaditaan)", + "map": "Kartan kamera (Valinnainen)", + "image": "Kuva (Valinnainen)", + "compact_view": "Kompakti näkymä", + "compact_view_aria_label_on": "Kompakti näkymä päälle", + "compact_view_aria_label_off": "Kompakti näkymä pois", + "show_name": "Näytä Nimi", + "show_name_aria_label_on": "Näyttönimi päälle", + "show_name_aria_label_off": "Näyttönimi pois", + "show_status": "Näytä Tila", + "show_status_aria_label_on": "Tilanäyttö päälle", + "show_status_aria_label_off": "Tilanäyttö pois", + "show_toolbar": "Näytä työkalurivi", + "show_toolbar_aria_label_on": "Työkalurivi päälle", + "show_toolbar_aria_label_off": "Työkalurivi pois", + "code_only_note": "Huom: Toimintojen ja tilastonjen optiot ovat saatavilla ainoastaan koodieditorissa" + } +} From 9e37b38995f2e2ce29d1e215efe582505c15a18c Mon Sep 17 00:00:00 2001 From: Pasi Suominen Date: Sun, 7 Feb 2021 23:08:36 +0200 Subject: [PATCH 2/3] Fixed finnish translation commit (files missing) --- README.md | 1 + src/localize.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 414dec87..c2626ddd 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,7 @@ This card supports translations. Please, help to add more translations and impro - Norsk bokmål (Norwegian) - Dansk (Danish) - 한국어 (Korean) +- Suomi (Finnish) - [_Your language?_][add-translation] ## Supported models diff --git a/src/localize.js b/src/localize.js index 79002e1f..dd2e7bcc 100644 --- a/src/localize.js +++ b/src/localize.js @@ -17,6 +17,7 @@ import * as sv from './translations/sv.json'; import * as nb from './translations/nb.json'; import * as da from './translations/da.json'; import * as ko from './translations/ko.json'; +import * as ko from './translations/fi.json'; var languages = { en, @@ -34,7 +35,8 @@ var languages = { sv, nb, da, - ko + ko, + fi }; const DEFAULT_LANG = 'en'; From 11bde5ddbd55e3493e56cf15ef030a5af8a3bc0b Mon Sep 17 00:00:00 2001 From: Pasi Suominen Date: Mon, 8 Feb 2021 19:09:36 +0200 Subject: [PATCH 3/3] Bugfixing --- src/localize.js | 2 +- src/translations/fi.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/localize.js b/src/localize.js index dd2e7bcc..199168bc 100644 --- a/src/localize.js +++ b/src/localize.js @@ -17,7 +17,7 @@ import * as sv from './translations/sv.json'; import * as nb from './translations/nb.json'; import * as da from './translations/da.json'; import * as ko from './translations/ko.json'; -import * as ko from './translations/fi.json'; +import * as fi from './translations/fi.json'; var languages = { en, diff --git a/src/translations/fi.json b/src/translations/fi.json index 8768dd3b..5b490167 100644 --- a/src/translations/fi.json +++ b/src/translations/fi.json @@ -43,6 +43,6 @@ "show_toolbar": "Näytä työkalurivi", "show_toolbar_aria_label_on": "Työkalurivi päälle", "show_toolbar_aria_label_off": "Työkalurivi pois", - "code_only_note": "Huom: Toimintojen ja tilastonjen optiot ovat saatavilla ainoastaan koodieditorissa" + "code_only_note": "Huom: Toimintojen ja tilastojen optiot ovat saatavilla ainoastaan koodieditorissa" } }