Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

refactor(i18n): drop duplicate annotation.failedImageUpload key

EtienneLescot0f6c85f4ce68
diff --git a/src/components/video-editor/AnnotationSettingsPanel.tsx b/src/components/video-editor/AnnotationSettingsPanel.tsx
index 94ab96655..91fee8ec8 100644
--- a/src/components/video-editor/AnnotationSettingsPanel.tsx
+++ b/src/components/video-editor/AnnotationSettingsPanel.tsx
@@ -157,7 +157,7 @@ export function AnnotationSettingsPanel({
};
reader.onerror = () => {
- toast.error(t("annotation.failedImageUpload"), {
+ toast.error(t("imageUpload.failedToUpload"), {
description: t("imageUpload.errorReading"),
});
};
diff --git a/src/i18n/locales/ar/settings.json b/src/i18n/locales/ar/settings.json
index c91928890..2e34bae8b 100644
--- a/src/i18n/locales/ar/settings.json
+++ b/src/i18n/locales/ar/settings.json
@@ -167,8 +167,7 @@
"tipShiftTabCycle": "استخدم Shift+Tab للتنقل للخلف.",
"invalidImageType": "نوع ملف غير صالح",
"imageFormatsOnly": "يرجى رفع ملف صورة JPG أو PNG أو GIF أو WebP.",
- "imageUploadSuccess": "تم رفع الصورة بنجاح!",
- "failedImageUpload": "فشل في رفع الصورة"
+ "imageUploadSuccess": "تم رفع الصورة بنجاح!"
},
"fontStyles": {
"classic": "كلاسيكي",
diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.json
index 3594ac51e..93cef6d4c 100644
--- a/src/i18n/locales/en/settings.json
+++ b/src/i18n/locales/en/settings.json
@@ -166,8 +166,7 @@
"tipShiftTabCycle": "Use Shift+Tab to cycle backwards.",
"invalidImageType": "Invalid file type",
"imageFormatsOnly": "Please upload a JPG, PNG, GIF, or WebP image file.",
- "imageUploadSuccess": "Image uploaded successfully!",
- "failedImageUpload": "Failed to upload image"
+ "imageUploadSuccess": "Image uploaded successfully!"
},
"fontStyles": {
"classic": "Classic",
diff --git a/src/i18n/locales/es/settings.json b/src/i18n/locales/es/settings.json
index fa046e794..ac9267b41 100644
--- a/src/i18n/locales/es/settings.json
+++ b/src/i18n/locales/es/settings.json
@@ -165,8 +165,7 @@
"tipShiftTabCycle": "Usa Shift+Tab para recorrer hacia atrás.",
"invalidImageType": "Tipo de archivo no válido",
"imageFormatsOnly": "Por favor sube un archivo de imagen JPG, PNG, GIF o WebP.",
- "imageUploadSuccess": "¡Imagen subida exitosamente!",
- "failedImageUpload": "Error al subir la imagen"
+ "imageUploadSuccess": "¡Imagen subida exitosamente!"
},
"fontStyles": {
"classic": "Clásico",
diff --git a/src/i18n/locales/fr/settings.json b/src/i18n/locales/fr/settings.json
index 06d51e2da..0b67cd266 100644
--- a/src/i18n/locales/fr/settings.json
+++ b/src/i18n/locales/fr/settings.json
@@ -165,8 +165,7 @@
"tipShiftTabCycle": "Utilisez Shift+Tab pour cycler en sens inverse.",
"invalidImageType": "Type de fichier invalide",
"imageFormatsOnly": "Veuillez téléverser un fichier image JPG, PNG, GIF ou WebP.",
- "imageUploadSuccess": "Image téléversée avec succès !",
- "failedImageUpload": "Échec du téléversement de l'image"
+ "imageUploadSuccess": "Image téléversée avec succès !"
},
"fontStyles": {
"classic": "Classique",
diff --git a/src/i18n/locales/it/settings.json b/src/i18n/locales/it/settings.json
index 9345f95ee..9ee07a16a 100644
--- a/src/i18n/locales/it/settings.json
+++ b/src/i18n/locales/it/settings.json
@@ -164,8 +164,7 @@
"tipShiftTabCycle": "Usa Maiusc+Tab per scorrere all'indietro.",
"invalidImageType": "Tipo di file non valido",
"imageFormatsOnly": "Carica un file immagine JPG, PNG, GIF o WebP.",
- "imageUploadSuccess": "Immagine caricata con successo!",
- "failedImageUpload": "Impossibile caricare l'immagine"
+ "imageUploadSuccess": "Immagine caricata con successo!"
},
"fontStyles": {
"classic": "Classico",
diff --git a/src/i18n/locales/ja-JP/settings.json b/src/i18n/locales/ja-JP/settings.json
index 2950deb03..69af9b2e7 100644
--- a/src/i18n/locales/ja-JP/settings.json
+++ b/src/i18n/locales/ja-JP/settings.json
@@ -165,8 +165,7 @@
"tipShiftTabCycle": "Shift+Tabキーを使用して逆順に切り替えます。",
"invalidImageType": "無効なファイル形式",
"imageFormatsOnly": "JPG、PNG、GIF、またはWebP画像ファイルを選択してください。",
- "imageUploadSuccess": "画像を読み込みました。",
- "failedImageUpload": "画像の読み込みに失敗しました"
+ "imageUploadSuccess": "画像を読み込みました。"
},
"fontStyles": {
"classic": "クラシック",
diff --git a/src/i18n/locales/ko-KR/settings.json b/src/i18n/locales/ko-KR/settings.json
index d593014ed..808fd71a9 100644
--- a/src/i18n/locales/ko-KR/settings.json
+++ b/src/i18n/locales/ko-KR/settings.json
@@ -165,8 +165,7 @@
"tipShiftTabCycle": "Shift+Tab으로 역방향 순환할 수 있습니다.",
"invalidImageType": "지원하지 않는 파일 형식입니다",
"imageFormatsOnly": "JPG, PNG, GIF 또는 WebP 이미지 파일을 업로드해 주세요.",
- "imageUploadSuccess": "이미지가 성공적으로 업로드되었습니다!",
- "failedImageUpload": "이미지 업로드에 실패했습니다"
+ "imageUploadSuccess": "이미지가 성공적으로 업로드되었습니다!"
},
"fontStyles": {
"classic": "클래식",
diff --git a/src/i18n/locales/pt-BR/settings.json b/src/i18n/locales/pt-BR/settings.json
index 357db548a..eddd1c43b 100644
--- a/src/i18n/locales/pt-BR/settings.json
+++ b/src/i18n/locales/pt-BR/settings.json
@@ -161,8 +161,7 @@
"tipShiftTabCycle": "Use Shift+Tab para alternar para trás.",
"invalidImageType": "Tipo de imagem inválido",
"imageFormatsOnly": "Por favor, envie um arquivo de imagem JPG, PNG, GIF ou WebP.",
- "imageUploadSuccess": "Imagem enviada com sucesso!",
- "failedImageUpload": "Falha ao enviar imagem"
+ "imageUploadSuccess": "Imagem enviada com sucesso!"
},
"fontStyles": {
"classic": "Clássico",
diff --git a/src/i18n/locales/ru/settings.json b/src/i18n/locales/ru/settings.json
index 17205a099..3b83a98dd 100644
--- a/src/i18n/locales/ru/settings.json
+++ b/src/i18n/locales/ru/settings.json
@@ -165,8 +165,7 @@
"tipShiftTabCycle": "Используйте Shift+Tab для циклического переключения в обратном направлении.",
"invalidImageType": "Неверный тип файла",
"imageFormatsOnly": "Пожалуйста, загрузите изображение JPG, PNG, GIF или WebP.",
- "imageUploadSuccess": "Изображение успешно загружено!",
- "failedImageUpload": "Не удалось загрузить изображение"
+ "imageUploadSuccess": "Изображение успешно загружено!"
},
"fontStyles": {
"classic": "Классический",
diff --git a/src/i18n/locales/tr/settings.json b/src/i18n/locales/tr/settings.json
index 209cddd09..b19fd8075 100644
--- a/src/i18n/locales/tr/settings.json
+++ b/src/i18n/locales/tr/settings.json
@@ -161,7 +161,6 @@
"invalidImageType": "Geçersiz dosya türü",
"imageFormatsOnly": "Lütfen bir JPG, PNG, GIF veya WebP görüntü dosyası yükleyin.",
"imageUploadSuccess": "Görüntü başarıyla yüklendi!",
- "failedImageUpload": "Görüntü yüklenemedi",
"blurColor": "Bulanıklık Rengi",
"blurColorBlack": "Siyah",
"blurColorWhite": "Beyaz",
diff --git a/src/i18n/locales/vi/settings.json b/src/i18n/locales/vi/settings.json
index f86e4851c..fe1585e75 100644
--- a/src/i18n/locales/vi/settings.json
+++ b/src/i18n/locales/vi/settings.json
@@ -166,7 +166,6 @@
"invalidImageType": "Loại tệp không hợp lệ",
"imageFormatsOnly": "Vui lòng tải lên tệp hình ảnh JPG, PNG, GIF hoặc WebP.",
"imageUploadSuccess": "Tải lên hình ảnh thành công!",
- "failedImageUpload": "Tải lên hình ảnh thất bại",
"colorPalette": "Bảng màu",
"colorWheel": "Vòng màu"
},
diff --git a/src/i18n/locales/zh-CN/settings.json b/src/i18n/locales/zh-CN/settings.json
index dab854077..d1e7c0136 100644
--- a/src/i18n/locales/zh-CN/settings.json
+++ b/src/i18n/locales/zh-CN/settings.json
@@ -161,7 +161,6 @@
"invalidImageType": "无效的文件类型",
"imageFormatsOnly": "请上传 JPG、PNG、GIF 或 WebP 格式的图片文件。",
"imageUploadSuccess": "图片上传成功!",
- "failedImageUpload": "上传图片失败",
"blurColor": "模糊颜色",
"blurColorBlack": "黑色",
"blurColorWhite": "白色",
diff --git a/src/i18n/locales/zh-TW/settings.json b/src/i18n/locales/zh-TW/settings.json
index b5fbcda8c..5ec315819 100644
--- a/src/i18n/locales/zh-TW/settings.json
+++ b/src/i18n/locales/zh-TW/settings.json
@@ -162,7 +162,6 @@
"invalidImageType": "無效的檔案類型",
"imageFormatsOnly": "請上傳 JPG、PNG、GIF 或 WebP 格式的圖片檔案。",
"imageUploadSuccess": "圖片上傳成功!",
- "failedImageUpload": "上傳圖片失敗",
"blurColor": "模糊顏色",
"blurColorBlack": "黑色",
"blurColorWhite": "白色",