Updating an existing .po file

John Ralls jralls at ceridwen.us
Sun Mar 18 16:01:55 EDT 2018



> On Mar 18, 2018, at 11:54 AM, Di Mang <di.mang.freetime at gmail.com> wrote:
> 
> Hello all,
> 
> I tried to update the
> ​ru.​
> ​po-​
> file from the new
> ​pot ​
> ​template​
> today
> ​.
> Updating the ru.po-file changes all paths in the file:
> 
> For Example:
> 
> -#: ../borrowed/goffice/go-charmap-sel.c:70
> +#: borrowed/goffice/go-charmap-sel.c:70
> 
> or
> 
> -#: ../gnucash/gnome/assistant-stock-split.c:413
> +#: gnucash/gnome/assistant-stock-split.c:413
> 
> In general, "../" is removed for all comments.
> 
> Is it a correct behavior? Does it have anything to do with replacing
> intltool by gettext?

It's harmless, the paths are there only to help translators find out more about how the string is used. Yes, it's because instead of pointing intltool to a relative path we use cmake to create POTFILES.in in a more controlled way.

Regards,
John Ralls



More information about the gnucash-devel mailing list