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

Update pot files #30

Closed
iglosiggio opened this issue Feb 1, 2018 · 4 comments
Closed

Update pot files #30

iglosiggio opened this issue Feb 1, 2018 · 4 comments
Assignees

Comments

@iglosiggio
Copy link
Contributor

iglosiggio commented Feb 1, 2018

While making progress on packaging Celestia (QT5) for debian i've stumbled upon the lack of a full translation for the interface.

I'm will to provide an ~ almost_good ~ translation to spanish after i finish this, but in the meantime i think that making this an issue can help a lot in the translation to other languages.

I'm attaching the .pot file generated and the script that i use for generating it.

update_pot.sh

#!/bin/bash

extractrc $(find -name \*.ui -o -name \*.rc -o -name \*.kcfg) > testrc.cpp
xgettext -ki18n -k_ -F -j \
         -d celestia --package-name=celestia --package-version=1.7.0 --msgid-bugs-address=chris@teyssier.org --copyright-holder="Chris Laurel" \
         $(find . -name \*.c -o -name \*.cpp -o -name \*.cc -o -name \*.h -o -name \*.hpp -o -name \*.qml) -o po/celestia.pot
rm testrc.cpp

generated file (gzipped for github)

celestia.pot.gz

@iglosiggio
Copy link
Contributor Author

I've just realized that this corresponds to #4

@CelestiaProject
Copy link
Collaborator

@Alexell , you need to check the correctness of the POT file generated by the script.

@Alexell
Copy link
Contributor

Alexell commented May 23, 2018

In work...

@Alexell
Copy link
Contributor

Alexell commented May 28, 2018

@iglosiggio Thanks for the script!

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