Skip to content

Commit 8595fe6

Browse files
MrChengLenclaude
andcommitted
fix(i18n): re-extract pot for new drop-zone msgids + DE translations
The drop-zone-mode commit (453cc96) added two new format-list strings to index.html — `_('Supported: JPG · PNG · WebP · TIFF')` and `_('MP4 · MOV · AVI · MKV · WebM')` — but the locale catalogs were not regenerated. CI's i18n drift-check caught it: pot still mirrored main's 608-line state without the new keys. This commit: - Runs `pybabel extract` to refresh `locale/messages.pot` (now 624 lines). - Runs `pybabel update` to add the two msgids to `de.po` and `en.po`. - Fixes Babel's fuzzy auto-match (it pulled the long-format DE string into the short-format slot) and writes the correct translations: "MP4 · MOV · AVI · MKV · WebM" → "MP4 · MOV · AVI · MKV · WebM" "Supported: JPG · PNG · WebP · TIFF" → "Unterstützt: JPG · PNG · WebP · TIFF" - Re-compiles `.mo` files (185/185 DE translated). Verified: drift-check exit 0, pytest 465 passed, ruff clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f946c1c commit 8595fe6

5 files changed

Lines changed: 21 additions & 3 deletions

File tree

locale/de/LC_MESSAGES/messages.mo

177 Bytes
Binary file not shown.

locale/de/LC_MESSAGES/messages.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: FileMorph VERSION\n"
99
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10-
"POT-Creation-Date: 2026-05-07 15:22+0200\n"
10+
"POT-Creation-Date: 2026-05-08 15:52+0200\n"
1111
"PO-Revision-Date: 2026-05-08 11:00+0200\n"
1212
"Last-Translator: FileMorph <hallo@filemorph.io>\n"
1313
"Language: de\n"
@@ -347,6 +347,9 @@ msgstr "Nur JPEG / WebP."
347347
msgid "Language"
348348
msgstr "Sprache"
349349

350+
msgid "MP4 · MOV · AVI · MKV · WebM"
351+
msgstr "MP4 · MOV · AVI · MKV · WebM"
352+
350353
msgid "MP4 · MOV · AVI · MKV · WebM · MP3 · WAV · FLAC · OGG · M4A"
351354
msgstr "MP4 · MOV · AVI · MKV · WebM · MP3 · WAV · FLAC · OGG · M4A"
352355

@@ -504,6 +507,9 @@ msgstr ""
504507
msgid "Supported: HEIC · JPG · PNG · WebP · BMP · TIFF · GIF"
505508
msgstr "Unterstützt: HEIC · JPG · PNG · WebP · BMP · TIFF · GIF"
506509

510+
msgid "Supported: JPG · PNG · WebP · TIFF"
511+
msgstr "Unterstützt: JPG · PNG · WebP · TIFF"
512+
507513
msgid "Switch to English"
508514
msgstr "Zu Englisch wechseln"
509515

locale/en/LC_MESSAGES/messages.mo

0 Bytes
Binary file not shown.

locale/en/LC_MESSAGES/messages.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: FileMorph VERSION\n"
99
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10-
"POT-Creation-Date: 2026-05-07 15:22+0200\n"
10+
"POT-Creation-Date: 2026-05-08 15:52+0200\n"
1111
"PO-Revision-Date: 2026-05-07 13:43+0200\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language: en\n"
@@ -323,6 +323,9 @@ msgstr ""
323323
msgid "Language"
324324
msgstr ""
325325

326+
msgid "MP4 · MOV · AVI · MKV · WebM"
327+
msgstr ""
328+
326329
msgid "MP4 · MOV · AVI · MKV · WebM · MP3 · WAV · FLAC · OGG · M4A"
327330
msgstr ""
328331

@@ -468,6 +471,9 @@ msgstr ""
468471
msgid "Supported: HEIC · JPG · PNG · WebP · BMP · TIFF · GIF"
469472
msgstr ""
470473

474+
msgid "Supported: JPG · PNG · WebP · TIFF"
475+
msgstr ""
476+
471477
msgid "Switch to English"
472478
msgstr ""
473479

locale/messages.pot

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: FileMorph VERSION\n"
1010
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11-
"POT-Creation-Date: 2026-05-07 15:22+0200\n"
11+
"POT-Creation-Date: 2026-05-08 15:52+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -322,6 +322,9 @@ msgstr ""
322322
msgid "Language"
323323
msgstr ""
324324

325+
msgid "MP4 · MOV · AVI · MKV · WebM"
326+
msgstr ""
327+
325328
msgid "MP4 · MOV · AVI · MKV · WebM · MP3 · WAV · FLAC · OGG · M4A"
326329
msgstr ""
327330

@@ -467,6 +470,9 @@ msgstr ""
467470
msgid "Supported: HEIC · JPG · PNG · WebP · BMP · TIFF · GIF"
468471
msgstr ""
469472

473+
msgid "Supported: JPG · PNG · WebP · TIFF"
474+
msgstr ""
475+
470476
msgid "Switch to English"
471477
msgstr ""
472478

0 commit comments

Comments
 (0)