Skip to content

Commit

Permalink
chore(translations): improved serbian translations for the lexical ed…
Browse files Browse the repository at this point in the history
…itor (#9795)

### What?

Enhanced Serbian translations for the lexical editor have been
implemented. The updates correct inaccuracies in the Serbian Cyrillic
translations and address various errors in the previous versions.


### Why?

- Incorrect use of Latin script in place of Cyrillic.
- Contextual errors in translations.
  • Loading branch information
nikolasp authored Dec 6, 2024
1 parent bbf35a6 commit 10eab87
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
12 changes: 6 additions & 6 deletions packages/richtext-lexical/src/features/align/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ export const i18n: Partial<GenericLanguages> = {
alignRightLabel: 'Aliniați la dreapta',
},
rs: {
alignCenterLabel: 'Centriraj',
alignJustifyLabel: 'Poravnaj opravdaj',
alignLeftLabel: 'Poravnaj levo',
alignRightLabel: 'Poravnaj desno',
alignCenterLabel: 'Поравнај по средини',
alignJustifyLabel: 'Поравнај обострано',
alignLeftLabel: 'Поравнај лево',
alignRightLabel: 'Поравнај десно',
},
'rs-latin': {
alignCenterLabel: 'Poravnaj centar',
alignJustifyLabel: 'Poravnaj opravdanje',
alignCenterLabel: 'Poravnaj po sredini',
alignJustifyLabel: 'Poravnaj obostrano',
alignLeftLabel: 'Poravnaj levo',
alignRightLabel: 'Poravnaj desno',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Citat',
},
rs: {
label: 'Blok citat',
label: 'Блок цитата',
},
'rs-latin': {
label: 'Blok citata',
Expand Down
12 changes: 6 additions & 6 deletions packages/richtext-lexical/src/features/blocks/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,18 +201,18 @@ export const i18n: Partial<GenericLanguages> = {
},
rs: {
inlineBlocks: {
create: 'Kreiraj {{label}}',
edit: 'Izmeni {{label}}',
label: 'Umetnuti blokovi',
remove: 'Ukloni {{label}}',
create: 'Креирај {{label}}',
edit: 'Измени {{label}}',
label: 'Уметнути блокови',
remove: 'Уклони {{label}}',
},
label: 'Blokovi',
label: 'Блокови',
},
'rs-latin': {
inlineBlocks: {
create: 'Kreiraj {{label}}',
edit: 'Izmeni {{label}}',
label: 'Unutar blokovi',
label: 'Umetnuti blokovi',
remove: 'Ukloni {{oznaka}}',
},
label: 'Blokovi',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Titlu {{headingLevel}}',
},
rs: {
label: 'Naslov {{headingLevel}}',
label: 'Наслов {{headingLevel}}',
},
'rs-latin': {
label: 'Naslov {{headingLevel}}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Linie orizontală',
},
rs: {
label: 'Horizontalna linija',
label: 'Хоризонтална линија',
},
'rs-latin': {
label: 'Horizontalna linija',
Expand Down
4 changes: 2 additions & 2 deletions packages/richtext-lexical/src/features/indent/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export const i18n: Partial<GenericLanguages> = {
increaseLabel: 'Crește indentarea',
},
rs: {
decreaseLabel: 'Smanji uvlačenje',
increaseLabel: 'Povećaj uvlačenje',
decreaseLabel: 'Смањи увлачење',
increaseLabel: 'Повећај увлачење',
},
'rs-latin': {
decreaseLabel: 'Smanji uvlačenje',
Expand Down
2 changes: 1 addition & 1 deletion packages/richtext-lexical/src/features/link/server/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const i18n: Partial<GenericLanguages> = {
loadingWithEllipsis: 'Se încarcă...',
},
rs: {
label: 'Veza',
label: 'Веза',
loadingWithEllipsis: 'Учитавање...',
},
'rs-latin': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Listă de verificare',
},
rs: {
label: 'Lista provere',
label: 'Контролна листа',
},
'rs-latin': {
label: 'Lista provere',
label: 'Kontrolna lista',
},
ru: {
label: 'Список Проверки',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Lista ordonată',
},
rs: {
label: 'Naručeni Spisak',
label: 'Уређена листа',
},
'rs-latin': {
label: 'Naručeni spisak',
label: 'Uređena lista',
},
ru: {
label: 'Упорядоченный список',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Listă neordonată',
},
rs: {
label: 'Neporedani spisak',
label: 'Неуређена листа',
},
'rs-latin': {
label: 'Neuređena Lista',
label: 'Neuređena lista',
},
ru: {
label: 'Несортированный список',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ export const i18n: Partial<GenericLanguages> = {
label2: 'Text normal',
},
rs: {
label: 'Paragraf',
label2: 'Normalan tekst',
label: 'Параграф',
label2: 'Oбичан текст',
},
'rs-latin': {
label: 'Paragraf',
label2: 'Normalan tekst',
label2: 'Običan tekst',
},
ru: {
label: 'Параграф',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Relație',
},
rs: {
label: 'Veza',
label: 'Релација',
},
'rs-latin': {
label: 'Odnos',
label: 'Relacija',
},
ru: {
label: 'Отношения',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const i18n: Partial<GenericLanguages> = {
label: 'Încarcă',
},
rs: {
label: 'Otpremi',
label: 'Отпреми',
},
'rs-latin': {
label: 'Otpremi',
Expand Down
8 changes: 4 additions & 4 deletions packages/richtext-lexical/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ export const i18n: Partial<GenericLanguages> = {
toolbarItemsActive: '{{count}} activ',
},
rs: {
placeholder: "Počnite da kucate, ili pritisnite '/' za komande...",
slashMenuBasicGroupLabel: 'Osnovno',
slashMenuListGroupLabel: 'Liste',
toolbarItemsActive: '{{count}} aktivno',
placeholder: "Почните да куцате, или притисните '/' за команде...",
slashMenuBasicGroupLabel: 'Основно',
slashMenuListGroupLabel: 'Листе',
toolbarItemsActive: '{{count}} активно',
},
'rs-latin': {
placeholder: "Počnite da kucate, ili pritisnite '/' za komande...",
Expand Down

0 comments on commit 10eab87

Please sign in to comment.