Skip to content

Commit

Permalink
Use zanata for translations
Browse files Browse the repository at this point in the history
  • Loading branch information
t-woerner committed Mar 11, 2015
1 parent 3091e8c commit af56457
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 16 deletions.
9 changes: 0 additions & 9 deletions .tx/config

This file was deleted.

16 changes: 9 additions & 7 deletions Makefile.am
Expand Up @@ -46,15 +46,18 @@ tag:
dist: clean-docs update-docs

update-docs:
make -C doc/xml
$(MAKE) -C doc/xml

clean-docs:
make -C doc/xml clean
$(MAKE) -C doc/xml clean

tx-pull:
tx pull
pull-translations:
zanata-cli -B pull

archive: tx-pull update-po $(desktop_DATA) tag dist
push-translations:
zanata-cli -B push

archive: pull-translations update-po push-translations $(desktop_DATA) tag dist
scp "${PACKAGE_NAME}-$(PACKAGE_VERSION).tar.bz2" fedorahosted.org:${PACKAGE_NAME}
@echo "The archive is in ${PACKAGE_NAME}-$(PACKAGE_VERSION).tar.bz2"
@echo "Also have a look at https://fedorahosted.org/released/${PACKAGE_NAME}/"
Expand All @@ -76,8 +79,7 @@ test-srpm: dist

update-po:
ls $(top_srcdir)/po/*.po | sed 's/.*\/po\///;s/.po//' > $(top_srcdir)/po/LINGUAS
make -C po update-po ${PACKAGE_NAME}.pot
tx push -s
$(MAKE) -C po update-po ${PACKAGE_NAME}.pot

clean-po:
@for cat in `cat ${top_srcdir}/po/LINGUAS`; do \
Expand Down
106 changes: 106 additions & 0 deletions zanata.xml
@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
<url>https://fedora.zanata.org/</url>
<project>firewalld</project>
<project-version>master</project-version>
<project-type>gettext</project-type>

<locales>
<locale>sq</locale>
<locale>ar</locale>
<locale>as</locale>
<locale>ast</locale>
<locale>bal</locale>
<locale>eu</locale>
<locale>bn</locale>
<locale>bn-IN</locale>
<locale>brx</locale>
<locale>bs</locale>
<locale>br</locale>
<locale>bg</locale>
<locale>ca</locale>
<locale>zh-CN</locale>
<locale>zh-HK</locale>
<locale>zh-TW</locale>
<locale>kw</locale>
<locale>kw-GB</locale>
<locale>cs</locale>
<locale>da</locale>
<locale>nl</locale>
<locale>en-GB</locale>
<locale>eo</locale>
<locale>et</locale>
<locale>fi</locale>
<locale>fr</locale>
<locale>gl</locale>
<locale>ka</locale>
<locale>de</locale>
<locale>el</locale>
<locale>gu</locale>
<locale>he</locale>
<locale>hi</locale>
<locale>hu</locale>
<locale>is</locale>
<locale>id</locale>
<locale>ia</locale>
<locale>it</locale>
<locale>ja</locale>
<locale>kn</locale>
<locale>kk</locale>
<locale>km</locale>
<locale>ky</locale>
<locale>ko</locale>
<locale>lt</locale>
<locale>nds</locale>
<locale>mk</locale>
<locale>mai</locale>
<locale>ms</locale>
<locale>ml</locale>
<locale>mr</locale>
<locale>mn</locale>
<locale>ne</locale>
<locale>nb</locale>
<locale>nn</locale>
<locale>or</locale>
<locale>pa</locale>
<locale>fa</locale>
<locale>pl</locale>
<locale>pt</locale>
<locale>pt-BR</locale>
<locale>ro</locale>
<locale>ru</locale>
<locale>sr</locale>
<locale>sr@latin</locale>
<locale>si</locale>
<locale>sk</locale>
<locale>sl</locale>
<locale>es</locale>
<locale>sv</locale>
<locale>tg</locale>
<locale>ta</locale>
<locale>te</locale>
<locale>bo</locale>
<locale>tr</locale>
<locale>uk</locale>
<locale>ur</locale>
<locale>wba</locale>
<locale>cy</locale>
<locale>lv</locale>
<locale>kw@uccor</locale>
<locale>kw@kkcor</locale>
<locale>af</locale>
<locale>am</locale>
<locale>be</locale>
<locale>hr</locale>
<locale>de-CH</locale>
<locale>th</locale>
<locale>vi</locale>
<locale>zu</locale>
<locale>ilo</locale>
<locale>nso</locale>
<locale>tw</locale>
<locale>yo</locale>
<locale>anp</locale>
</locales>

</config>

0 comments on commit af56457

Please sign in to comment.