[Goodies-dev] [Bug 10939] Add strings to translation
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Thu Dec 4 17:32:50 CET 2014
https://bugzilla.xfce.org/show_bug.cgi?id=10939
--- Comment #4 from Sergey <alyoshin.s at gmail.com> ---
> Why you need #define N_(str) (str)
I think it is appropriate and it is common practice:
http://www.gnu.org/software/gettext/manual/gettext.html#index-N_005f_002c-a-convenience-macro
> Why not using the standard _() call ?
wi_strerror() is const char *, and _() (gettext()) is char *
So it will lead to 4 warnings: "return makes pointer from integer without a
cast [enabled by default]"
Patch is updated to v2 without braces for if else.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the Goodies-dev
mailing list