Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Estonian language support #10169

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/richtext-lexical/src/features/align/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export const i18n: Partial<GenericLanguages> = {
alignLeftLabel: 'Alinear a la izquierda',
alignRightLabel: 'Alinear a la derecha',
},
et: {
alignCenterLabel: 'Keskjoondus',
alignJustifyLabel: 'Rööpjoondus',
alignLeftLabel: 'Vasakjoondus',
alignRightLabel: 'Paremjoondus',
},
fa: {
alignCenterLabel: 'تراز در مرکز',
alignJustifyLabel: 'تراز کردن از دو طرف',
Expand Down Expand Up @@ -157,6 +163,12 @@ export const i18n: Partial<GenericLanguages> = {
alignLeftLabel: 'Zarovnať doľava',
alignRightLabel: 'Zarovnať doprava',
},
sl: {
alignCenterLabel: undefined,
alignJustifyLabel: undefined,
alignLeftLabel: undefined,
alignRightLabel: undefined,
},
sv: {
alignCenterLabel: 'Centrera',
alignJustifyLabel: 'Justera Justify',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Cita en bloque',
},
et: {
label: 'Tsitaat',
},
fa: {
label: 'نقل قول بلوکی',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Citát',
},
sl: {
label: undefined,
},
sv: {
label: 'Blockcitat',
},
Expand Down
18 changes: 18 additions & 0 deletions packages/richtext-lexical/src/features/blocks/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ export const i18n: Partial<GenericLanguages> = {
},
label: 'Bloques',
},
et: {
inlineBlocks: {
create: 'Loo {{label}}',
edit: 'Muuda {{label}}',
label: 'Sisseehitatud plokid',
remove: 'Eemalda {{label}}',
},
label: 'Plokk',
},
fa: {
inlineBlocks: {
create: 'ایجاد {{برچسب}}',
Expand Down Expand Up @@ -235,6 +244,15 @@ export const i18n: Partial<GenericLanguages> = {
},
label: 'Bloky',
},
sl: {
inlineBlocks: {
create: undefined,
edit: undefined,
label: undefined,
remove: undefined,
},
label: undefined,
},
sv: {
inlineBlocks: {
create: 'Skapa {{label}}',
Expand Down
6 changes: 6 additions & 0 deletions packages/richtext-lexical/src/features/heading/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Encabezado {{headingLevel}}',
},
et: {
label: 'Pealkiri {{headingLevel}}',
},
fa: {
label: '[SKIPPED]',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Nadpis {{headingLevel}}',
},
sl: {
label: undefined,
},
sv: {
label: 'Rubrik {{headingLevel}}',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Regla Horizontal',
},
et: {
label: 'Horisontaalne reegel',
},
fa: {
label: 'قاعده افقی',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Vodorovná čiara',
},
sl: {
label: undefined,
},
sv: {
label: 'Horisontell linje',
},
Expand Down
8 changes: 8 additions & 0 deletions packages/richtext-lexical/src/features/indent/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export const i18n: Partial<GenericLanguages> = {
decreaseLabel: 'Disminuir Sangría',
increaseLabel: 'Aumentar Sangría',
},
et: {
decreaseLabel: 'Taande vähendamine',
increaseLabel: 'Taande suurendamine',
},
fa: {
decreaseLabel: 'کاهش تورفتگی',
increaseLabel: 'افزایش تورفتگی',
Expand Down Expand Up @@ -105,6 +109,10 @@ export const i18n: Partial<GenericLanguages> = {
decreaseLabel: 'Znížiť odsadenie',
increaseLabel: 'Zväčšiť odsadenie',
},
sl: {
decreaseLabel: undefined,
increaseLabel: undefined,
},
sv: {
decreaseLabel: 'Minska indrag',
increaseLabel: 'Öka indrag',
Expand Down
8 changes: 8 additions & 0 deletions packages/richtext-lexical/src/features/link/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Enlace',
loadingWithEllipsis: 'Cargando...',
},
et: {
label: 'Link',
loadingWithEllipsis: 'Laadimine...',
},
fa: {
label: 'پیوند',
loadingWithEllipsis: 'در حال بارگذاری...',
Expand Down Expand Up @@ -105,6 +109,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Odkaz',
loadingWithEllipsis: 'Načítava sa...',
},
sl: {
label: undefined,
loadingWithEllipsis: undefined,
},
sv: {
label: 'Länk',
loadingWithEllipsis: 'Laddar...',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Lista de comprobación',
},
et: {
label: '',
},
fa: {
label: 'لیست بررسی',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Kontrolný zoznam',
},
sl: {
label: 'Nimekiri',
},
sv: {
label: 'Kontrollista',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Lista ordenada',
},
et: {
label: 'Sorteeritud loend',
},
fa: {
label: 'لیست مرتب شده',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Zoradený zoznam',
},
sl: {
label: undefined,
},
sv: {
label: 'Ordnad Lista',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Lista desordenada',
},
et: {
label: 'Sorteerimata loend',
},
fa: {
label: 'لیست بدون ترتیب',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Neusporiadaný zoznam',
},
sl: {
label: undefined,
},
sv: {
label: 'Oordnad lista',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Párrafo',
label2: 'Texto normal',
},
et: {
label: 'Paragrahv',
label2: 'Tavaline tekst',
},
fa: {
label: 'پاراگراف',
label2: 'متن عادی',
Expand Down Expand Up @@ -105,6 +109,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Odsek',
label2: 'Normálny text',
},
sl: {
label: undefined,
label2: undefined,
},
sv: {
label: 'Stycke',
label2: 'Normal Text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Relación',
},
et: {
label: 'Seos',
},
fa: {
label: 'روابط',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Vzťah',
},
sl: {
label: undefined,
},
sv: {
label: 'Relation',
},
Expand Down
6 changes: 6 additions & 0 deletions packages/richtext-lexical/src/features/upload/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const i18n: Partial<GenericLanguages> = {
es: {
label: 'Subir',
},
et: {
label: 'Lae üles',
},
fa: {
label: 'بارگذاری',
},
Expand Down Expand Up @@ -79,6 +82,9 @@ export const i18n: Partial<GenericLanguages> = {
sk: {
label: 'Nahrať',
},
sl: {
label: undefined,
},
sv: {
label: 'Ladda upp',
},
Expand Down
12 changes: 12 additions & 0 deletions packages/richtext-lexical/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export const i18n: Partial<GenericLanguages> = {
slashMenuListGroupLabel: 'Listas',
toolbarItemsActive: '{{count}} activo',
},
et: {
placeholder: "Alusta kirjutamist või vajuta '/' käskude jaoks...",
slashMenuBasicGroupLabel: 'Põhiline',
slashMenuListGroupLabel: 'Loendid',
toolbarItemsActive: '{{count}} aktiivne',
},
fa: {
placeholder: "شروع به تایپ کنید، یا برای دستورات '/' را فشار دهید ...",
slashMenuBasicGroupLabel: 'پایه',
Expand Down Expand Up @@ -157,6 +163,12 @@ export const i18n: Partial<GenericLanguages> = {
slashMenuListGroupLabel: 'Zoznamy',
toolbarItemsActive: '{{count}} aktívne',
},
sl: {
placeholder: undefined,
slashMenuBasicGroupLabel: undefined,
slashMenuListGroupLabel: undefined,
toolbarItemsActive: undefined,
},
sv: {
placeholder: "Börja skriva, eller tryck på '/' för kommandon...",
slashMenuBasicGroupLabel: 'Grundläggande',
Expand Down
Loading
Loading