From 67bab5ff24685d164246a7b2f1198661ff8781d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigmundur=20M=C3=B8rk=C3=B8re?= <sm@sigmundur.dev> Date: Thu, 24 Sep 2020 07:11:58 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20Added=20language:=20Faroe?= =?UTF-8?q?se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/fo-FO.json | 95 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/lang.js | 4 +++ 2 files changed, 99 insertions(+) create mode 100644 lang/fo-FO.json diff --git a/lang/fo-FO.json b/lang/fo-FO.json new file mode 100644 index 00000000..c852a001 --- /dev/null +++ b/lang/fo-FO.json @@ -0,0 +1,95 @@ +{ + "button.add-account": "Ger brúkara", + "button.add-website": "Legg heimasíðu til", + "button.back": "Aftur", + "button.cancel": "Strika", + "button.change-password": "Broyt loyniorð", + "button.copy-to-clipboard": "Kopier til clipboard", + "button.date-range": "Vel dato", + "button.delete": "Sletta", + "button.edit": "Ger broyting", + "button.login": "Rita inn", + "button.more": "Meira", + "button.refresh": "Endurskapa", + "button.reset": "Nulstilla", + "button.save": "Goym", + "button.single-day": "Einkultur dagur", + "button.view-details": "Vís upplýsingar", + "label.accounts": "Brúkarar", + "label.administrator": "Administrator", + "label.confirm-password": "Vátta loyniorð", + "label.current-password": "Núverandi loyniorð", + "label.custom-range": "Custom range", + "label.dashboard": "Yvirlitsskíggi", + "label.default-date-range": "Standard dato", + "label.domain": "Økisnavn", + "label.enable-share-url": "Aktivera deil leinki", + "label.invalid": "Ógilda", + "label.invalid-domain": "Ógilda økisnavn", + "label.last-days": "Seinastu {x} dagarnar", + "label.last-hours": "Seinastu {x} tímanar", + "label.logged-in-as": "Ritaður inn sum {username}", + "label.logout": "Rita út", + "label.name": "Navn", + "label.new-password": "Nýtt loyniorð", + "label.password": "Loyniorð", + "label.passwords-dont-match": "Loyniorðini eru ikki eins", + "label.profile": "Brúkari", + "label.required": "Krav", + "label.settings": "Instillingar", + "label.this-month": "Hendan mánan", + "label.this-week": "Hesa vikuna", + "label.this-year": "Hetta árið", + "label.timezone": "Tíðarsona", + "label.today": "Í dag", + "label.unknown": "Ókent", + "label.username": "Brúkaranavn", + "label.websites": "Heimasíður", + "message.active-users": "{x} í løtuni {x, plural, one {vitjandi} other { vitjandi }}", + "message.confirm-delete": "Ert tú sikkur at tú ynskir at sletta {target}?", + "message.copied": "Kopiera!", + "message.delete-warning": "Øll data ið er knýtt at verður eisini sletta.", + "message.failure": "Okkurt bleiv gali.", + "message.get-share-url": "Fá leinkju sum tú kanst deila", + "message.get-tracking-code": "Fá sporing kotu", + "message.go-to-settings": "Far til instillingar", + "message.incorrect-username-password": "Skeivt brúkaranavn/loyniorð.", + "message.no-data-available": "Eingin data tøk.", + "message.no-websites-configured": "Tú hevur onga heimasíðu stillaða til.", + "message.page-not-found": "Síðan bleiv ikki funnin.", + "message.powered-by": "Powered by {name}", + "message.save-success": "Goymt.", + "message.share-url": "Hetta er tann almenna leinkjan av {target}.", + "message.track-stats": "Fyri at spora hagtøl fyri {target}, koyr kotuna í {head} partin á tínari heimasíðu.", + "message.type-delete": "Skriva {delete} í feltið fyri at vátta", + "metrics.actions": "Gerðir", + "metrics.average-visit-time": "Miðal vitjurnartíð ", + "metrics.bounce-rate": "Bounce prosenttal", + "metrics.browsers": "Kagar", + "metrics.countries": "Lond", + "metrics.device.desktop": "Borðtelda", + "metrics.device.laptop": "Fartelda", + "metrics.device.mobile": "Telefon", + "metrics.device.tablet": "Teldil", + "metrics.devices": "Eindir", + "metrics.events": "Hendingar/tiltøk", + "metrics.filter.combined": "Samansett", + "metrics.filter.domain-only": "Bara økisnavn", + "metrics.filter.raw": "Óviðgjørt", + "metrics.operating-systems": "Stýrikervi", + "metrics.page-views": "Opnaðar síðir", + "metrics.pages": "Síðir", + "metrics.referrers": "Framsendingar", + "metrics.unique-visitors": "Einsýna vitjanir", + "metrics.views": "Vitjanir", + "metrics.visitors": "Vitjandi", + "title.add-account": "Ger brúkara", + "title.add-website": "Legg avtrat heimasíðu", + "title.change-password": "Skift loyniorð", + "title.delete-account": "Sletta brúkara", + "title.delete-website": "Sletta heimasíðu", + "title.edit-account": "Broyt brúkara", + "title.edit-website": "Broyt heimasíðu", + "title.share-url": "Deil leinku", + "title.tracking-code": "Spori kota" +} diff --git a/lib/lang.js b/lib/lang.js index 066df152..5e283ee4 100644 --- a/lib/lang.js +++ b/lib/lang.js @@ -13,6 +13,7 @@ import mnMNMessages from 'lang-compiled/mn-MN.json'; import daMessages from 'lang-compiled/da-DK.json'; import svMessages from 'lang-compiled/sv-SE.json'; import grMessages from 'lang-compiled/el-GR.json'; +import foMessages from 'lang-compiled/fo-FO.json'; export const messages = { 'en-US': enMessages, @@ -28,6 +29,7 @@ export const messages = { 'da-DK': daMessages, 'sv-SE': svMessages, 'el-GR': grMessages, + 'fo-FO': foMessages, }; export const dateLocales = { @@ -44,6 +46,7 @@ export const dateLocales = { 'fr-FR': fr, 'mn-MN': enUS, 'el-GR': el, + 'fo-FO': da, }; export const menuOptions = [ @@ -60,6 +63,7 @@ export const menuOptions = [ { label: 'Русский', value: 'ru-RU', display: 'ru' }, { label: 'Svenska', value: 'sv-SE', display: 'sv' }, { label: 'Turkish', value: 'tr-TR', display: 'tr' }, + { label: 'Føroyskt', value: 'fo-FO', display: 'fø' }, ]; export function dateFormat(date, str, locale) {