mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: resolve 7 bugs from QA sweep (#208)
- Fix selective metadata stripping (P1): use Sharp's keepExif()/keepIccProfile()
instead of broken withMetadata({}) that preserved everything
- Fix meme font mapping (P1): add ArchivoBlack and ComicNeue fonts, map
arial-black and comic-sans to correct TTF files instead of Anton
- Fix meme contentType (P2): detect actual output format from Sharp metadata
instead of hardcoding image/png
- Fix info/text-overlay/color-palette i18n (P2): wire up existing translation
keys that were imported but never used
- Fix info and color-palette displayMode (P2): change from before-after to
no-comparison since neither tool produces a processed image
- Add missing i18n keys across all 21 locales
- Update displayMode test assertions
This commit is contained in:
@@ -919,6 +919,8 @@ export const ar: TranslationKeys = {
|
||||
submit: "إضافة نص",
|
||||
submitBatch: "إضافة نص ({count} ملف)",
|
||||
progressLabel: "جاري إضافة النص",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "رفع صورة التراكب",
|
||||
@@ -960,6 +962,13 @@ export const ar: TranslationKeys = {
|
||||
hasExif: "بيانات EXIF",
|
||||
hasIcc: "بيانات ICC",
|
||||
hasXmp: "بيانات XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "رفع الصورة الثانية",
|
||||
|
||||
@@ -931,6 +931,8 @@ export const de: TranslationKeys = {
|
||||
submit: "Text hinzufuegen",
|
||||
submitBatch: "Text hinzufuegen ({count} Dateien)",
|
||||
progressLabel: "Textueberlagerung wird hinzugefuegt",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Overlay-Bild hochladen",
|
||||
@@ -973,6 +975,13 @@ export const de: TranslationKeys = {
|
||||
hasExif: "Hat EXIF",
|
||||
hasIcc: "Hat ICC",
|
||||
hasXmp: "Hat XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Zweites Bild hochladen",
|
||||
|
||||
@@ -877,6 +877,8 @@ export const en = {
|
||||
submit: "Add Text",
|
||||
submitBatch: "Add Text ({count} files)",
|
||||
progressLabel: "Adding text overlay",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Upload Overlay Image",
|
||||
@@ -903,6 +905,8 @@ export const en = {
|
||||
},
|
||||
info: {
|
||||
loadingInfo: "Loading info...",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
filename: "Filename",
|
||||
fileSize: "File Size",
|
||||
dimensions: "Dimensions",
|
||||
@@ -913,11 +917,16 @@ export const en = {
|
||||
bitDepth: "Bit Depth",
|
||||
progressive: "Progressive",
|
||||
pages: "Pages",
|
||||
hasAlpha: "Has Alpha",
|
||||
hasAlpha: "Alpha",
|
||||
hasProfile: "Has Profile",
|
||||
hasExif: "Has EXIF",
|
||||
hasIcc: "Has ICC",
|
||||
hasXmp: "Has XMP",
|
||||
hasExif: "EXIF Data",
|
||||
hasIcc: "ICC Profile",
|
||||
hasXmp: "XMP Data",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Upload Second Image",
|
||||
|
||||
@@ -913,6 +913,8 @@ export const es: TranslationKeys = {
|
||||
submit: "Agregar texto",
|
||||
submitBatch: "Agregar texto ({count} archivos)",
|
||||
progressLabel: "Agregando texto superpuesto",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Subir imagen de superposicion",
|
||||
@@ -955,6 +957,13 @@ export const es: TranslationKeys = {
|
||||
hasExif: "Tiene EXIF",
|
||||
hasIcc: "Tiene ICC",
|
||||
hasXmp: "Tiene XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Subir segunda imagen",
|
||||
|
||||
@@ -932,6 +932,8 @@ export const fr: TranslationKeys = {
|
||||
submit: "Ajouter le texte",
|
||||
submitBatch: "Ajouter le texte ({count} fichiers)",
|
||||
progressLabel: "Ajout du texte en superposition",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Importer l'image de superposition",
|
||||
@@ -974,6 +976,13 @@ export const fr: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Importer une seconde image",
|
||||
|
||||
@@ -915,6 +915,8 @@ export const hi: TranslationKeys = {
|
||||
submit: "टेक्स्ट जोड़ें",
|
||||
submitBatch: "टेक्स्ट जोड़ें ({count} फाइलें)",
|
||||
progressLabel: "टेक्स्ट ओवरले जोड़ा जा रहा है",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "ओवरले इमेज अपलोड करें",
|
||||
@@ -956,6 +958,13 @@ export const hi: TranslationKeys = {
|
||||
hasExif: "EXIF डेटा",
|
||||
hasIcc: "ICC डेटा",
|
||||
hasXmp: "XMP डेटा",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "दूसरी इमेज अपलोड करें",
|
||||
|
||||
@@ -927,6 +927,8 @@ export const id: TranslationKeys = {
|
||||
submit: "Tambah Teks",
|
||||
submitBatch: "Tambah Teks ({count} file)",
|
||||
progressLabel: "Menambahkan overlay teks",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Unggah Gambar Overlay",
|
||||
@@ -968,6 +970,13 @@ export const id: TranslationKeys = {
|
||||
hasExif: "Memiliki EXIF",
|
||||
hasIcc: "Memiliki ICC",
|
||||
hasXmp: "Memiliki XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Unggah Gambar Kedua",
|
||||
|
||||
@@ -926,6 +926,8 @@ export const it: TranslationKeys = {
|
||||
submit: "Aggiungi testo",
|
||||
submitBatch: "Aggiungi testo ({count} file)",
|
||||
progressLabel: "Aggiunta testo in sovrapposizione",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Carica immagine di sovrapposizione",
|
||||
@@ -967,6 +969,13 @@ export const it: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Carica seconda immagine",
|
||||
|
||||
@@ -884,6 +884,8 @@ export const ja: TranslationKeys = {
|
||||
submit: "テキスト追加",
|
||||
submitBatch: "テキスト追加({count}ファイル)",
|
||||
progressLabel: "テキストオーバーレイを追加中",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "オーバーレイ画像をアップロード",
|
||||
@@ -926,6 +928,13 @@ export const ja: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "2枚目の画像をアップロード",
|
||||
|
||||
@@ -870,6 +870,8 @@ export const ko: TranslationKeys = {
|
||||
submit: "텍스트 추가",
|
||||
submitBatch: "텍스트 추가 ({count}개 파일)",
|
||||
progressLabel: "텍스트 오버레이 추가 중",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "오버레이 이미지 업로드",
|
||||
@@ -911,6 +913,13 @@ export const ko: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "두 번째 이미지 업로드",
|
||||
|
||||
@@ -929,6 +929,8 @@ export const nl: TranslationKeys = {
|
||||
submit: "Tekst toevoegen",
|
||||
submitBatch: "Tekst toevoegen ({count} bestanden)",
|
||||
progressLabel: "Tekstoverlay toevoegen",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Overlay-afbeelding uploaden",
|
||||
@@ -970,6 +972,13 @@ export const nl: TranslationKeys = {
|
||||
hasExif: "Heeft EXIF",
|
||||
hasIcc: "Heeft ICC",
|
||||
hasXmp: "Heeft XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Tweede afbeelding uploaden",
|
||||
|
||||
@@ -930,6 +930,8 @@ export const pl: TranslationKeys = {
|
||||
submit: "Dodaj tekst",
|
||||
submitBatch: "Dodaj tekst ({count} plików)",
|
||||
progressLabel: "Dodawanie nakładki tekstowej",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Prześlij obraz nakładki",
|
||||
@@ -971,6 +973,13 @@ export const pl: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Prześlij drugi obraz",
|
||||
|
||||
@@ -926,6 +926,8 @@ export const ptBR: TranslationKeys = {
|
||||
submit: "Adicionar texto",
|
||||
submitBatch: "Adicionar texto ({count} arquivos)",
|
||||
progressLabel: "Adicionando texto sobreposto",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Enviar imagem de sobreposicao",
|
||||
@@ -967,6 +969,13 @@ export const ptBR: TranslationKeys = {
|
||||
hasExif: "Tem EXIF",
|
||||
hasIcc: "Tem ICC",
|
||||
hasXmp: "Tem XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Enviar segunda imagem",
|
||||
|
||||
@@ -928,6 +928,8 @@ export const ru: TranslationKeys = {
|
||||
submit: "Добавить текст",
|
||||
submitBatch: "Добавить текст ({count} файлов)",
|
||||
progressLabel: "Добавление текста",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Загрузить накладываемое изображение",
|
||||
@@ -969,6 +971,13 @@ export const ru: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Загрузить второе изображение",
|
||||
|
||||
@@ -925,6 +925,8 @@ export const sv: TranslationKeys = {
|
||||
submit: "Lagg till text",
|
||||
submitBatch: "Lagg till text ({count} filer)",
|
||||
progressLabel: "Lagger till textoverlay",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Ladda upp overlagringsbild",
|
||||
@@ -966,6 +968,13 @@ export const sv: TranslationKeys = {
|
||||
hasExif: "Har EXIF",
|
||||
hasIcc: "Har ICC",
|
||||
hasXmp: "Har XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Ladda upp andra bilden",
|
||||
|
||||
@@ -908,6 +908,8 @@ export const th: TranslationKeys = {
|
||||
submit: "เพิ่มข้อความ",
|
||||
submitBatch: "เพิ่มข้อความ ({count} ไฟล์)",
|
||||
progressLabel: "กำลังเพิ่มข้อความซ้อนทับ",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "อัปโหลดภาพซ้อนทับ",
|
||||
@@ -949,6 +951,13 @@ export const th: TranslationKeys = {
|
||||
hasExif: "มี EXIF",
|
||||
hasIcc: "มี ICC",
|
||||
hasXmp: "มี XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "อัปโหลดภาพที่สอง",
|
||||
|
||||
@@ -929,6 +929,8 @@ export const tr: TranslationKeys = {
|
||||
submit: "Metin Ekle",
|
||||
submitBatch: "Metin Ekle ({count} dosya)",
|
||||
progressLabel: "Metin kaplaması ekleniyor",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Kaplama Görüntüsü Yükle",
|
||||
@@ -970,6 +972,13 @@ export const tr: TranslationKeys = {
|
||||
hasExif: "EXIF Verisi",
|
||||
hasIcc: "ICC Verisi",
|
||||
hasXmp: "XMP Verisi",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "İkinci Görüntüyü Yükle",
|
||||
|
||||
@@ -928,6 +928,8 @@ export const uk: TranslationKeys = {
|
||||
submit: "Додати текст",
|
||||
submitBatch: "Додати текст ({count} файлів)",
|
||||
progressLabel: "Додавання тексту",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Завантажити зображення для накладання",
|
||||
@@ -969,6 +971,13 @@ export const uk: TranslationKeys = {
|
||||
hasExif: "EXIF",
|
||||
hasIcc: "ICC",
|
||||
hasXmp: "XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Завантажити друге зображення",
|
||||
|
||||
@@ -927,6 +927,8 @@ export const vi: TranslationKeys = {
|
||||
submit: "Thêm văn bản",
|
||||
submitBatch: "Thêm văn bản ({count} tệp)",
|
||||
progressLabel: "Đang thêm lớp phủ văn bản",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "Tải lên ảnh lớp phủ",
|
||||
@@ -968,6 +970,13 @@ export const vi: TranslationKeys = {
|
||||
hasExif: "Có EXIF",
|
||||
hasIcc: "Có ICC",
|
||||
hasXmp: "Có XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "Tải lên ảnh thứ hai",
|
||||
|
||||
@@ -862,6 +862,8 @@ export const zhCN: TranslationKeys = {
|
||||
submit: "添加文字",
|
||||
submitBatch: "添加文字({count} 个文件)",
|
||||
progressLabel: "正在添加文字叠加",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "上传叠加图片",
|
||||
@@ -903,6 +905,13 @@ export const zhCN: TranslationKeys = {
|
||||
hasExif: "含 EXIF",
|
||||
hasIcc: "含 ICC",
|
||||
hasXmp: "含 XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "上传第二张图片",
|
||||
|
||||
@@ -860,6 +860,8 @@ export const zhTW: TranslationKeys = {
|
||||
submit: "加入文字",
|
||||
submitBatch: "加入文字({count}個檔案)",
|
||||
progressLabel: "正在加入文字覆疊",
|
||||
download: "Download",
|
||||
defaultText: "Your Text Here",
|
||||
},
|
||||
compose: {
|
||||
uploadOverlay: "上傳覆疊影像",
|
||||
@@ -901,6 +903,13 @@ export const zhTW: TranslationKeys = {
|
||||
hasExif: "有EXIF",
|
||||
hasIcc: "有ICC",
|
||||
hasXmp: "有XMP",
|
||||
readInfo: "Read Info",
|
||||
reading: "Reading...",
|
||||
channelStats: "Channel Stats",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
na: "N/A",
|
||||
failedToRead: "Failed to read info",
|
||||
},
|
||||
compare: {
|
||||
uploadSecondImage: "上傳第二張影像",
|
||||
|
||||
Reference in New Issue
Block a user