diff --git a/locales/en/translation.json b/locales/en/translation.json index 0f422f44..b39b3d67 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -10,6 +10,7 @@ "cancel": "Cancel" }, "uploadImage": { + "dialogTitle": "Upload an image", "uploadInstructions": "Upload an image from your device:", "addViaUrlInstructions": "Or add an image from an URL:", "autoCompletePlaceholder": "Select or paste an image src", diff --git a/locales/es-es/translation.json b/locales/es-es/translation.json index 9c0ebaf2..2b749200 100644 --- a/locales/es-es/translation.json +++ b/locales/es-es/translation.json @@ -10,6 +10,7 @@ "cancel": "Cancelar" }, "uploadImage": { + "dialogTitle": "Subir una imágen", "uploadInstructions": "Sube una imágen desde tu dispositivo:", "addViaUrlInstructions": "O añade una imágen desde una URL:", "autoCompletePlaceholder": "Selecciona o pega el src de la imágen", diff --git a/locales/pt-br/translation.json b/locales/pt-br/translation.json index afbbcf17..1212f055 100644 --- a/locales/pt-br/translation.json +++ b/locales/pt-br/translation.json @@ -10,6 +10,7 @@ "cancel": "Cancelar" }, "uploadImage": { + "dialogTitle": "Enviar uma imagem", "uploadInstructions": "Enviar uma imagem do seu dispotivo:", "addViaUrlInstructions": "Ou adicionar uma imagem a partir de um URL:", "autoCompletePlaceholder": "Insira um link de imagem", diff --git a/locales/uk-ua/translation.json b/locales/uk-ua/translation.json index 6ff48b2d..0b7c4c80 100644 --- a/locales/uk-ua/translation.json +++ b/locales/uk-ua/translation.json @@ -10,6 +10,7 @@ "cancel": "Скасувати" }, "uploadImage": { + "dialogTitle": "Завантажити зображення", "uploadInstructions": "Завантажте зображення з вашого пристрою:", "addViaUrlInstructions": "Або додайте зображення з URL посилання:", "autoCompletePlaceholder": "Виберіть або вставте джерело зображення", diff --git a/locales/zh-cn/translation.json b/locales/zh-cn/translation.json index a5f0e914..6324b206 100644 --- a/locales/zh-cn/translation.json +++ b/locales/zh-cn/translation.json @@ -10,6 +10,7 @@ "cancel": "取消" }, "uploadImage": { + "dialogTitle": "上传图片", "uploadInstructions": "从您的设备中上传图片:", "addViaUrlInstructions": "或从网址新增图片:", "autoCompletePlaceholder": "选择或粘贴图片", diff --git a/locales/zh-tw/translation.json b/locales/zh-tw/translation.json index c79ba8d5..a502ce6f 100644 --- a/locales/zh-tw/translation.json +++ b/locales/zh-tw/translation.json @@ -10,6 +10,7 @@ "cancel": "取消" }, "uploadImage": { + "dialogTitle": "上傳圖片", "uploadInstructions": "從您的裝置上傳圖片:", "addViaUrlInstructions": "或從網址新增圖片:", "autoCompletePlaceholder": "選擇或貼上圖片網址", diff --git a/src/plugins/image/ImageDialog.tsx b/src/plugins/image/ImageDialog.tsx index b2f0779e..baa9be6c 100644 --- a/src/plugins/image/ImageDialog.tsx +++ b/src/plugins/image/ImageDialog.tsx @@ -49,6 +49,7 @@ export const ImageDialog: React.FC = () => { e.preventDefault() }} > + {t('uploadImage.dialogTitle', 'Upload an image')}
{ void handleSubmit(saveImage)(e)