Skip to content

Commit 3e31b7a

Browse files
authored
feat(plugin-seo): add Swedish translations (#9007)
### What? Swedish text translations ### Why? There was no Swedish before
1 parent e390835 commit 3e31b7a

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { it } from './it.js'
99
import { nb } from './nb.js'
1010
import { pl } from './pl.js'
1111
import { ru } from './ru.js'
12+
import { sv } from './sv.js'
1213
import { tr } from './tr.js'
1314
import { uk } from './uk.js'
1415

@@ -22,6 +23,7 @@ export const translations = {
2223
nb,
2324
pl,
2425
ru,
26+
sv,
2527
tr,
2628
uk,
2729
}
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 sv: GenericTranslationsObject = {
4+
$schema: './translation-schema.json',
5+
'plugin-seo': {
6+
almostThere: 'Nästan klar',
7+
autoGenerate: 'Skapa automatiskt',
8+
bestPractices: 'bästa praxis',
9+
characterCount: '{{current}}/{{minLength}}-{{maxLength}} tecken, ',
10+
charactersLeftOver: '{{characters}} tecken blir över',
11+
charactersToGo: '{{characters}} tecken kvar',
12+
charactersTooMany: '{{characters}} tecken för mycket',
13+
checksPassing: '{{current}}/{{max}} kontroller är godkända',
14+
good: 'Bra',
15+
imageAutoGenerationTip: 'Den automatiska processen kommer att välja en hero-bild.',
16+
lengthTipDescription:
17+
'Bör vara mellan {{minLength}} och {{maxLength}} tecken. För hjälp med att skriva bra metabeskrivningar, se ',
18+
lengthTipTitle:
19+
'Bör vara mellan {{minLength}} och {{maxLength}} tecken. För hjälp med att skriva bra metatitlar, se ',
20+
missing: 'Saknas',
21+
noImage: 'Ingen bild',
22+
preview: 'Förhandsgranska',
23+
previewDescription:
24+
'Exakta resultatlistningar kan variera baserat på innehåll och sökrelevans.',
25+
tooLong: 'För lång',
26+
tooShort: 'För kort',
27+
},
28+
}

0 commit comments

Comments
 (0)