Skip to content

Commit 43b2147

Browse files
committed
fix(FR-2833): localize BooleanTag labels and consolidate name+id label key
1 parent 787ff44 commit 43b2147

22 files changed

Lines changed: 28 additions & 2 deletions

react/src/components/DeploymentConfigurationSection.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const DeploymentOverviewContent: React.FC<{
6868
const deploymentItems = filterOutEmpty([
6969
{
7070
key: 'name',
71-
label: `${t('deployment.Name')} (${t('general.ID')})`,
71+
label: t('deployment.NameAndID'),
7272
children: deployment?.metadata.name ? (
7373
<>
7474
<BAIText copyable>{deployment.metadata.name}</BAIText>
@@ -104,7 +104,12 @@ const DeploymentOverviewContent: React.FC<{
104104
key: 'open-to-public',
105105
label: t('deployment.OpenToPublic'),
106106
children: (
107-
<BooleanTag value={deployment?.networkAccess.openToPublic ?? false} />
107+
<BooleanTag
108+
value={deployment?.networkAccess.openToPublic}
109+
trueLabel={t('button.Yes')}
110+
falseLabel={t('button.No')}
111+
fallback={renderFallback()}
112+
/>
108113
),
109114
},
110115
{

resources/i18n/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Einhängeziel für Modellordner",
952952
"ModelVersion": "Modellname",
953953
"Name": "Name",
954+
"NameAndID": "Name (ID)",
954955
"NamePlaceholder": "Bereitstellungsname eingeben",
955956
"NameRequired": "Bereitstellungsname ist erforderlich.",
956957
"NewDeployment": "Neue Bereitstellung",

resources/i18n/el.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Προορισμός τοποθέτησης για φάκελο μοντέλου",
952952
"ModelVersion": "Όνομα μοντέλου",
953953
"Name": "Όνομα",
954+
"NameAndID": "Όνομα (ID)",
954955
"NamePlaceholder": "Εισάγετε όνομα ανάπτυξης",
955956
"NameRequired": "Το όνομα ανάπτυξης είναι απαραίτητο.",
956957
"NewDeployment": "Νέα ανάπτυξη",

resources/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,7 @@
953953
"ModelMountDestination": "Mount Destination For Model Folder",
954954
"ModelVersion": "Model Name",
955955
"Name": "Name",
956+
"NameAndID": "Name (ID)",
956957
"NamePlaceholder": "Enter a deployment name",
957958
"NameRequired": "Deployment name is required.",
958959
"NewDeployment": "New Deployment",

resources/i18n/es.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Destino de montaje para la carpeta del modelo",
952952
"ModelVersion": "Nombre del modelo",
953953
"Name": "Nombre",
954+
"NameAndID": "Nombre (ID)",
954955
"NamePlaceholder": "Ingrese un nombre de despliegue",
955956
"NameRequired": "El nombre del despliegue es obligatorio.",
956957
"NewDeployment": "Nuevo despliegue",

resources/i18n/fi.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Mallikansion liitäntäkohde",
952952
"ModelVersion": "Mallin nimi",
953953
"Name": "Nimi",
954+
"NameAndID": "Nimi (ID)",
954955
"NamePlaceholder": "Anna käyttöönoton nimi",
955956
"NameRequired": "Käyttöönoton nimi vaaditaan.",
956957
"NewDeployment": "Uusi käyttöönotto",

resources/i18n/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Destination de montage pour le dossier du modèle",
952952
"ModelVersion": "Nom du modèle",
953953
"Name": "Nom",
954+
"NameAndID": "Nom (ID)",
954955
"NamePlaceholder": "Saisir un nom de déploiement",
955956
"NameRequired": "Le nom du déploiement est obligatoire.",
956957
"NewDeployment": "Nouveau déploiement",

resources/i18n/id.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Tujuan Mount untuk Folder Model",
952952
"ModelVersion": "Nama Model",
953953
"Name": "Nama",
954+
"NameAndID": "Nama (ID)",
954955
"NamePlaceholder": "Masukkan nama penerapan",
955956
"NameRequired": "Nama penerapan wajib diisi.",
956957
"NewDeployment": "Penerapan Baru",

resources/i18n/it.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "Destinazione mount per cartella modello",
952952
"ModelVersion": "Nome modello",
953953
"Name": "Nome",
954+
"NameAndID": "Nome (ID)",
954955
"NamePlaceholder": "Inserisci un nome distribuzione",
955956
"NameRequired": "Il nome della distribuzione è obbligatorio.",
956957
"NewDeployment": "Nuova distribuzione",

resources/i18n/ja.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@
951951
"ModelMountDestination": "モデルフォルダーのマウント先",
952952
"ModelVersion": "モデル名",
953953
"Name": "名前",
954+
"NameAndID": "名前 (ID)",
954955
"NamePlaceholder": "デプロイ名を入力",
955956
"NameRequired": "デプロイ名は必須です。",
956957
"NewDeployment": "新規デプロイ",

0 commit comments

Comments
 (0)