Lähettäjä: xin Päiväys: Vastaanottaja: Tails localization discussion Aihe: Re: [Tails-l10n] What to do with #~ lines in *.po files?
flapflap: > Hi,
>
> in many *.po files there are lines starting with #~ towards the end of
> the file. These are regarded as comments and therefore ignored/not shown
> in poedit and ikiwiki. As far as I understand, these are created when a
> msgid/English original version is deleted upstream and the msgid and
> msgstr are not needed any more so they are prefixed with #~.
>
> (This is different from /changing/ the English version and the
> translation becoming fuzzy)
>
> Should these lines be deleted or should they be kept because, for
> instance, the English version was just moved to another file and the
> translations should be moved there too?
>
> On the other hand, it could be desirable to delete the #~ lines because
> they are not needed and poedit sometimes reformats them (e.g. line break
> after reaching max line length) so they show up in the git-diff but
> they don't actually carry any content.
Hello, personaly I don't remove it but when poedit reformat, I use git
add -p to not add them in my commits.