Commit 725d754d authored by Bastien Nocera's avatar Bastien Nocera
Browse files

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.
parent 33d8528a
[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
......
......@@ -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 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment