From 6058db47c4e073aaaf19fd82a32fdb5f31fc55ef Mon Sep 17 00:00:00 2001 From: Jonathan Fishner Date: Thu, 1 Jan 2026 18:51:35 +0200 Subject: [PATCH] fix: update image export scale options and set as 4x default (#1040) * fix: update image export scale options and set as 4x default * fix(i18n): update image export scale labels with quality descriptions --- src/dialogs/export-image-dialog/export-image-dialog.tsx | 4 ++-- src/i18n/locales/ar.ts | 7 +++---- src/i18n/locales/bn.ts | 7 +++---- src/i18n/locales/de.ts | 7 +++---- src/i18n/locales/en.ts | 7 +++---- src/i18n/locales/es.ts | 7 +++---- src/i18n/locales/fr.ts | 7 +++---- src/i18n/locales/gu.ts | 7 +++---- src/i18n/locales/hi.ts | 7 +++---- src/i18n/locales/hr.ts | 7 +++---- src/i18n/locales/id_ID.ts | 7 +++---- src/i18n/locales/ja.ts | 7 +++---- src/i18n/locales/ko_KR.ts | 7 +++---- src/i18n/locales/mr.ts | 7 +++---- src/i18n/locales/ne.ts | 7 +++---- src/i18n/locales/pt_BR.ts | 7 +++---- src/i18n/locales/ru.ts | 7 +++---- src/i18n/locales/te.ts | 7 +++---- src/i18n/locales/tr.ts | 7 +++---- src/i18n/locales/uk.ts | 7 +++---- src/i18n/locales/vi.ts | 7 +++---- src/i18n/locales/zh_CN.ts | 7 +++---- src/i18n/locales/zh_TW.ts | 7 +++---- 23 files changed, 68 insertions(+), 90 deletions(-) diff --git a/src/dialogs/export-image-dialog/export-image-dialog.tsx b/src/dialogs/export-image-dialog/export-image-dialog.tsx index bb26636f..f9c1c29d 100644 --- a/src/dialogs/export-image-dialog/export-image-dialog.tsx +++ b/src/dialogs/export-image-dialog/export-image-dialog.tsx @@ -30,7 +30,7 @@ export interface ExportImageDialogProps extends BaseDialogProps { const DEFAULT_INCLUDE_PATTERN_BG = true; const DEFAULT_TRANSPARENT = false; -const DEFAULT_SCALE = '2'; +const DEFAULT_SCALE = '4'; export const ExportImageDialog: React.FC = ({ dialog, format, @@ -62,7 +62,7 @@ export const ExportImageDialog: React.FC = ({ const scaleOptions: SelectBoxOption[] = useMemo( () => - ['1', '2', '3', '4'].map((scale) => ({ + ['1', '2', '4'].map((scale) => ({ value: scale, label: t(`export_image_dialog.scale_${scale}x`), })), diff --git a/src/i18n/locales/ar.ts b/src/i18n/locales/ar.ts index 795bfe50..3ce9713f 100644 --- a/src/i18n/locales/ar.ts +++ b/src/i18n/locales/ar.ts @@ -417,10 +417,9 @@ export const ar: LanguageTranslation = { export_image_dialog: { title: 'تصدير الصورة', description: ':اختر عامل المقياس للتصدير', - scale_1x: '1x عادي', - scale_2x: '2x (موصى به)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (جودة منخفضة)', + scale_2x: '2x (جودة عادية)', + scale_4x: '4x (أفضل جودة)', cancel: 'إلغاء', export: 'تصدير', // TODO: Translate diff --git a/src/i18n/locales/bn.ts b/src/i18n/locales/bn.ts index 62399972..46d78963 100644 --- a/src/i18n/locales/bn.ts +++ b/src/i18n/locales/bn.ts @@ -421,10 +421,9 @@ export const bn: LanguageTranslation = { export_image_dialog: { title: 'চিত্র রপ্তানি করুন', description: 'রপ্তানির জন্য স্কেল ফ্যাক্টর নির্বাচন করুন:', - scale_1x: '1x স্বাভাবিক', - scale_2x: '2x (প্রস্তাবিত)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (নিম্ন মান)', + scale_2x: '2x (সাধারণ মান)', + scale_4x: '4x (সেরা মান)', cancel: 'বাতিল করুন', export: 'রপ্তানি করুন', // TODO: Translate diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts index 423abef0..dee9271a 100644 --- a/src/i18n/locales/de.ts +++ b/src/i18n/locales/de.ts @@ -424,10 +424,9 @@ export const de: LanguageTranslation = { export_image_dialog: { title: 'Bild exportieren', description: 'Wählen Sie den Skalierungsfaktor für den Export:', - scale_1x: '1x Normal', - scale_2x: '2x (Empfohlen)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Niedrige Qualität)', + scale_2x: '2x (Normale Qualität)', + scale_4x: '4x (Beste Qualität)', cancel: 'Abbrechen', export: 'Exportieren', // TODO: Translate diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index bbbb4e7b..66053bf0 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -411,10 +411,9 @@ export const en = { export_image_dialog: { title: 'Export Image', description: 'Choose the scale factor for export:', - scale_1x: '1x Regular', - scale_2x: '2x (Recommended)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Low Quality)', + scale_2x: '2x (Normal Quality)', + scale_4x: '4x (Best Quality)', cancel: 'Cancel', export: 'Export', advanced_options: 'Advanced Options', diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts index b0ab25ad..8ffcf51c 100644 --- a/src/i18n/locales/es.ts +++ b/src/i18n/locales/es.ts @@ -422,10 +422,9 @@ export const es: LanguageTranslation = { export_image_dialog: { title: 'Exportar imagen', description: 'Escoge el factor de escalamiento para exportar:', - scale_1x: '1x regular', - scale_2x: '2x (recomendado)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Baja calidad)', + scale_2x: '2x (Calidad normal)', + scale_4x: '4x (Mejor calidad)', cancel: 'Cancelar', export: 'Exportar', // TODO: Translate diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts index 02f064db..a6f1dca6 100644 --- a/src/i18n/locales/fr.ts +++ b/src/i18n/locales/fr.ts @@ -385,10 +385,9 @@ export const fr: LanguageTranslation = { title: "Exporter l'image", description: "Choisissez le facteur d'échelle pour l'image exportée.", - scale_1x: '1x Normal', - scale_2x: '2x (Recommandé)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Basse qualité)', + scale_2x: '2x (Qualité normale)', + scale_4x: '4x (Meilleure qualité)', cancel: 'Annuler', export: 'Exporter', // TODO: Translate diff --git a/src/i18n/locales/gu.ts b/src/i18n/locales/gu.ts index 70898d56..b19b5742 100644 --- a/src/i18n/locales/gu.ts +++ b/src/i18n/locales/gu.ts @@ -421,10 +421,9 @@ export const gu: LanguageTranslation = { export_image_dialog: { title: 'છબી નિકાસ કરો', description: 'નિકાસ માટે સ્કેલ ફેક્ટર પસંદ કરો:', - scale_1x: '1x સામાન્ય', - scale_2x: '2x (ભલામણ કરેલું)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (નીચી ગુણવત્તા)', + scale_2x: '2x (સામાન્ય ગુણવત્તા)', + scale_4x: '4x (શ્રેષ્ઠ ગુણવત્તા)', cancel: 'રદ કરો', export: 'નિકાસ કરો', // TODO: Translate diff --git a/src/i18n/locales/hi.ts b/src/i18n/locales/hi.ts index ce2ec980..c9a70f53 100644 --- a/src/i18n/locales/hi.ts +++ b/src/i18n/locales/hi.ts @@ -423,10 +423,9 @@ export const hi: LanguageTranslation = { export_image_dialog: { title: 'छवि निर्यात करें', description: 'निर्यात के लिए स्केल फ़ैक्टर चुनें:', - scale_1x: '1x सामान्य', - scale_2x: '2x (अनुशंसित)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (निम्न गुणवत्ता)', + scale_2x: '2x (सामान्य गुणवत्ता)', + scale_4x: '4x (सर्वोत्तम गुणवत्ता)', cancel: 'रद्द करें', export: 'निर्यात करें', // TODO: Translate diff --git a/src/i18n/locales/hr.ts b/src/i18n/locales/hr.ts index 47191b94..1658d9e9 100644 --- a/src/i18n/locales/hr.ts +++ b/src/i18n/locales/hr.ts @@ -415,10 +415,9 @@ export const hr: LanguageTranslation = { export_image_dialog: { title: 'Izvezi sliku', description: 'Odaberite faktor veličine za izvoz:', - scale_1x: '1x Obično', - scale_2x: '2x (Preporučeno)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Niska kvaliteta)', + scale_2x: '2x (Normalna kvaliteta)', + scale_4x: '4x (Najbolja kvaliteta)', cancel: 'Odustani', export: 'Izvezi', advanced_options: 'Napredne opcije', diff --git a/src/i18n/locales/id_ID.ts b/src/i18n/locales/id_ID.ts index fb9c3f80..fa9a9fdc 100644 --- a/src/i18n/locales/id_ID.ts +++ b/src/i18n/locales/id_ID.ts @@ -419,10 +419,9 @@ export const id_ID: LanguageTranslation = { export_image_dialog: { title: 'Ekspor Gambar', description: 'Pilih faktor skala untuk ekspor:', - scale_1x: '1x Biasa', - scale_2x: '2x (Disarankan)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Kualitas Rendah)', + scale_2x: '2x (Kualitas Normal)', + scale_4x: '4x (Kualitas Terbaik)', cancel: 'Batal', export: 'Ekspor', // TODO: Translate diff --git a/src/i18n/locales/ja.ts b/src/i18n/locales/ja.ts index 5eeebcfe..e0cb2e91 100644 --- a/src/i18n/locales/ja.ts +++ b/src/i18n/locales/ja.ts @@ -425,10 +425,9 @@ export const ja: LanguageTranslation = { export_image_dialog: { title: '画像をエクスポート', description: 'エクスポートの倍率を選択してください:', - scale_1x: '1x 標準', - scale_2x: '2x (推奨)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (低画質)', + scale_2x: '2x (通常画質)', + scale_4x: '4x (最高画質)', cancel: 'キャンセル', export: 'エクスポート', // TODO: Translate diff --git a/src/i18n/locales/ko_KR.ts b/src/i18n/locales/ko_KR.ts index e740fd8f..8f57f317 100644 --- a/src/i18n/locales/ko_KR.ts +++ b/src/i18n/locales/ko_KR.ts @@ -419,10 +419,9 @@ export const ko_KR: LanguageTranslation = { export_image_dialog: { title: '이미지로 내보내기', description: '내보낼 배율을 선택해주세요:', - scale_1x: '1x 기본', - scale_2x: '2x (권장)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (저화질)', + scale_2x: '2x (일반 화질)', + scale_4x: '4x (최고 화질)', cancel: '취소', export: '내보내기', // TODO: Translate diff --git a/src/i18n/locales/mr.ts b/src/i18n/locales/mr.ts index 4d1233e6..73a95e9d 100644 --- a/src/i18n/locales/mr.ts +++ b/src/i18n/locales/mr.ts @@ -426,10 +426,9 @@ export const mr: LanguageTranslation = { export_image_dialog: { title: 'इमेज निर्यात करा', description: 'एक्स्पोर्ट करण्यासाठी स्केल फॅक्टर निवडा:', - scale_1x: '1x नियमित', - scale_2x: '2x (शिफारस केलेले)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (कमी गुणवत्ता)', + scale_2x: '2x (सामान्य गुणवत्ता)', + scale_4x: '4x (सर्वोत्तम गुणवत्ता)', cancel: 'रद्द करा', export: 'निर्यात करा', // TODO: Translate diff --git a/src/i18n/locales/ne.ts b/src/i18n/locales/ne.ts index daa0cd2a..36d02450 100644 --- a/src/i18n/locales/ne.ts +++ b/src/i18n/locales/ne.ts @@ -423,10 +423,9 @@ export const ne: LanguageTranslation = { export_image_dialog: { title: 'इमेज निर्यात गर्नुहोस्', description: 'निर्यात गर्नका लागि गणना कारक छान्नुहोस्:', - scale_1x: '१x सामान्य', - scale_2x: '२x (सिफारिस गरिएको)', - scale_3x: '३x', - scale_4x: '४x', + scale_1x: '१x (कम गुणस्तर)', + scale_2x: '२x (सामान्य गुणस्तर)', + scale_4x: '४x (उत्तम गुणस्तर)', cancel: 'रद्द गर्नुहोस्', export: 'निर्यात गर्नुहोस्', // TODO: Translate diff --git a/src/i18n/locales/pt_BR.ts b/src/i18n/locales/pt_BR.ts index 75fe74d6..d27780c8 100644 --- a/src/i18n/locales/pt_BR.ts +++ b/src/i18n/locales/pt_BR.ts @@ -422,10 +422,9 @@ export const pt_BR: LanguageTranslation = { export_image_dialog: { title: 'Exportar Imagem', description: 'Escolha o fator de escala para exportação:', - scale_1x: '1x Normal', - scale_2x: '2x (Recomendado)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Baixa Qualidade)', + scale_2x: '2x (Qualidade Normal)', + scale_4x: '4x (Melhor Qualidade)', cancel: 'Cancelar', export: 'Exportar', // TODO: Translate diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.ts index ff62847d..bc0774a1 100644 --- a/src/i18n/locales/ru.ts +++ b/src/i18n/locales/ru.ts @@ -419,10 +419,9 @@ export const ru: LanguageTranslation = { export_image_dialog: { title: 'Экспортировать изображение', description: 'Выберите детализацию изображения при экспорте:', - scale_1x: '1x Обычный', - scale_2x: '2x (Рекомендовано)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Низкое качество)', + scale_2x: '2x (Обычное качество)', + scale_4x: '4x (Лучшее качество)', cancel: 'Отменить', export: 'Экспортировать', // TODO: Translate diff --git a/src/i18n/locales/te.ts b/src/i18n/locales/te.ts index f41390c8..e210452a 100644 --- a/src/i18n/locales/te.ts +++ b/src/i18n/locales/te.ts @@ -423,10 +423,9 @@ export const te: LanguageTranslation = { export_image_dialog: { title: 'చిత్రం ఎగుమతి', description: 'ఎగుమతి కోసం స్కేల్ ఫ్యాక్టర్ ఎంచుకోండి:', - scale_1x: '1x సాధారణ', - scale_2x: '2x (సిఫార్సు చేయబడినది)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (తక్కువ నాణ్యత)', + scale_2x: '2x (సాధారణ నాణ్యత)', + scale_4x: '4x (అత్యుత్తమ నాణ్యత)', cancel: 'రద్దు', export: 'ఎగుమతి', // TODO: Translate diff --git a/src/i18n/locales/tr.ts b/src/i18n/locales/tr.ts index 31e6265a..365da507 100644 --- a/src/i18n/locales/tr.ts +++ b/src/i18n/locales/tr.ts @@ -415,10 +415,9 @@ export const tr: LanguageTranslation = { export_image_dialog: { title: 'Resmi Dışa Aktar', description: 'Dışa aktarım için ölçek faktörünü seçin:', - scale_1x: '1x Normal', - scale_2x: '2x (Önerilen)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Düşük Kalite)', + scale_2x: '2x (Normal Kalite)', + scale_4x: '4x (En İyi Kalite)', cancel: 'İptal', export: 'Dışa Aktar', // TODO: Translate diff --git a/src/i18n/locales/uk.ts b/src/i18n/locales/uk.ts index 0818ff0c..71e0088a 100644 --- a/src/i18n/locales/uk.ts +++ b/src/i18n/locales/uk.ts @@ -420,10 +420,9 @@ export const uk: LanguageTranslation = { export_image_dialog: { title: 'Експорт зображення', description: 'Виберіть коефіцієнт масштабування для експорту:', - scale_1x: '1x Звичайний', - scale_2x: '2x (Рекомендовано)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Низька якість)', + scale_2x: '2x (Звичайна якість)', + scale_4x: '4x (Найкраща якість)', cancel: 'Скасувати', export: 'Експортувати', // TODO: Translate diff --git a/src/i18n/locales/vi.ts b/src/i18n/locales/vi.ts index 1519acff..365085cd 100644 --- a/src/i18n/locales/vi.ts +++ b/src/i18n/locales/vi.ts @@ -419,10 +419,9 @@ export const vi: LanguageTranslation = { export_image_dialog: { title: 'Xuất ảnh', description: 'Chọn tỉ lệ để xuất:', - scale_1x: '1x Thông thường', - scale_2x: '2x (Khuyến khích)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (Chất lượng thấp)', + scale_2x: '2x (Chất lượng bình thường)', + scale_4x: '4x (Chất lượng tốt nhất)', cancel: 'Hủy', export: 'Xuất', // TODO: Translate diff --git a/src/i18n/locales/zh_CN.ts b/src/i18n/locales/zh_CN.ts index 350b0194..c5d6f3d7 100644 --- a/src/i18n/locales/zh_CN.ts +++ b/src/i18n/locales/zh_CN.ts @@ -415,10 +415,9 @@ export const zh_CN: LanguageTranslation = { export_image_dialog: { title: '导出图片', description: '选择导出的缩放比例:', - scale_1x: '1x 常规', - scale_2x: '2x (推荐)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (低质量)', + scale_2x: '2x (普通质量)', + scale_4x: '4x (最佳质量)', cancel: '取消', export: '导出', // TODO: Translate diff --git a/src/i18n/locales/zh_TW.ts b/src/i18n/locales/zh_TW.ts index 52724265..7913643b 100644 --- a/src/i18n/locales/zh_TW.ts +++ b/src/i18n/locales/zh_TW.ts @@ -414,10 +414,9 @@ export const zh_TW: LanguageTranslation = { export_image_dialog: { title: '匯出圖片', description: '請選擇匯出的倍率:', - scale_1x: '1x 標準', - scale_2x: '2x (推薦)', - scale_3x: '3x', - scale_4x: '4x', + scale_1x: '1x (低品質)', + scale_2x: '2x (普通品質)', + scale_4x: '4x (最佳品質)', cancel: '取消', export: '匯出', // TODO: Translate