Red Hat Bugzilla – Bug 106285
The replies Y/N/C in functions are marked for translation but not extracted
Last modified: 2014-03-16 22:39:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Description of problem:
The problem is the same as in bug 73251, but the reason is different, so I open
a new case. The script po/xgettext_sh.py will not extract the reply strings
like "yY" from init.d/functions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Inspect initscripts.pot
Actual Results: There is no string "yY" to translate.
Expected Results: It should be there.
The problem now is that none of the tokens in i18n_tokens appear on the line
where these strings are. Maybe "strstr" should be added in i18n_tokens?
Wild guess: is the initscripts package on the machine where
(make -C po new-pot-file-i-really-mean-it) is run current enough?
No, it's that it's not caught by the extractor script.
Created attachment 98195 [details]
Look for all $"... strings, not only after special prefixes
The attached patch removes the '$" is accepted only after specific prefixes'
limitation from the extractor scripts, finding many more marked strings
than the previous one.
Added in 7.47-1, thanks!