Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do update translations #97

Open
scootergrisen opened this issue Sep 26, 2018 · 5 comments
Open

How do update translations #97

scootergrisen opened this issue Sep 26, 2018 · 5 comments

Comments

@scootergrisen
Copy link
Contributor

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?

@palinek
Copy link
Collaborator

palinek commented Sep 26, 2018

The lupdate is your friend :) -> http://doc.qt.io/qt-5/linguist-manager.html#using-lupdate

@scootergrisen
Copy link
Contributor Author

It says i have to run it on a .pro file.
But there are none.

@palinek
Copy link
Collaborator

palinek commented Sep 26, 2018

$ 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.

@scootergrisen
Copy link
Contributor Author

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.

@scootergrisen
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants