qlipper
qlipper copied to clipboard
How do update translations
I dont see any instructions on how to update a translation. I wanted to bring the danish translation up to date but how do i do that?
The lupdate
is your friend :) -> http://doc.qt.io/qt-5/linguist-manager.html#using-lupdate
It says i have to run it on a .pro file. But there are none.
$ lupdate --help
Usage:
lupdate [options] [project-file]...
lupdate [options] [source-file|path|@lst-file]... -ts ts-files|@lst-file
...
with the second form of usage, there is no need for project-file.
Its not very clear instructions.
I can do:
lupdate src/*.cpp -ts da.ts
But im just guessing and have no idea if this is the correct way.
See that did not work well guessing it should use *.cpp files.
Now i use this which seems to work:
lupdate src/ -ts ts/qlipper_da.ts
But again im just guessing.