Skip to content

Commit 2bdd669

Browse files
authored
feat: add icelandic translations (#13423)
### What? Add Icelandic translations ### Why? It hadn't been implemented yet ### How? I added files, mimicking the existing pattern for translations and translated all messages in the list
1 parent 9607453 commit 2bdd669

File tree

6 files changed

+626
-1
lines changed

6 files changed

+626
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { is } from '@payloadcms/translations/languages/is'

packages/translations/src/exports/all.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { hr } from '../languages/hr.js'
1919
import { hu } from '../languages/hu.js'
2020
import { hy } from '../languages/hy.js'
2121
import { id } from '../languages/id.js'
22+
import { is } from '../languages/is.js'
2223
import { it } from '../languages/it.js'
2324
import { ja } from '../languages/ja.js'
2425
import { ko } from '../languages/ko.js'
@@ -64,6 +65,7 @@ export const translations = {
6465
hy,
6566

6667
id,
68+
is,
6769
it,
6870
ja,
6971
ko,

packages/translations/src/importDateFNSLocale.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ export const importDateFNSLocale = async (locale: string): Promise<Locale> => {
7676
result = (await import('date-fns/locale/id')).id
7777

7878
break
79+
80+
case 'is':
81+
result = (await import('date-fns/locale/is')).is
82+
83+
break
84+
7985
case 'it':
8086
result = (await import('date-fns/locale/it')).it
8187

0 commit comments

Comments
 (0)