Bos Wars - Patches: patch #7794, Treat _("string") as...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7794: Treat _("string") as format string only if needed
Submitter: | Kalle Olavi Niemitalo <kon> | ||
Submitted: | Thu 21 Jun 2012 09:41:05 PM UTC | ||
Open/Closed: | Closed | Status: | Done |
Assigned to: | feb |
Fri 07 Jul 2023 08:56:49 AM UTC, comment #1: |
François Beerten <feb> |
Thu 21 Jun 2012 09:41:05 PM UTC, original submission:
There were many calls like SetMessage(_("Screenshot made.")), where the called function treated the translated string as a format string even though no format arguments were passed along. Because the original string did not contain any percent signs, xgettext did not add the c-format flag to the entry in the PO file, and translators then could have added percent signs without knowing that they had to be doubled.
|
Kalle Olavi Niemitalo <kon> |
Depends on the following items: None found
Items that depend on this one: None found
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-07-14 | feb | Open/Closed | Open | Closed | |
2023-07-07 | feb | Status | None | Done | |
Assigned to | None | feb | |||
2012-06-21 | kon | Attached File | - | Added 0001-Treat-_-string-as-format-string-only-if-needed.patch, #26080 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Patch applied and shipped in version 2.8. Thank you for the patch.