Hi,

you have definded _ and N_ macros in po/Makevars only. You need to add
C_ with --keyword. See an another project.

Marek

Uwe Scholz via gnome-i18n píše v Po 13. 09. 2021 v 23:14 +0200:
> Hi all,
> 
> recently I have inserted a new translatable string in Gnome Commander
> using the following command in the source code(*):
> 
>     // Translators: Translate 'Copy' as a noun here
>     auto copyString = C_("Filename suffix", "Copy");
> 
> But up to know I've not seen a translation of that string happening
> in
> the *.po files of Gnome Commander.
> 
> For example, in the latest Chech translation (thanks to Marek) for
> the file
> gnome-cmd-xfer.cc, where the tranlatable string from above occurs, I
> do
> not see that the "Copy" string is translated: Neither with the old
> translation(**) nor with a new one. The same happens in other *.po
> files.
> 
> So I'm asking myself if something is wrong in the translatable string
> command from above. It should show the translators that this "Copy"
> should not be translated as a verb but rather as a noun here, that's
> why I used "C_(...)" and not the usual "_()" command.
> 
> Any ideas from the translator experts here what I did wrong?
> 
> Thank you
> 
> Best
> Uwe
> 
> 
> (*)
> https://gitlab.gnome.org/GNOME/gnome-commander/-/commit/a0a6b876ef1907a62409f08b1902ce7827d71513#6b4a87c88dcd8bfde2390b093226b02427d553bd_433_1017
> 
> (**)
> https://gitlab.gnome.org/GNOME/gnome-commander/-/blob/master/po/cs.po#L2912-2916
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnome-i18n


_______________________________________________
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to