Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: image dialog missing title #601

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions locales/es-es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions locales/pt-br/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions locales/uk-ua/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"cancel": "Скасувати"
},
"uploadImage": {
"dialogTitle": "Завантажити зображення",
"uploadInstructions": "Завантажте зображення з вашого пристрою:",
"addViaUrlInstructions": "Або додайте зображення з URL посилання:",
"autoCompletePlaceholder": "Виберіть або вставте джерело зображення",
Expand Down
1 change: 1 addition & 0 deletions locales/zh-cn/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"cancel": "取消"
},
"uploadImage": {
"dialogTitle": "上传图片",
"uploadInstructions": "从您的设备中上传图片:",
"addViaUrlInstructions": "或从网址新增图片:",
"autoCompletePlaceholder": "选择或粘贴图片",
Expand Down
1 change: 1 addition & 0 deletions locales/zh-tw/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"cancel": "取消"
},
"uploadImage": {
"dialogTitle": "上傳圖片",
"uploadInstructions": "從您的裝置上傳圖片:",
"addViaUrlInstructions": "或從網址新增圖片:",
"autoCompletePlaceholder": "選擇或貼上圖片網址",
Expand Down
1 change: 1 addition & 0 deletions src/plugins/image/ImageDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const ImageDialog: React.FC = () => {
e.preventDefault()
}}
>
<Dialog.Title>{t('uploadImage.dialogTitle', 'Upload an image')}</Dialog.Title>
<form
onSubmit={(e) => {
void handleSubmit(saveImage)(e)
Expand Down