From e071c78df7a40813228aeed0ad54f10471289b3f Mon Sep 17 00:00:00 2001 From: Johannes Andersen Date: Thu, 9 Jun 2022 15:34:02 +0100 Subject: [PATCH] feat: improve norwegian translations (#1042) --- src/locales/nb_NO/color/human.ts | 19 + src/locales/nb_NO/color/index.ts | 12 + src/locales/nb_NO/commerce/department.ts | 20 + src/locales/nb_NO/commerce/index.ts | 12 + src/locales/nb_NO/index.ts | 8 + src/locales/nb_NO/science/chemicalElement.ts | 592 +++++++++++++++++++ src/locales/nb_NO/science/index.ts | 14 + src/locales/nb_NO/science/unit.ts | 90 +++ src/locales/nb_NO/word/adjective.ts | 107 ++++ src/locales/nb_NO/word/conjunction.ts | 1 + src/locales/nb_NO/word/index.ts | 16 + src/locales/nb_NO/word/interjection.ts | 19 + 12 files changed, 910 insertions(+) create mode 100644 src/locales/nb_NO/color/human.ts create mode 100644 src/locales/nb_NO/color/index.ts create mode 100644 src/locales/nb_NO/commerce/department.ts create mode 100644 src/locales/nb_NO/commerce/index.ts create mode 100644 src/locales/nb_NO/science/chemicalElement.ts create mode 100644 src/locales/nb_NO/science/index.ts create mode 100644 src/locales/nb_NO/science/unit.ts create mode 100644 src/locales/nb_NO/word/adjective.ts create mode 100644 src/locales/nb_NO/word/conjunction.ts create mode 100644 src/locales/nb_NO/word/index.ts create mode 100644 src/locales/nb_NO/word/interjection.ts diff --git a/src/locales/nb_NO/color/human.ts b/src/locales/nb_NO/color/human.ts new file mode 100644 index 00000000000..7ec7a90267c --- /dev/null +++ b/src/locales/nb_NO/color/human.ts @@ -0,0 +1,19 @@ +export default [ + 'beige', + 'grønn', + 'grå', + 'gul', + 'hvit', + 'indigo', + 'karmin', + 'blå', + 'lilla', + 'limegrønn', + 'magenta', + 'oransje', + 'rosa', + 'rød', + 'smaragdgrønn', + 'svart', + 'turkis', +]; diff --git a/src/locales/nb_NO/color/index.ts b/src/locales/nb_NO/color/index.ts new file mode 100644 index 00000000000..79cc39f02f3 --- /dev/null +++ b/src/locales/nb_NO/color/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { ColorDefinitions } from '../../..'; +import human from './human'; + +const color: ColorDefinitions = { + human, +}; + +export default color; diff --git a/src/locales/nb_NO/commerce/department.ts b/src/locales/nb_NO/commerce/department.ts new file mode 100644 index 00000000000..6c134bcdcc6 --- /dev/null +++ b/src/locales/nb_NO/commerce/department.ts @@ -0,0 +1,20 @@ +export default [ + 'Barn', + 'Bøker', + 'Dagligvarer', + 'Datamaskiner', + 'Elektronikk', + 'Filmer', + 'Hage og utemiljø', + 'Helse', + 'Hjem', + 'Klær', + 'Leker', + 'Musikk', + 'Sko', + 'Skjønnhet', + 'Spill', + 'Smykker', + 'Sport', + 'Verktøy', +]; diff --git a/src/locales/nb_NO/commerce/index.ts b/src/locales/nb_NO/commerce/index.ts new file mode 100644 index 00000000000..883c4249280 --- /dev/null +++ b/src/locales/nb_NO/commerce/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; +import department from './department'; + +const commerce: CommerceDefinitions = { + department, +}; + +export default commerce; diff --git a/src/locales/nb_NO/index.ts b/src/locales/nb_NO/index.ts index 443e149f8ad..98c5ea1be69 100644 --- a/src/locales/nb_NO/index.ts +++ b/src/locales/nb_NO/index.ts @@ -4,18 +4,26 @@ */ import type { LocaleDefinition } from '../..'; import address from './address'; +import color from './color'; +import commerce from './commerce'; import company from './company'; import internet from './internet'; import name_ from './name'; import phone_number from './phone_number'; +import science from './science'; +import word from './word'; const nb_NO: LocaleDefinition = { title: 'Norwegian', address, + color, + commerce, company, internet, name: name_, phone_number, + science, + word, }; export default nb_NO; diff --git a/src/locales/nb_NO/science/chemicalElement.ts b/src/locales/nb_NO/science/chemicalElement.ts new file mode 100644 index 00000000000..c7d903b638e --- /dev/null +++ b/src/locales/nb_NO/science/chemicalElement.ts @@ -0,0 +1,592 @@ +export default Object.freeze([ + { + symbol: 'H', + name: 'Hydrogen', + atomicNumber: 1, + }, + { + symbol: 'He', + name: 'Helium', + atomicNumber: 2, + }, + { + symbol: 'Li', + name: 'Litium', + atomicNumber: 3, + }, + { + symbol: 'Be', + name: 'Beryllium', + atomicNumber: 4, + }, + { + symbol: 'B', + name: 'Bor', + atomicNumber: 5, + }, + { + symbol: 'C', + name: 'Karbon', + atomicNumber: 6, + }, + { + symbol: 'N', + name: 'Nitrogen', + atomicNumber: 7, + }, + { + symbol: 'O', + name: 'Oksygen', + atomicNumber: 8, + }, + { + symbol: 'F', + name: 'Fluor', + atomicNumber: 9, + }, + { + symbol: 'Ne', + name: 'Neon', + atomicNumber: 10, + }, + { + symbol: 'Na', + name: 'Natrium', + atomicNumber: 11, + }, + { + symbol: 'Mg', + name: 'Magnesium', + atomicNumber: 12, + }, + { + symbol: 'Al', + name: 'Aluminium', + atomicNumber: 13, + }, + { + symbol: 'Si', + name: 'Silisium', + atomicNumber: 14, + }, + { + symbol: 'P', + name: 'Fosfor', + atomicNumber: 15, + }, + { + symbol: 'S', + name: 'Svovel', + atomicNumber: 16, + }, + { + symbol: 'Cl', + name: 'Klor', + atomicNumber: 17, + }, + { + symbol: 'Ar', + name: 'Argon', + atomicNumber: 18, + }, + { + symbol: 'K', + name: 'Kalium', + atomicNumber: 19, + }, + { + symbol: 'Ca', + name: 'Kalsium', + atomicNumber: 20, + }, + { + symbol: 'Sc', + name: 'Scandium', + atomicNumber: 21, + }, + { + symbol: 'Ti', + name: 'Titan', + atomicNumber: 22, + }, + { + symbol: 'V', + name: 'Vanadium', + atomicNumber: 23, + }, + { + symbol: 'Cr', + name: 'Krom', + atomicNumber: 24, + }, + { + symbol: 'Mn', + name: 'Mangan', + atomicNumber: 25, + }, + { + symbol: 'Fe', + name: 'Jern', + atomicNumber: 26, + }, + { + symbol: 'Co', + name: 'Kobolt', + atomicNumber: 27, + }, + { + symbol: 'Ni', + name: 'Nikkel', + atomicNumber: 28, + }, + { + symbol: 'Cu', + name: 'Kobber', + atomicNumber: 29, + }, + { + symbol: 'Zn', + name: 'Sink', + atomicNumber: 30, + }, + { + symbol: 'Ga', + name: 'Gallium', + atomicNumber: 31, + }, + { + symbol: 'Ge', + name: 'Germanium', + atomicNumber: 32, + }, + { + symbol: 'As', + name: 'Arsen', + atomicNumber: 33, + }, + { + symbol: 'Se', + name: 'Selen', + atomicNumber: 34, + }, + { + symbol: 'Br', + name: 'Brom', + atomicNumber: 35, + }, + { + symbol: 'Kr', + name: 'Krypton', + atomicNumber: 36, + }, + { + symbol: 'Rb', + name: 'Rubidium', + atomicNumber: 37, + }, + { + symbol: 'Sr', + name: 'Strontium', + atomicNumber: 38, + }, + { + symbol: 'Y', + name: 'Yttrium', + atomicNumber: 39, + }, + { + symbol: 'Zr', + name: 'Zirkonium', + atomicNumber: 40, + }, + { + symbol: 'Nb', + name: 'Niob', + atomicNumber: 41, + }, + { + symbol: 'Mo', + name: 'Molybden', + atomicNumber: 42, + }, + { + symbol: 'Tc', + name: 'Technetium', + atomicNumber: 43, + }, + { + symbol: 'Ru', + name: 'Ruthenium', + atomicNumber: 44, + }, + { + symbol: 'Rh', + name: 'Rhodium', + atomicNumber: 45, + }, + { + symbol: 'Pd', + name: 'Palladium', + atomicNumber: 46, + }, + { + symbol: 'Ag', + name: 'Sølv', + atomicNumber: 47, + }, + { + symbol: 'Cd', + name: 'Kadmium', + atomicNumber: 48, + }, + { + symbol: 'In', + name: 'Indium', + atomicNumber: 49, + }, + { + symbol: 'Sn', + name: 'Tinn', + atomicNumber: 50, + }, + { + symbol: 'Sb', + name: 'Antimon', + atomicNumber: 51, + }, + { + symbol: 'Te', + name: 'Tellur', + atomicNumber: 52, + }, + { + symbol: 'I', + name: 'Jod', + atomicNumber: 53, + }, + { + symbol: 'Xe', + name: 'Xenon', + atomicNumber: 54, + }, + { + symbol: 'Cs', + name: 'Cesium', + atomicNumber: 55, + }, + { + symbol: 'Ba', + name: 'Barium', + atomicNumber: 56, + }, + { + symbol: 'La', + name: 'Lantan', + atomicNumber: 57, + }, + { + symbol: 'Ce', + name: 'Cerium', + atomicNumber: 58, + }, + { + symbol: 'Pr', + name: 'Praseodym', + atomicNumber: 59, + }, + { + symbol: 'Nd', + name: 'Neodym', + atomicNumber: 60, + }, + { + symbol: 'Pm', + name: 'Promethium', + atomicNumber: 61, + }, + { + symbol: 'Sm', + name: 'Samarium', + atomicNumber: 62, + }, + { + symbol: 'Eu', + name: 'Europium', + atomicNumber: 63, + }, + { + symbol: 'Gd', + name: 'Gadolinium', + atomicNumber: 64, + }, + { + symbol: 'Tb', + name: 'Terbium', + atomicNumber: 65, + }, + { + symbol: 'Dy', + name: 'Dysprosium', + atomicNumber: 66, + }, + { + symbol: 'Ho', + name: 'Holmium', + atomicNumber: 67, + }, + { + symbol: 'Er', + name: 'Erbium', + atomicNumber: 68, + }, + { + symbol: 'Tm', + name: 'Thulium', + atomicNumber: 69, + }, + { + symbol: 'Yb', + name: 'Ytterbium', + atomicNumber: 70, + }, + { + symbol: 'Lu', + name: 'Lutetium', + atomicNumber: 71, + }, + { + symbol: 'Hf', + name: 'Hafnium', + atomicNumber: 72, + }, + { + symbol: 'Ta', + name: 'Tantal', + atomicNumber: 73, + }, + { + symbol: 'W', + name: 'Wolfram', + atomicNumber: 74, + }, + { + symbol: 'Re', + name: 'Rhenium', + atomicNumber: 75, + }, + { + symbol: 'Os', + name: 'Osmium', + atomicNumber: 76, + }, + { + symbol: 'Ir', + name: 'Iridium', + atomicNumber: 77, + }, + { + symbol: 'Pt', + name: 'Platina', + atomicNumber: 78, + }, + { + symbol: 'Au', + name: 'Gull', + atomicNumber: 79, + }, + { + symbol: 'Hg', + name: 'Kvikksølv', + atomicNumber: 80, + }, + { + symbol: 'Tl', + name: 'Thallium', + atomicNumber: 81, + }, + { + symbol: 'Pb', + name: 'Bly', + atomicNumber: 82, + }, + { + symbol: 'Bi', + name: 'Vismut', + atomicNumber: 83, + }, + { + symbol: 'Po', + name: 'Polonium', + atomicNumber: 84, + }, + { + symbol: 'At', + name: 'Astat', + atomicNumber: 85, + }, + { + symbol: 'Rn', + name: 'Radon', + atomicNumber: 86, + }, + { + symbol: 'Fr', + name: 'Francium', + atomicNumber: 87, + }, + { + symbol: 'Ra', + name: 'Radium', + atomicNumber: 88, + }, + { + symbol: 'Ac', + name: 'Actinium', + atomicNumber: 89, + }, + { + symbol: 'Th', + name: 'Thorium', + atomicNumber: 90, + }, + { + symbol: 'Pa', + name: 'Protactinium', + atomicNumber: 91, + }, + { + symbol: 'U', + name: 'Uran', + atomicNumber: 92, + }, + { + symbol: 'Np', + name: 'Neptunium', + atomicNumber: 93, + }, + { + symbol: 'Pu', + name: 'Plutonium', + atomicNumber: 94, + }, + { + symbol: 'Am', + name: 'Americium', + atomicNumber: 95, + }, + { + symbol: 'Cm', + name: 'Curium', + atomicNumber: 96, + }, + { + symbol: 'Bk', + name: 'Berkelium', + atomicNumber: 97, + }, + { + symbol: 'Cf', + name: 'Californium', + atomicNumber: 98, + }, + { + symbol: 'Es', + name: 'Einsteinium', + atomicNumber: 99, + }, + { + symbol: 'Fm', + name: 'Fermium', + atomicNumber: 100, + }, + { + symbol: 'Md', + name: 'Mendelevium', + atomicNumber: 101, + }, + { + symbol: 'No', + name: 'Nobelium', + atomicNumber: 102, + }, + { + symbol: 'Lr', + name: 'Lawrencium', + atomicNumber: 103, + }, + { + symbol: 'Rf', + name: 'Rutherfordium', + atomicNumber: 104, + }, + { + symbol: 'Db', + name: 'Dubnium', + atomicNumber: 105, + }, + { + symbol: 'Sg', + name: 'Seaborgium', + atomicNumber: 106, + }, + { + symbol: 'Bh', + name: 'Bohrium', + atomicNumber: 107, + }, + { + symbol: 'Hs', + name: 'Hassium', + atomicNumber: 108, + }, + { + symbol: 'Mt', + name: 'Meitnerium', + atomicNumber: 109, + }, + { + symbol: 'Ds', + name: 'Darmstadtium', + atomicNumber: 110, + }, + { + symbol: 'Rg', + name: 'Røntgenium', + atomicNumber: 111, + }, + { + symbol: 'Cn', + name: 'Copernicium', + atomicNumber: 112, + }, + { + symbol: 'Nh', + name: 'Nihonium', + atomicNumber: 113, + }, + { + symbol: 'Fl', + name: 'Flerovium', + atomicNumber: 114, + }, + { + symbol: 'Mc', + name: 'Moscovium', + atomicNumber: 115, + }, + { + symbol: 'Lv', + name: 'Livermorium', + atomicNumber: 116, + }, + { + symbol: 'Ts', + name: 'Tenness', + atomicNumber: 117, + }, + { + symbol: 'Og', + name: 'Oganesson', + atomicNumber: 118, + }, +]); diff --git a/src/locales/nb_NO/science/index.ts b/src/locales/nb_NO/science/index.ts new file mode 100644 index 00000000000..a28238b1890 --- /dev/null +++ b/src/locales/nb_NO/science/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { ScienceDefinitions } from '../../..'; +import chemicalElement from './chemicalElement'; +import unit from './unit'; + +const science: ScienceDefinitions = { + chemicalElement, + unit, +}; + +export default science; diff --git a/src/locales/nb_NO/science/unit.ts b/src/locales/nb_NO/science/unit.ts new file mode 100644 index 00000000000..1db4a834c0d --- /dev/null +++ b/src/locales/nb_NO/science/unit.ts @@ -0,0 +1,90 @@ +export default Object.freeze([ + { + name: 'meter', + symbol: 'm', + }, + { + name: 'sekund', + symbol: 's', + }, + { + name: 'mole', + symbol: 'mol', + }, + { + name: 'ampere', + symbol: 'A', + }, + { + name: 'kelvin', + symbol: 'K', + }, + { + name: 'candela', + symbol: 'cd', + }, + { + name: 'kilogram', + symbol: 'kg', + }, + { + name: 'radian', + symbol: 'rad', + }, + { + name: 'hertz', + symbol: 'Hz', + }, + { + name: 'newton', + symbol: 'N', + }, + { + name: 'pascal', + symbol: 'Pa', + }, + { + name: 'joule', + symbol: 'J', + }, + { + name: 'watt', + symbol: 'W', + }, + { + name: 'coulomb', + symbol: 'C', + }, + { + name: 'volt', + symbol: 'V', + }, + { + name: 'ohm', + symbol: 'Ω', + }, + { + name: 'tesla', + symbol: 'T', + }, + { + name: 'grad celsius', + symbol: '°C', + }, + { + name: 'lumen', + symbol: 'lm', + }, + { + name: 'becquerel', + symbol: 'Bq', + }, + { + name: 'gray', + symbol: 'Gy', + }, + { + name: 'sievert', + symbol: 'Sv', + }, +]); diff --git a/src/locales/nb_NO/word/adjective.ts b/src/locales/nb_NO/word/adjective.ts new file mode 100644 index 00000000000..4d3c5d1dc13 --- /dev/null +++ b/src/locales/nb_NO/word/adjective.ts @@ -0,0 +1,107 @@ +export default [ + 'aktuell', + 'alvorlig', + 'ansvarlig', + 'berømt', + 'betydelig', + 'bevisst', + 'bred', + 'dum', + 'dyp', + 'ekkel', + 'eksisterende', + 'ekte', + 'enkel', + 'ensom', + 'falsk', + 'fast', + 'felles', + 'fersk', + 'fjern', + 'flau', + 'følsom', + 'forsiktig', + 'fremmed', + 'fryktelig', + 'glatt', + 'gravid', + 'grunnleggende', + 'heldig', + 'hemmelig', + 'hjelpsom', + 'hyppig', + 'imponerende', + 'kjedelig', + 'kul', + 'langsom', + 'lat', + 'lav', + 'lignende', + 'løs', + 'lovlig', + 'lykkelig', + 'lys', + 'menneskelig', + 'merkelig', + 'midlertidig', + 'mistenkelig', + 'modig', + 'mørk', + 'morsom', + 'motsatt', + 'mulig', + 'naturlig', + 'nåværende', + 'nødvendig', + 'nøyaktig', + 'nysgjerrig', + 'nyttig', + 'offentlig', + 'opprinnelig', + 'ordentlig', + 'plutselig', + 'rå', + 'rask', + 'regelmessig', + 'ren', + 'rettferdig', + 'rimelig', + 'rund', + 'ryddig', + 'sannsynlig', + 'selvsikker', + 'sint', + 'skarp', + 'skikkelig', + 'skyldig', + 'smal', + 'søt', + 'spennende', + 'stille', + 'stolt', + 'stram', + 'streng', + 'stygg', + 'sulten', + 'sunn', + 'synlig', + 'tilgjengelig', + 'tilstrekkelig', + 'tung', + 'tynn', + 'uavhengig', + 'ujevn', + 'ulovlig', + 'ulykkelig', + 'umiddelbar', + 'urettferdig', + 'vellykket', + 'vennlig', + 'verdifull', + 'vill', + 'villig', + 'voksen', + 'ærlig', + 'åpen', + 'åpenbar', +]; diff --git a/src/locales/nb_NO/word/conjunction.ts b/src/locales/nb_NO/word/conjunction.ts new file mode 100644 index 00000000000..60a7929af3b --- /dev/null +++ b/src/locales/nb_NO/word/conjunction.ts @@ -0,0 +1 @@ +export default ['eller', 'for', 'men', 'og', 'så']; diff --git a/src/locales/nb_NO/word/index.ts b/src/locales/nb_NO/word/index.ts new file mode 100644 index 00000000000..b620a313f63 --- /dev/null +++ b/src/locales/nb_NO/word/index.ts @@ -0,0 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { WordDefinitions } from '../../..'; +import adjective from './adjective'; +import conjunction from './conjunction'; +import interjection from './interjection'; + +const word: WordDefinitions = { + adjective, + conjunction, + interjection, +}; + +export default word; diff --git a/src/locales/nb_NO/word/interjection.ts b/src/locales/nb_NO/word/interjection.ts new file mode 100644 index 00000000000..5fdf4a72258 --- /dev/null +++ b/src/locales/nb_NO/word/interjection.ts @@ -0,0 +1,19 @@ +export default [ + 'aha', + 'au', + 'bravo', + 'bø', + 'fy', + 'fysj', + 'huff', + 'hurra', + 'hæ', + 'jippi', + 'nam', + 'oi', + 'ops', + 'pytt', + 'pøh', + 'å', + 'æsj', +];