GNOME Bugzilla – Bug 549235
gtkhtml-spell-language.c translator comments not in the PO file
Last modified: 2008-09-01 13:06:18 UTC
The language context of the components/editor/gtkhtml-spell-language.c has some nice translator comments, but they are not shown in the message catalog: http://l10n.gnome.org/POT/gtkhtml.HEAD/gtkhtml.HEAD.pot
Created attachment 117320 [details] [review] Translator comments replaced and improved
Quoting Christian Rose from http://bugzilla.gnome.org/show_bug.cgi?id=249844#c18 gettext now natively supports adding context to strings, with the msgctxt() call. We will most likely switch to this gettext way of marking context elsewhere in GNOME (however this is not yet finally decided), but perhaps it would make sense to use the C_ macro instead of the Q_ macro when patching this (if requirements allow it). See http://live.gnome.org/GnomeGoals/MsgctxtMigration Can you change your patch?
Created attachment 117726 [details] [review] Translator comments and configure.in fix configure.in fix following chpe's comment in http://live.gnome.org/GnomeGoals/MsgctxtMigration. Same translator comments for the meaning of every "%s", but now without the comments on the msgid before the pipe. Please check if this is correct, I cannot guarantee it will work as expected. (Well, at least gtkhtml still compiles.) If there's any problem with the C_ part, please remember we translators need that comments anyway to understand the possible values to be replaced in each "%s".
Created attachment 117728 [details] [review] Correct patch Actually the last patch ommitted the fix in configure.in (upgraded dependency to intltool 0.36.3). This new patch has it all (C_, %s comments, and configure.in fix).
Commit to trunk
Patch committed to SVN trunk as r8943 http://svn.gnome.org/viewvc/gtkhtml?view=revision&revision=8943
Funny, I thoght I had already closed this bug report.