A translatable empty string will be replaced with po file header
Bug #1585458 reported by
Po-Hsu Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Converged |
Fix Released
|
Critical
|
Po-Hsu Lin |
Bug Description
When generating a pot file, header information will be generated and assigned to an empty string.
Therefore if we're making the empty string translatable, it will be replaced by the header. Please refer to the screenshot for this issue.
Quote from the gettext tool document [1]
"An empty untranslated-string is reserved to contain the header entry with the meta information (see Header Entry). This header entry should be the first entry of the file. The empty untranslated-string is reserved for this purpose and MUST NOT be used anywhere else."
[1] https:/
Related branches
lp:~cypressyew/checkbox/i18n-empty-string
- Sylvain Pineau: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcheckbox-touch/components/CbtDialog.qml (+1/-1)
Changed in checkbox-converged: | |
status: | In Progress → Fix Committed |
importance: | Undecided → Critical |
Changed in checkbox-converged: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
For checkbox converged, the only translatable string is:
checkbox-touch$ grep -r 'i18n.tr("")' * CbtDialog. qml: title: i18n.tr("")
components/