GNU gettext - Bugs: bug #36084, xgettext:no-c-format comment only...
You are not allowed to post comments on this tracker with your current authentication level.
bug #36084: xgettext:no-c-format comment only applies to first of several strings on one line
Submitter: | Christian Ohm <cybersphinx> | ||
Submitted: | Wed 04 Apr 2012 11:48:33 AM UTC | ||
Category: | C | Severity: | 3 - Normal |
Item Group: | None | Status: | Not a Bug |
Privacy: | Public | Assigned to: | haible |
Open/Closed: | Closed |
Wed 15 Mar 2023 11:18:31 PM UTC, comment #3: |
Bruno Haible <haible> |
Wed 15 Mar 2023 11:13:43 PM UTC, comment #2: I can reproduce the issue through test-comment.c:
|
Bruno Haible <haible> |
Tue 29 Jan 2013 04:22:23 PM UTC, comment #1: I have a question, is there a typho in ("Production Improved") and ("Factory module enables medium and large bodies")? Or you also could? If they are not, I am not able to reproduce it with a C language file. If they are, the comment only applies to the first string for translation found.
|
Miguel Ángel Arruga Vivas <m1gu3l> |
Wed 04 Apr 2012 11:48:33 AM UTC, original submission:
Example:
|
Christian Ohm <cybersphinx> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-03-15 | haible | Status | Need Info | Not a Bug | |
Assigned to | None | haible | |||
Open/Closed | Open | Closed | |||
2018-11-12 | m1gu3l | Assigned to | m1gu3l | None | |
2016-11-27 | haible | Category | None | C | |
2013-03-01 | m1gu3l | Status | None | Need Info | |
Assigned to | None | m1gu3l |
Powered by Savane 3.13-f8d8.
Corresponding source code
It's preferrable if a single xgettext:no-c-format comment (and likewise, TRANSLATORS: comments) applies only to one string. If it were to apply to all strings in the next line, this would
- increase pressure on the programmer to put several strings into the same line,
- cause a change when, during a refactoring, a line break is inserted between different strings.
So, I'm not changing the code, but merely clarifying the documentation.
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=6fabdc10e3fe51d660517c42da6217d63071f32b