|
Bugzilla – Full Text Bug Listing |
| Summary: | y2makepot seems to ignore 'gettext' keyword | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Katarina Machalkova <kmachalkova> |
| Component: | YaST2 | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Alpha 1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
well, finding the agents/ag_* files is one thing, which can be fixed. then there's a problem with the agents not having a file extension so xgettext treats them as C. xgettext would like us to rename the files to *.pl, but that could confuse the yast component loader. It seems we have to use a workaround used in yast2-installation already for the control files: symlinks. I committed them to SVN. I also fixed the devtools to look for gettext() in addition to _() and __(). |
yast2-apparmor sources use inconsistent marking of strings for translation - _("") macro for YCP files and gettext() for Perl modules/agents. Running y2makepot (without parameters) on apparmor src/ directory seems to ignore files where strings are marked with gettext(), unless they are explicitly specified in POTFILES file. Thus, strings from Perl modules never make it to apparmor.pot