GNU gettext - Bugs: bug #56440, xgettext: search in comments
You are not allowed to post comments on this tracker with your current authentication level.
bug #56440: xgettext: search in comments
Submitter: | Cornelius Weiß <corneliusweiss> | ||
Submitted: | Wed 05 Jun 2019 05:44:40 AM UTC | ||
Category: | Programmer tools | Severity: | 3 - Normal |
Item Group: | None | Status: | Not a Bug |
Privacy: | Public | Assigned to: | haible |
Open/Closed: | Closed |
Mon 10 Jun 2019 04:54:17 PM UTC, comment #1: |
Bruno Haible <haible> |
Wed 05 Jun 2019 05:44:40 AM UTC, original submission:
Hi,
|
Cornelius Weiß <corneliusweiss> |
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-06-10 | haible | Category | None | Programmer tools | |
Status | None | Not a Bug | |||
Assigned to | None | haible | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-3230.
Corresponding source code
This case is discussed in https://www.gnu.org/software/gettext/manual/html_node/Special-cases.html . Define a gettext_noop function (in JavaScript, for example, in the global context) that returns its argument unmodified.
With this approach:
- You will not have to write down each string twice in the source code.
- You will not have to lie to xgettext about the language to parse.