Re: [Tails-l10n] git-clean-po

Nachricht löschen

Nachricht beantworten
Autor: Seb35
Datum:  
To: Tails localization discussion
Betreff: Re: [Tails-l10n] git-clean-po
<sajolida@???> kirjoitti Sun, 13 Jul 2014 21:37:02 +0200
> As requested by matsa, I updated a little script that removes all the PO
> files that are marked as "modified". This is useful the build of the
> wiki generates PO files that you don't care about:
>
> https://tails.boum.org/contribute/l10n_tricks/#index9h1


After some research I found the following git command do the magic:

git checkout *.po *.pot

(i.e. recursively checkout modified *.po *.pot files.)


I improved the script with a small variation of this command, and with
git clean -f -x *.pot to remove ignored *.pot files. It’s on seb35/doc
e6dc23f + 267001d (based on testing).

~ Seb35