Added Danish locale.

This commit is contained in:
Mike Cao 2020-09-19 10:50:08 -07:00
commit 4bb95cd997
3 changed files with 106 additions and 7 deletions

95
lang/da-DK.json Normal file
View File

@ -0,0 +1,95 @@
{
"button.add-account": "Tilføj konto",
"button.add-website": "Tilføj hjemmeside",
"button.back": "Tilbage",
"button.cancel": "Afvis",
"button.change-password": "Skift adgangskode",
"button.copy-to-clipboard": "Kopier til udklipsholder",
"button.date-range": "Datointerval",
"button.delete": "Slet",
"button.edit": "Rediger",
"button.login": "Log ind",
"button.more": "Mere",
"button.refresh": "Opdater",
"button.reset": "Reset",
"button.save": "Gem",
"button.single-day": "Enkelt dag",
"button.view-details": "Vis detajler",
"label.accounts": "Kontoer",
"label.administrator": "Administrator",
"label.confirm-password": "Godkendt adgangskode",
"label.current-password": "Nuværende adgangskode",
"label.custom-range": "Tilpasset interval",
"label.dashboard": "Betjeningspanel",
"label.default-date-range": "Default date range",
"label.domain": "Domæne",
"label.enable-share-url": "Aktivér delings-URL",
"label.invalid": "Ugyldig",
"label.invalid-domain": "Ugyldigt domæne",
"label.last-days": "Sidste {x} dage",
"label.last-hours": "Sidste {x} timer",
"label.logged-in-as": "Loggede ind som {username}",
"label.logout": "Log ud",
"label.name": "Navn",
"label.new-password": "Ny adgangskode",
"label.password": "Adgangskode",
"label.passwords-dont-match": "Adgangskoder matcher ikke",
"label.profile": "Profil",
"label.required": "Påkrævet",
"label.settings": "Indstillinger",
"label.this-month": "Denne måned",
"label.this-week": "Denne uge",
"label.this-year": "Dette år",
"label.timezone": "Timezone",
"label.today": "Idag",
"label.unknown": "Ukendt",
"label.username": "Brugernavn",
"label.websites": "Hjemmesider",
"message.active-users": "{x} Nuværende brugere {x, plural, one {visitor} other {visitors}}",
"message.confirm-delete": "Er du sikker på at du vil slette {target}?",
"message.copied": "Kopieret!",
"message.delete-warning": "Alle tilknyttede data slettes også.",
"message.failure": "Noget gik galt.",
"message.get-share-url": "Få delings-URL",
"message.get-tracking-code": "Få sporingskode",
"message.go-to-settings": "Gå til betjeningspanel",
"message.incorrect-username-password": "Ugyldigt brugernavn/adgangskode.",
"message.no-data-available": "Ingen data tilgængelig.",
"message.no-websites-configured": "Du har ikke konfigureret nogen websteder.",
"message.page-not-found": "Side ikke fundet.",
"message.powered-by": "Drevet af {name}",
"message.save-success": "Gemt.",
"message.share-url": "Dette er den offentligt delings-URL til {target}.",
"message.track-stats": "For at spore statistik for {target} skal du placere følgende kode i {head} sektionen på dit websted.",
"message.type-delete": "Skriv {delete} i boksen nedenfor, for at bekræfte.",
"metrics.actions": "Handlinger",
"metrics.average-visit-time": "Gennemsnitlig besøgstid",
"metrics.bounce-rate": "Afvisningsprocent",
"metrics.browsers": "Browsere",
"metrics.countries": "Lande",
"metrics.device.desktop": "Desktop",
"metrics.device.laptop": "Laptop",
"metrics.device.mobile": "Mobil",
"metrics.device.tablet": "Tablet",
"metrics.devices": "Enheder",
"metrics.events": "Hændelser",
"metrics.filter.combined": "Kombineret",
"metrics.filter.domain-only": "Kun domæne",
"metrics.filter.raw": "Rå",
"metrics.operating-systems": "Operativsystemer",
"metrics.page-views": "Sidevisninger",
"metrics.pages": "Sider",
"metrics.referrers": "Henvisninger",
"metrics.unique-visitors": "Unikke besøgende",
"metrics.views": "Visninger",
"metrics.visitors": "Besøgende",
"title.add-account": "Tilføj konto",
"title.add-website": "Tilføj hjemmeside",
"title.change-password": "Skift adgangskode",
"title.delete-account": "Slet konto",
"title.delete-website": "Slet hjemmeside",
"title.edit-account": "Rediger konto",
"title.edit-website": "Rediger hjemmeside",
"title.share-url": "Del URL",
"title.tracking-code": "Sporingskode"
}

View File

@ -5,21 +5,21 @@
"button.cancel": "Annuleren", "button.cancel": "Annuleren",
"button.change-password": "Wachtwoord wijzigen", "button.change-password": "Wachtwoord wijzigen",
"button.copy-to-clipboard": "Kopiëer naar klembord", "button.copy-to-clipboard": "Kopiëer naar klembord",
"button.date-range": "Date range", "button.date-range": "Datumbereik",
"button.delete": "Verwijderen", "button.delete": "Verwijderen",
"button.edit": "Bewerken", "button.edit": "Bewerken",
"button.login": "Inloggen", "button.login": "Inloggen",
"button.more": "Toon meer", "button.more": "Toon meer",
"button.refresh": "Refresh", "button.refresh": "Vernieuwen",
"button.reset": "Reset", "button.reset": "Reset",
"button.save": "Opslaan", "button.save": "Opslaan",
"button.single-day": "Single day", "button.single-day": "Enkele dag",
"button.view-details": "Meer details", "button.view-details": "Meer details",
"label.accounts": "Accounts", "label.accounts": "Accounts",
"label.administrator": "Administrator", "label.administrator": "Administrator",
"label.confirm-password": "Wachtwoord bevestigen", "label.confirm-password": "Wachtwoord bevestigen",
"label.current-password": "Huidig wachtwoord", "label.current-password": "Huidig wachtwoord",
"label.custom-range": "Custom range", "label.custom-range": "Aangepast bereik",
"label.dashboard": "Dashboard", "label.dashboard": "Dashboard",
"label.default-date-range": "Default date range", "label.default-date-range": "Default date range",
"label.domain": "Domein", "label.domain": "Domein",
@ -42,7 +42,7 @@
"label.this-year": "Dit jaar", "label.this-year": "Dit jaar",
"label.timezone": "Timezone", "label.timezone": "Timezone",
"label.today": "Vandaag", "label.today": "Vandaag",
"label.unknown": "Unknown", "label.unknown": "Onbekend",
"label.username": "Gebruikersnaam", "label.username": "Gebruikersnaam",
"label.websites": "Websites", "label.websites": "Websites",
"message.active-users": "{x} actieve {x, plural, one {bezoeker} other {bezoekers}}", "message.active-users": "{x} actieve {x, plural, one {bezoeker} other {bezoekers}}",
@ -69,7 +69,7 @@
"metrics.countries": "Landen", "metrics.countries": "Landen",
"metrics.device.desktop": "Desktop", "metrics.device.desktop": "Desktop",
"metrics.device.laptop": "Laptop", "metrics.device.laptop": "Laptop",
"metrics.device.mobile": "Mobile", "metrics.device.mobile": "Mobiel",
"metrics.device.tablet": "Tablet", "metrics.device.tablet": "Tablet",
"metrics.devices": "Apparaten", "metrics.devices": "Apparaten",
"metrics.events": "Gebeurtenissen", "metrics.events": "Gebeurtenissen",

View File

@ -1,5 +1,5 @@
import { format } from 'date-fns'; import { format } from 'date-fns';
import { enUS, nl, zhCN, tr, ru, de, ja, es, fr } from 'date-fns/locale'; import { enUS, nl, zhCN, tr, ru, de, ja, es, fr, da } from 'date-fns/locale';
import enMessages from 'lang-compiled/en-US.json'; import enMessages from 'lang-compiled/en-US.json';
import nlMessages from 'lang-compiled/nl-NL.json'; import nlMessages from 'lang-compiled/nl-NL.json';
import zhCNMessages from 'lang-compiled/zh-CN.json'; import zhCNMessages from 'lang-compiled/zh-CN.json';
@ -10,6 +10,7 @@ import jaMessages from 'lang-compiled/ja-JP.json';
import esMXMessages from 'lang-compiled/es-MX.json'; import esMXMessages from 'lang-compiled/es-MX.json';
import frMessages from 'lang-compiled/fr-FR.json'; import frMessages from 'lang-compiled/fr-FR.json';
import mnMNMessages from 'lang-compiled/mn-MN.json'; import mnMNMessages from 'lang-compiled/mn-MN.json';
import daMessages from 'lang-compiled/da-DK.json';
export const messages = { export const messages = {
'en-US': enMessages, 'en-US': enMessages,
@ -22,6 +23,7 @@ export const messages = {
'es-MX': esMXMessages, 'es-MX': esMXMessages,
'fr-FR': frMessages, 'fr-FR': frMessages,
'mn-MN': mnMNMessages, 'mn-MN': mnMNMessages,
'da-DK': daMessages,
}; };
export const dateLocales = { export const dateLocales = {
@ -29,6 +31,7 @@ export const dateLocales = {
'nl-NL': nl, 'nl-NL': nl,
'zh-CN': zhCN, 'zh-CN': zhCN,
'de-DE': de, 'de-DE': de,
'da-DK': da,
'ru-RU': ru, 'ru-RU': ru,
'tr-TR': tr, 'tr-TR': tr,
'ja-JP': ja, 'ja-JP': ja,
@ -40,6 +43,7 @@ export const dateLocales = {
export const menuOptions = [ export const menuOptions = [
{ label: 'English', value: 'en-US', display: 'EN' }, { label: 'English', value: 'en-US', display: 'EN' },
{ label: '中文', value: 'zh-CN', display: 'CN' }, { label: '中文', value: 'zh-CN', display: 'CN' },
{ label: 'Dansk', value: 'da-DK', display: 'DA' },
{ label: 'Deutsch', value: 'de-DE', display: 'DE' }, { label: 'Deutsch', value: 'de-DE', display: 'DE' },
{ label: 'Español', value: 'es-MX', display: 'ES' }, { label: 'Español', value: 'es-MX', display: 'ES' },
{ label: 'Français', value: 'fr-FR', display: 'FR' }, { label: 'Français', value: 'fr-FR', display: 'FR' },