Commit 7c0a9b73 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

* HACKING:

* Makefile.am: Update for transifex.net use
parent 6ea0ee7d
2009-10-05 Bastien Nocera <hadess@hadess.net>
* HACKING:
* Makefile.am: Update for transifex.net use
2009-10-02 Alexander Larsson <alexl@redhat.com> 2009-10-02 Alexander Larsson <alexl@redhat.com>
* freedesktop.org.xml.in: * freedesktop.org.xml.in:
......
...@@ -14,11 +14,8 @@ A few ground rules for people interested in adding new mime-types. ...@@ -14,11 +14,8 @@ A few ground rules for people interested in adding new mime-types.
Translations Translations
------------ ------------
Translations should go through the Translation Project at: Translations should go through Transifex.net:
http://translationproject.org/latest/shared-mime-info/ http://www.transifex.net/projects/p/shared-mime-info/c/default/
More details at:
http://translationproject.org/html/maintainers.html
CVS CVS
--- ---
......
...@@ -70,7 +70,7 @@ uninstall-hook: ...@@ -70,7 +70,7 @@ uninstall-hook:
all: check all: check
$(MAKE) -C po shared-mime-info.pot $(MAKE) -C po shared-mime-info.pot
check: freedesktop.org.xml check: freedesktop.org.xml check-translations
if test -n $(XMLLINT) ; then \ if test -n $(XMLLINT) ; then \
xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml; \ xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml; \
fi fi
...@@ -91,13 +91,11 @@ check: freedesktop.org.xml ...@@ -91,13 +91,11 @@ check: freedesktop.org.xml
@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 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` ; echo Number of mime-types with a generic icon: `grep "generic-icon name=" $(srcdir)/freedesktop.org.xml.in | wc -l` ;
update-translations: check-translations:
@rsync --copy-links --recursive --times --verbose --compress --progress translationproject.org::tp/latest/shared-mime-info/ $(srcdir)/po/
@for i in $(top_srcdir)/po/*.po ; do \ @for i in $(top_srcdir)/po/*.po ; do \
if ! grep -q `basename $$i | sed 's,.po,,'` $(top_srcdir)/po/LINGUAS ; then \ if ! grep -q `basename $$i | sed 's,.po,,'` $(top_srcdir)/po/LINGUAS ; then \
echo '***' `basename $$i | sed 's,.po,,'` missing from po/LINGUAS '***' ; \ echo '***' `basename $$i | sed 's,.po,,'` missing from po/LINGUAS '***' ; \
exit 1; \ exit 1; \
fi; \ fi; \
done; done;
@pushd $(srcdir)/po && LC_ALL=en_US.UTF-8 prepare-ChangeLog.pl && popd
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