File tree Expand file tree Collapse file tree 32 files changed +63
-61
lines changed
RenderFieldsToDiff/fields/Iterable
translations/src/languages Expand file tree Collapse file tree 32 files changed +63
-61
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export const SetStepNav: React.FC<{
90
90
} ) ,
91
91
} ,
92
92
{
93
- label : 'Versions' ,
93
+ label : t ( 'version:versions' ) ,
94
94
url : formatAdminURL ( {
95
95
adminRoute,
96
96
path : `${ docBasePath } /versions` ,
@@ -118,7 +118,7 @@ export const SetStepNav: React.FC<{
118
118
} ) ,
119
119
} ,
120
120
{
121
- label : 'Versions' ,
121
+ label : t ( 'version:versions' ) ,
122
122
url : formatAdminURL ( {
123
123
adminRoute,
124
124
path : `/globals/${ globalSlug } /versions` ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const Iterable: React.FC<FieldDiffClientProps> = ({
25
25
parentIsLocalized,
26
26
versionValue : valueTo ,
27
27
} ) => {
28
- const { i18n } = useTranslation ( )
28
+ const { i18n, t } = useTranslation ( )
29
29
const { selectedLocales } = useSelectedLocales ( )
30
30
const { config } = useConfig ( )
31
31
@@ -73,7 +73,9 @@ export const Iterable: React.FC<FieldDiffClientProps> = ({
73
73
} )
74
74
75
75
const rowNumber = String ( i + 1 ) . padStart ( 2 , '0' )
76
- const rowLabel = fieldIsArrayType ( field ) ? `Item ${ rowNumber } ` : `Block ${ rowNumber } `
76
+ const rowLabel = fieldIsArrayType ( field )
77
+ ? `${ t ( 'general:item' ) } ${ rowNumber } `
78
+ : `${ t ( 'fields:block' ) } ${ rowNumber } `
77
79
78
80
return (
79
81
< div className = { `${ baseClass } __row` } key = { i } >
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export const azTranslations: DefaultTranslationsObject = {
143
143
addNewLabel : 'Yeni {{label}} əlavə et' ,
144
144
addRelationship : 'Relationship əlavə et' ,
145
145
addUpload : 'Yükləmə əlavə et' ,
146
- block : 'blok ' ,
146
+ block : 'Blok ' ,
147
147
blocks : 'bloklar' ,
148
148
blockType : 'Blok Növü' ,
149
149
chooseBetweenCustomTextOrDocument :
@@ -328,7 +328,7 @@ export const azTranslations: DefaultTranslationsObject = {
328
328
groupByLabel : '{{label}} ilə qruplaşdırın' ,
329
329
import : 'İdxal' ,
330
330
isEditing : 'redaktə edir' ,
331
- item : 'əşya ' ,
331
+ item : 'Əşya ' ,
332
332
items : 'maddələr' ,
333
333
language : 'Dil' ,
334
334
lastModified : 'Son dəyişdirildi' ,
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export const bgTranslations: DefaultTranslationsObject = {
143
143
addNewLabel : 'Добави нов {{label}}' ,
144
144
addRelationship : 'Добави отношение' ,
145
145
addUpload : 'Качи' ,
146
- block : 'блок ' ,
146
+ block : 'Блок ' ,
147
147
blocks : 'блокове' ,
148
148
blockType : 'Тип блок' ,
149
149
chooseBetweenCustomTextOrDocument :
@@ -325,7 +325,7 @@ export const bgTranslations: DefaultTranslationsObject = {
325
325
groupByLabel : 'Групирай по {{label}}' ,
326
326
import : 'Внос' ,
327
327
isEditing : 'редактира' ,
328
- item : 'артикул ' ,
328
+ item : 'Aртикул ' ,
329
329
items : 'артикули' ,
330
330
language : 'Език' ,
331
331
lastModified : 'Последно променено' ,
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export const caTranslations: DefaultTranslationsObject = {
144
144
addNewLabel : 'Afegeix nou {{label}}' ,
145
145
addRelationship : 'Afegeix relació' ,
146
146
addUpload : 'Afegeix pujada' ,
147
- block : 'bloc ' ,
147
+ block : 'Bloc ' ,
148
148
blocks : 'blocs' ,
149
149
blockType : 'Tipus de bloc' ,
150
150
chooseBetweenCustomTextOrDocument :
@@ -327,7 +327,7 @@ export const caTranslations: DefaultTranslationsObject = {
327
327
groupByLabel : 'Agrupa per {{label}}' ,
328
328
import : 'Importar' ,
329
329
isEditing : 'esta editant' ,
330
- item : 'element ' ,
330
+ item : 'Element ' ,
331
331
items : 'articles' ,
332
332
language : 'Idioma' ,
333
333
lastModified : 'Última modificació' ,
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export const csTranslations: DefaultTranslationsObject = {
143
143
addNewLabel : 'Přidat nový {{label}}' ,
144
144
addRelationship : 'Přidat vztah' ,
145
145
addUpload : 'Přidat nahrávání' ,
146
- block : 'blok ' ,
146
+ block : 'Blok ' ,
147
147
blocks : 'bloky' ,
148
148
blockType : 'Typ bloku' ,
149
149
chooseBetweenCustomTextOrDocument :
@@ -324,7 +324,7 @@ export const csTranslations: DefaultTranslationsObject = {
324
324
groupByLabel : 'Seskupit podle {{label}}' ,
325
325
import : 'Import' ,
326
326
isEditing : 'upravuje' ,
327
- item : 'položka ' ,
327
+ item : 'Položka ' ,
328
328
items : 'položky' ,
329
329
language : 'Jazyk' ,
330
330
lastModified : 'Naposledy změněno' ,
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export const daTranslations: DefaultTranslationsObject = {
142
142
addNewLabel : 'Tilføj ny {{label}}' ,
143
143
addRelationship : 'Tilføj forhold' ,
144
144
addUpload : 'Tilføj upload' ,
145
- block : 'blok ' ,
145
+ block : 'Blok ' ,
146
146
blocks : 'blokke' ,
147
147
blockType : 'Blok type' ,
148
148
chooseBetweenCustomTextOrDocument :
@@ -324,7 +324,7 @@ export const daTranslations: DefaultTranslationsObject = {
324
324
groupByLabel : 'Gruppér efter {{label}}' ,
325
325
import : 'Import' ,
326
326
isEditing : 'redigerer' ,
327
- item : 'vare ' ,
327
+ item : 'Vare ' ,
328
328
items : 'elementer' ,
329
329
language : 'Sprog' ,
330
330
lastModified : 'Sidst ændret' ,
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export const enTranslations = {
145
145
addNewLabel : 'Add new {{label}}' ,
146
146
addRelationship : 'Add Relationship' ,
147
147
addUpload : 'Add Upload' ,
148
- block : 'block ' ,
148
+ block : 'Block ' ,
149
149
blocks : 'blocks' ,
150
150
blockType : 'Block Type' ,
151
151
chooseBetweenCustomTextOrDocument :
@@ -329,7 +329,7 @@ export const enTranslations = {
329
329
groupByLabel : 'Group by {{label}}' ,
330
330
import : 'Import' ,
331
331
isEditing : 'is editing' ,
332
- item : 'item ' ,
332
+ item : 'Item ' ,
333
333
items : 'items' ,
334
334
language : 'Language' ,
335
335
lastModified : 'Last Modified' ,
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export const esTranslations: DefaultTranslationsObject = {
147
147
addNewLabel : 'Añadir {{label}}' ,
148
148
addRelationship : 'Añadir Relación' ,
149
149
addUpload : 'Añadir documento' ,
150
- block : 'bloque ' ,
150
+ block : 'Bloque ' ,
151
151
blocks : 'bloques' ,
152
152
blockType : 'Tipo de bloque' ,
153
153
chooseBetweenCustomTextOrDocument :
@@ -331,7 +331,7 @@ export const esTranslations: DefaultTranslationsObject = {
331
331
groupByLabel : 'Agrupar por {{label}}' ,
332
332
import : 'Importar' ,
333
333
isEditing : 'está editando' ,
334
- item : 'artículo ' ,
334
+ item : 'Artículo ' ,
335
335
items : 'artículos' ,
336
336
language : 'Idioma' ,
337
337
lastModified : 'Última modificación' ,
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export const etTranslations: DefaultTranslationsObject = {
142
142
addNewLabel : 'Lisa uus {{label}}' ,
143
143
addRelationship : 'Lisa seos' ,
144
144
addUpload : 'Lisa üleslaadimine' ,
145
- block : 'plokk ' ,
145
+ block : 'Plokk ' ,
146
146
blocks : 'plokid' ,
147
147
blockType : 'Ploki tüüp' ,
148
148
chooseBetweenCustomTextOrDocument :
@@ -323,7 +323,7 @@ export const etTranslations: DefaultTranslationsObject = {
323
323
groupByLabel : 'Rühmita {{label}} järgi' ,
324
324
import : 'Importimine' ,
325
325
isEditing : 'muudab' ,
326
- item : 'üksus ' ,
326
+ item : 'Üksus ' ,
327
327
items : 'esemed' ,
328
328
language : 'Keel' ,
329
329
lastModified : 'Viimati muudetud' ,
You can’t perform that action at this time.
0 commit comments