After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 653566 - Don't simply use HELP_ID to define pot name
Don't simply use HELP_ID to define pot name
Status: RESOLVED FIXED
Product: yelp-tools
Classification: Core
Component: yelp.m4
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-28 11:47 UTC by Michael Terry
Modified: 2011-08-31 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add HELP_POT variable (1.02 KB, patch)
2011-06-28 11:54 UTC, Michael Terry
committed Details | Review

Description Michael Terry 2011-06-28 11:47:16 UTC
Currently, the pot file name used by YELP_HELP_RULES is generated directly from HELP_ID.

But a common situation is that a program will have a normal pot file called "progname.pot" and want to also define HELP_ID as "progname".  Which means their help pot will also be called "progname.pot", leading to confusion.

My special use case is to help Launchpad translations differentiate between my program's pot file and my help's pot file, but it's confusing even if you just have them both opened in a text editor.

I could imagine a couple solutions: either adding an optional HELP_POT variable or maybe just always appending "-help" to the HELP_ID when generating the pot name.
Comment 1 Michael Terry 2011-06-28 11:54:14 UTC
Created attachment 190851 [details] [review]
Add HELP_POT variable
Comment 2 Shaun McCance 2011-08-31 16:26:25 UTC
The HELP_POT variable looks good to me. I've pushed this to master. Thanks.