Skip to content

Commit ac16116

Browse files
chore(richtext-lexical): improve Swedish translations (#15273)
## What Improved Swedish translations for the built-in Lexical features: - align: Normalized terminology and fixed "justify" which wasn't translated at all - blocks: Better word choice for inline blocks - check: More accurate word choice - paragraph: words aren't capitalized in Swedish - upload: This is hard to translate in a non-awkward fashion but this at least changes it to be the noun and not the verb Co-authored-by: Sasha Rakhmatulin <sasha@ritsuko.dev>
1 parent 78a27ab commit ac16116

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ export const i18n: Partial<GenericLanguages> = {
177177
},
178178
sv: {
179179
alignCenterLabel: 'Centrera',
180-
alignJustifyLabel: 'Justera Justify',
181-
alignLeftLabel: 'Justera till vänster',
182-
alignRightLabel: 'Justera till höger',
180+
alignJustifyLabel: 'Marginaljustera',
181+
alignLeftLabel: 'Vänsterjustera',
182+
alignRightLabel: 'Högerjustera',
183183
},
184184
ta: {
185185
alignCenterLabel: 'மையத்தில் ஒழுங்குபடுத்து',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export const i18n: Partial<GenericLanguages> = {
266266
inlineBlocks: {
267267
create: 'Skapa {{label}}',
268268
edit: 'Redigera {{label}}',
269-
label: 'Inline-blockar',
269+
label: 'Inbäddade block',
270270
remove: 'Ta bort {{label}}',
271271
},
272272
label: 'Block',

packages/richtext-lexical/src/features/lists/checklist/server/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const i18n: Partial<GenericLanguages> = {
8989
label: 'Nimekiri',
9090
},
9191
sv: {
92-
label: 'Kontrollista',
92+
label: 'Checklista',
9393
},
9494
ta: {
9595
label: 'சரிபார்ப்பு பட்டியல்',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const i18n: Partial<GenericLanguages> = {
119119
},
120120
sv: {
121121
label: 'Stycke',
122-
label2: 'Normal Text',
122+
label2: 'Normal text',
123123
},
124124
ta: {
125125
label: 'பத்தி',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const i18n: Partial<GenericLanguages> = {
8989
label: 'Naloži',
9090
},
9191
sv: {
92-
label: 'Ladda upp',
92+
label: 'Uppladdning',
9393
},
9494
ta: {
9595
label: 'பதிவேற்றம்',

0 commit comments

Comments
 (0)