Skip to content

Translate entries gettext marked fuzzy - #75

Merged
arvida merged 2 commits into
mainfrom
fix/fuzzy-as-missing-v3
Sep 15, 2026
Merged

arvida merged 2 commits into
mainfrom
fix/fuzzy-as-missing-v3

Conversation

@arvida

@arvida arvida commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

A fuzzy entry holds a translation msgmerge guessed from a different msgid. msgfmt leaves those out of the compiled catalog, so the app shows the source string while the file looks translated. We neither replaced the guess nor reported it, so the string stayed English.

  • Count a fuzzy target entry as missing, so it is sent for translation
  • Leave fuzzy entries out of an upload, so the guess is never recorded as a translation the server would hand back as already done
  • Clear the flag once every form the catalog declares has a real translation, so a partial response cannot publish a remaining guess

arvida and others added 2 commits September 15, 2026 19:11
A fuzzy entry holds a translation msgmerge guessed from a different
msgid. msgfmt leaves those out of the compiled catalog, so the app shows
the source string while the file looks translated. We neither replaced
the guess nor reported it, so the string stayed English.

- Count a fuzzy target entry as missing, so it is sent for translation
- Leave fuzzy entries out of an upload, so the guess is never recorded
  as a translation the server would hand back as already done
- Clear the flag once every form the catalog declares has a real
  translation, so a partial response cannot publish a remaining guess
A job that exhausts its status-check budget warns and is dropped, but the
language was never recorded as failed. The summary reads that empty list
and prints "Translations complete" for a run that wrote nothing, and
`ci` inherits it, so a GitHub Action step can pass having translated
nothing.

- Record the language on every exit from the retry-exhaustion branch:
  partial completion, never started, delayed status, and the outer catch
- The existing summary and exit-code handling then work as written

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@arvida
arvida merged commit 2b2dfe7 into main Sep 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant