diff --git a/public/locales/ar/translation.json b/public/locales/ar/translation.json
index d6ffed2f0a..89f8c7fa9d 100644
--- a/public/locales/ar/translation.json
+++ b/public/locales/ar/translation.json
@@ -84,7 +84,7 @@
"upload?": "تحميل البيانات الموجودة؟",
"uploadFormat": "يجب أن يكون الملف مجلد مضغوط يحتوي على <1>نموذج تبادل المعجم (LIFT)1>.",
"create": "إنشاء مشروع",
- "fileSelected": "تم تحديد الملف",
+ "fileSelected": "تم تحديد الملف: {{ val }}",
"language": "ستستخرج معلومات لغة المشروع تلقائيًا من البيانات التي تم تحميلها.",
"languageOptionOther": "آخر",
"languageSelect": "اختر من بين اللغات الموجودة في الملف:",
diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json
index 7e757db4b4..c5e1850b71 100644
--- a/public/locales/en/translation.json
+++ b/public/locales/en/translation.json
@@ -95,7 +95,7 @@
"upload?": "Upload existing data?",
"uploadFormat": "File must be a zipped folder containing a <1>Lexicon Interchange FormaT (LIFT)1> project.",
"create": "Create Project",
- "fileSelected": "File selected",
+ "fileSelected": "File selected: {{ val }}",
"language": "Project language information will be automatically extracted from uploaded data.",
"languageOptionOther": "other",
"languageSelect": "Select from languages in file:",
diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json
index cf596f89cc..dae2ef6480 100644
--- a/public/locales/es/translation.json
+++ b/public/locales/es/translation.json
@@ -92,7 +92,7 @@
"upload?": "¿Cargar los datos existentes?",
"uploadFormat": "El archivo debe ser una carpeta comprimida que contenga un proyecto <1>Lexicon Interchange FormaT (LIFT)1>.",
"create": "Crear Proyecto",
- "fileSelected": "Archivo seleccionado",
+ "fileSelected": "Archivo seleccionado: {{ val }}",
"language": "La información lingüística del proyecto se extraerá automáticamente de los datos cargados.",
"languageOptionOther": "otro",
"languageSelect": "Seleccionar de idiomas en el archivo:",
diff --git a/public/locales/fr/translation.json b/public/locales/fr/translation.json
index 7b197f8adb..f52a48df47 100644
--- a/public/locales/fr/translation.json
+++ b/public/locales/fr/translation.json
@@ -83,7 +83,7 @@
"nameTaken": "Nom pris",
"upload?": "Télécharger des données existantes ?",
"create": "Créer un projet",
- "fileSelected": "Fichier sélectionné",
+ "fileSelected": "Fichier sélectionné : {{ val }}",
"success": "Projet créé !"
},
"selectProject": { "title": "Sélectionner un projet" },
diff --git a/public/locales/pt/translation.json b/public/locales/pt/translation.json
index 054e5ad865..35437ca353 100644
--- a/public/locales/pt/translation.json
+++ b/public/locales/pt/translation.json
@@ -84,7 +84,7 @@
"upload?": "Carregar dados existentes?",
"uploadFormat": "O arquivo deve ser uma pasta zipada que contenha um <1>Lexicon Interchange FormaT (LIFT)1> projeto.",
"create": "Criar Projeto",
- "fileSelected": "Arquivo selecionado",
+ "fileSelected": "Arquivo selecionado: {{ val }}",
"success": "Projeto Criado!"
},
"selectProject": { "title": "Selecionar Projeto" },
diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json
index 024526153b..619f4a4033 100644
--- a/public/locales/zh/translation.json
+++ b/public/locales/zh/translation.json
@@ -87,7 +87,7 @@
"upload?": "上传现有数据?",
"uploadFormat": "文件必须是一个包含 <1>Lexicon Interchange FormaT (LIFT)1> 项目的压缩文件夹。",
"create": "创建项目",
- "fileSelected": "文件已选定",
+ "fileSelected": "文件已选定: {{ val }}",
"language": "项目语言资料将从上传的数据中提取。",
"languageOptionOther": "其它",
"languageSelect": "从文件中选择语言:",
diff --git a/src/components/Dialogs/UploadImage.tsx b/src/components/Dialogs/UploadImage.tsx
index 92c232f67f..d12cf914b9 100644
--- a/src/components/Dialogs/UploadImage.tsx
+++ b/src/components/Dialogs/UploadImage.tsx
@@ -50,7 +50,7 @@ export default function ImageUpload(props: ImageUploadProps): ReactElement {
{/* Displays the name of the selected file */}
{filename && (
- {t("createProject.fileSelected")}: {filename}
+ {t("createProject.fileSelected", { val: filename })}
)}
diff --git a/src/components/ProjectScreen/CreateProject.tsx b/src/components/ProjectScreen/CreateProject.tsx
index 38daa16d3f..3f2d2738d6 100644
--- a/src/components/ProjectScreen/CreateProject.tsx
+++ b/src/components/ProjectScreen/CreateProject.tsx
@@ -256,7 +256,7 @@ export default function CreateProject(): ReactElement {
{/* Uploaded file name and remove button */}
{languageData && (
- {`${t("createProject.fileSelected")}: ${languageData.name}`}
+ {t("createProject.fileSelected", { val: languageData.name })}
updateLanguageData()}>
diff --git a/src/components/ProjectSettings/ProjectImport.tsx b/src/components/ProjectSettings/ProjectImport.tsx
index 1ad927132c..58fceb0829 100644
--- a/src/components/ProjectSettings/ProjectImport.tsx
+++ b/src/components/ProjectSettings/ProjectImport.tsx
@@ -78,9 +78,7 @@ export default function ProjectImport(
{/* Displays the name of the selected file */}
{liftFile && (
- {t("createProject.fileSelected")}
- {": "}
- {liftFile.name}
+ {t("createProject.fileSelected", { val: liftFile.name })}
)}