diff options
author | Bastien Nocera <hadess@hadess.net> | 2011-03-30 12:02:32 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2011-03-30 16:26:28 +0100 |
commit | 725d754d1d602a6629213fcb151bd7c9d1563df6 (patch) | |
tree | f72466a97c4888c8d319a7a7087106a4220a5311 | |
parent | 33d8528a21a164c95fc464466a404f33ea33bbcd (diff) | |
download | shared-mime-info-725d754d1d602a6629213fcb151bd7c9d1563df6.tar.gz |
build: Update for the new Transifex way of doing things
en_GB: Progress, my arse.
en_US: Progress, my ass.
fr_FR: Progrés, mon cul.
-rw-r--r-- | .tx/config | 8 | ||||
-rw-r--r-- | HACKING | 1 | ||||
-rw-r--r-- | Makefile.am | 6 |
3 files changed, 14 insertions, 1 deletions
diff --git a/.tx/config b/.tx/config new file mode 100644 index 00000000..babacd9a --- /dev/null +++ b/.tx/config @@ -0,0 +1,8 @@ +[main] +host = https://www.transifex.net + +[shared-mime-info.efault-po-shared-mime-info-pot_0] +file_filter = po/<lang>.po +source_file = po/shared-mime-info.pot +source_lang = en + @@ -60,6 +60,7 @@ http://cgit.freedesktop.org/xdg/xdgmime/ Releasing --------- +- Run "make update-translations" and "make check-translations" before release - Copy the file to ~hadess/public_html on gabe.freedesktop.org - Update http://www.freedesktop.org/wiki/Software/shared-mime-info diff --git a/Makefile.am b/Makefile.am index c4a5f551..1c3edf39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,7 +100,7 @@ check: create-pot freedesktop.org.xml update-mime-database check-translations fi @echo Number of mime-types that might need generic-icon: `grep "mime-type type=" $(srcdir)/freedesktop.org.xml.in | grep -v video/ | grep -v image/ | grep -v text/ | grep -v audio/ | grep -v "octet-stream" | wc -l` ; \ echo Number of mime-types with a generic icon: `grep "generic-icon name=" $(srcdir)/freedesktop.org.xml.in | wc -l` ; - + check-translations: @for i in $(top_srcdir)/po/*.po ; do \ if ! grep -q `basename $$i | sed 's,.po,,'` $(top_srcdir)/po/LINGUAS ; then \ @@ -109,6 +109,10 @@ check-translations: fi; \ done; +update-translations: create-pot + @tx pull --all --force --skip + @tx push --source + # Build ChangeLog from GIT history ChangeLog: @if test -f $(top_srcdir)/.git/HEAD; then \ |