cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / po / README.Translations
index 3b7abd4..afb5e2e 100644 (file)
@@ -32,15 +32,24 @@ NOTE: You'll need lupdate, lconvert, lrelease installed with your Qt in
       order to generate translation files. Some distributions don't
       package that tool; in that case you won't get translations.
 
-
-Regenerating the .pot file can be done at least two ways. ``Translate
-Toolkit'' seems to provide better results, so the first one is
-preferred.
-
-With TT:
-lupdate ../src -ts quassel.ts && ts2po -P --duplicates=msgctxt -i \
-  quassel.ts -o quassel.pot && rm quassel.ts
-
-With only Qt tools:
-lupdate ../src -ts quassel.ts && lconvert -i quassel.ts -o quassel.po \
-  && msguniq -o quassel.pot quassel.po && rm quassel.ts quassel.po
+The .pot file is regenerated using `./update-pot.sh` and can be pushed
+to Transifex via `tx push -s`.
+Note that as of Feb 2016 this is done automatically by nightly runs of
+scripts/tx-sync.sh which pushes an updated quassel.pot to a location
+that is fetched by Transifex on regular intervals. This location is
+currently configured as
+<https://github.com/quassel/quassel-i18n/raw/tx-sync/po/quassel.pot> and
+can be updated at https://www.transifex.com/quassel/quassel/content/ →
+"Auto update resources".
+
+== For maintainers ==
+To synchronize the i18n repository with the main repository follow these steps:
+
+$ git remote add origin-i18n git@github.com:quassel/quassel-i18n.git
+$ git fetch origin-i18n
+$ git merge --squash origin-i18n/tx-sync
+$ pushd po && ./update-pot.sh; popd
+$ git add po/quassel.pot
+$ git commit
+$ git push
+$ git push origin-i18n +HEAD:tx-sync