View Single Post
Old 05-21-2017, 07:18 AM   #139
Nicolas F
Groupie
Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.
 
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
Quote:
Originally Posted by Terisa de morgan View Post
This small script generates the new Trad.pot file automatically, so it can be included without having to open poedit all the times:

Code:
ls *.py > salida
xgettext -f salida
rm salida
if [ -f messages.po ]
then
	mv messages.po translations/Trad.pot
fi


I think everybody can do this from poedit if the pot file is updated, no need you modify all of them, but as you prefer.
No no, if you can script it it's easier for everyone! Did you check if your script gives the same .pot file? I don't know what I did the first time, but the number of each ligne changed when I updated from source again (I don't know if it's important acutally?)
And if you think it's not necessary for the po files, I won't bother

Last edited by Nicolas F; 05-21-2017 at 07:22 AM.
Nicolas F is offline   Reply With Quote