maoschanz / appfolders-manager-gnome-extension

A GNOME extension allowing easy management of "appfolders" directly from the applications grid.
GNU General Public License v3.0
94 stars 24 forks source link

Update German #32

Closed jonnius closed 7 years ago

maoschanz commented 7 years ago

are you using a software for generating the .pot file ?

jonnius commented 7 years ago

I am using Poedit for translation. To generate the pot file:

xgettext -k_ -kN_ -o locale/appfolders-manager.pot *.js --from-code=UTF-8

maoschanz commented 7 years ago

oh thanks, i was perplex about why each item in the .pot file have been swapped

jonnius commented 7 years ago

Did you create the pot file manually?

maoschanz commented 7 years ago

i copied-pasted the existing "locale" folder from an other extension, and replace strings with gedit, so this file was probably a "fork" of the pot file you provided last year for "emoji selector"

maoschanz commented 7 years ago

Also, don't do that with the Emoji Selector extension, it has things like _( KEYWORDS[i] ) somewhere in the code and it can:

jonnius commented 7 years ago

There is always a way to make it work. Editing pot files manually can be quiet a pain and one may do mistakes.