On Sat, 18 Apr 2020, Sven Schreiber wrote:
Am 18.04.2020 um 15:16 schrieb Allin Cottrell:
> On Sat, 18 Apr 2020, Sven Schreiber wrote:
>> Do I understand correctly -to do it myself in the future- that it would
>> have to be replaced with:
>> N_("Imported %s")
>> ?
>
> Almost. But the syntax N_(<string>) means "mark this string for
> translation but don't actually translate it here". In this case you'd
> want _("Imported %s") to get it translated in place.
>
> The N_() form is used in this kind of context:
>
> const char *s = N_("Something stringy"); /* mark it */
> ...
> printf("%s\n", _(s)); /* actually translate it */
OK thanks. And is anything else needed so that translators get this
change in their po files?
cd <builddir>/po && make update-po
cd <source-dir>
git commit -a
git push
Allin