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:
SnapOtter
2026-06-07 18:27:09 +08:00
committed by GitHub
parent 59c9df3f0d
commit 73b259462a
32 changed files with 278 additions and 70 deletions
+9
View File
@@ -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",