Hi Sergey,

On Wed, 17 Jul 2013 12:47:18 +0400
Sergey Alyoshin <[email protected]> wrote:

<snip>
> 
> Sometimes it is very useful to add comments as reminder, clarification,
> style or integrity for other translators.  Such comments has nothing to do
> with code.

Probably, Nick said like following style.

If a comment is put just before translatable string on the source:
>        if(diff == 0) {
>            /* TRANSLATORS: file was modified less than one day ago */
>            strftime(buffer, 128, _("Today at %X"), tfile);
>            return g_strdup(buffer);
>        } else if(diff == 1) {

gettext retrieves it as a comment for the translation and put it into the po 
file:
> #. TRANSLATORS: file was modified less than one day ago
> #: ../src/xfdesktop-file-utils.c:137
> #, c-format
> msgid "Today at %X"
> msgstr ""

Tx won't remove those gettext's output so moving each comments into 
source (by making patch and sending it to Nick) is one way to keep them.

Yes, it's annoying.
 
-- 
HASHIMOTO, Masato
_______________________________________________
Xfce-i18n mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-i18n

Reply via email to