Skip to content

Commit 7088d25

Browse files
authored
fix(translations): fixes to Icelandic translations (#14038)
### What? Add various missing translations for Icelandic language and update some of the current ones to be more human readable. ### Why? To make it more useable in Icelandic
1 parent 2be6bb3 commit 7088d25

File tree

23 files changed

+260
-138
lines changed

23 files changed

+260
-138
lines changed

packages/plugin-import-export/src/translations/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { he } from './languages/he.js'
2222
import { hr } from './languages/hr.js'
2323
import { hu } from './languages/hu.js'
2424
import { hy } from './languages/hy.js'
25+
import { is } from './languages/is.js'
2526
import { it } from './languages/it.js'
2627
import { ja } from './languages/ja.js'
2728
import { ko } from './languages/ko.js'
@@ -63,6 +64,7 @@ export const translations = {
6364
hr,
6465
hu,
6566
hy,
67+
is,
6668
it,
6769
ja,
6870
ko,
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import type { PluginDefaultTranslationsObject, PluginLanguage } from '../types.js'
2+
3+
export const isTranslations: PluginDefaultTranslationsObject = {
4+
'plugin-import-export': {
5+
allLocales: 'Allar staðfærslur',
6+
exportDocumentLabel: 'Flytja út {{label}}',
7+
exportOptions: 'Útflutningsvalkostir',
8+
'field-depth-label': 'Dýpt',
9+
'field-drafts-label': 'Innihalda drög',
10+
'field-fields-label': 'Reitir',
11+
'field-format-label': 'Útflutnings snið',
12+
'field-limit-label': 'Takmörkun',
13+
'field-locale-label': 'Staðfærsla',
14+
'field-name-label': 'Skrár nafn',
15+
'field-page-label': 'Síða',
16+
'field-selectionToUse-label': 'Val til að nota',
17+
'field-sort-label': 'Raða eftir',
18+
'field-sort-order-label': 'Röðun',
19+
'selectionToUse-allDocuments': 'Nota allar færslur',
20+
'selectionToUse-currentFilters': 'Nota núverandi síu',
21+
'selectionToUse-currentSelection': 'Nota núverandi val',
22+
totalDocumentsCount: '{{count}} færslur',
23+
},
24+
}
25+
26+
export const is: PluginLanguage = {
27+
dateFNSKey: 'is',
28+
translations: isTranslations,
29+
}

packages/plugin-multi-tenant/src/translations/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { he } from './languages/he.js'
2222
import { hr } from './languages/hr.js'
2323
import { hu } from './languages/hu.js'
2424
import { hy } from './languages/hy.js'
25+
import { is } from './languages/is.js'
2526
import { it } from './languages/it.js'
2627
import { ja } from './languages/ja.js'
2728
import { ko } from './languages/ko.js'
@@ -63,6 +64,7 @@ export const translations = {
6364
hr,
6465
hu,
6566
hy,
67+
is,
6668
it,
6769
ja,
6870
ko,

packages/plugin-multi-tenant/src/translations/languages/is.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import type { PluginDefaultTranslationsObject, PluginLanguage } from '../types.j
22

33
export const isTranslations: PluginDefaultTranslationsObject = {
44
'plugin-multi-tenant': {
5-
'assign-tenant-button-label': 'Úthluta leigjanda',
5+
'assign-tenant-button-label': 'Úthluta sviði',
66
'assign-tenant-modal-title': 'Úthluta "{{title}}"',
7-
'field-assignedTenant-label': 'Úthlutaður leigjandi',
8-
'nav-tenantSelector-label': 'Síaðu eftir leigjanda',
7+
'field-assignedTenant-label': 'Úthlutað svið',
8+
'nav-tenantSelector-label': 'Sía eftir sviði',
99
},
1010
}
1111

packages/plugin-seo/src/translations/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { fr } from './fr.js'
1515
import { he } from './he.js'
1616
import { hr } from './hr.js'
1717
import { hu } from './hu.js'
18+
import { is } from './is.js'
1819
import { it } from './it.js'
1920
import { ja } from './ja.js'
2021
import { ko } from './ko.js'
@@ -55,6 +56,7 @@ export const translations = {
5556
he,
5657
hr,
5758
hu,
59+
is,
5860
it,
5961
ja,
6062
ko,
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { GenericTranslationsObject } from '@payloadcms/translations'
2+
3+
export const is: GenericTranslationsObject = {
4+
$schema: './translation-schema.json',
5+
'plugin-seo': {
6+
almostThere: 'Næstum komið',
7+
autoGenerate: 'Mynda sjálfkrafa',
8+
bestPractices: 'bestu venjur',
9+
characterCount: '{{current}}/{{minLength}}-{{maxLength}} stafir, ',
10+
charactersLeftOver: '{{characters}} eftir',
11+
charactersToGo: '{{characters}} eftir',
12+
charactersTooMany: '{{characters}} of mikið',
13+
checksPassing: '{{current}}/{{max}} athuganir standast',
14+
good: 'Gott',
15+
imageAutoGenerationTip: 'Sjálfvirk myndun mun sækja valda hetjumynd.',
16+
lengthTipDescription:
17+
'Þetta ætti að vera á milli {{minLength}} og {{maxLength}} stafir. Fyrir hjálp með að skrifa góða lýsingu, sjáðu ',
18+
lengthTipTitle:
19+
'Þetta ætti að vera á milli {{minLength}} og {{maxLength}} stafir. Fyrir hjálp með að skrifa góðan titil, sjáðu ',
20+
missing: 'Vantar',
21+
noImage: 'Engin mynd',
22+
preview: 'Forskoðun',
23+
previewDescription:
24+
'Nákvæmar niðurstöður geta verið mismunandi eftir efni og viðeigandi leitar.',
25+
tooLong: 'Of langt',
26+
tooShort: 'Of stutt',
27+
},
28+
}

packages/richtext-lexical/src/features/align/server/i18n.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ export const i18n: Partial<GenericLanguages> = {
8585
alignLeftLabel: 'Igazítás balra',
8686
alignRightLabel: 'Igazítás jobbra',
8787
},
88+
is: {
89+
alignCenterLabel: 'Miðju jöfnun',
90+
alignJustifyLabel: 'Samræmd jöfnun',
91+
alignLeftLabel: 'Vinstri jöfnun',
92+
alignRightLabel: 'Hægri jöfnun',
93+
},
8894
it: {
8995
alignCenterLabel: 'Allinea al centro',
9096
alignJustifyLabel: 'Allinea Giustifica',

packages/richtext-lexical/src/features/blockquote/server/i18n.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ export const i18n: Partial<GenericLanguages> = {
4343
hu: {
4444
label: 'Idézetblokk',
4545
},
46+
is: {
47+
label: 'Tilvitnun',
48+
},
4649
it: {
4750
label: 'Citazione',
4851
},

packages/richtext-lexical/src/features/blocks/server/i18n.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,15 @@ export const i18n: Partial<GenericLanguages> = {
127127
},
128128
label: 'Blokkok',
129129
},
130+
is: {
131+
inlineBlocks: {
132+
create: 'Skrá {{label}}',
133+
edit: 'Breyta {{label}}',
134+
label: 'Línublokkir',
135+
remove: 'Fjarlægja {{label}}',
136+
},
137+
label: 'Blokkir',
138+
},
130139
it: {
131140
inlineBlocks: {
132141
create: 'Crea {{label}}',

packages/richtext-lexical/src/features/heading/server/i18n.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ export const i18n: Partial<GenericLanguages> = {
4343
hu: {
4444
label: 'Címsor {{headingLevel}}',
4545
},
46+
is: {
47+
label: 'Fyrirsögn {{headingLevel}}',
48+
},
4649
it: {
4750
label: 'Intestazione {{headingLevel}}',
4851
},

0 commit comments

Comments
 (0)