[GRASS-SVN] r46139 - grass/branches/develbranch_6/locale

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 30 06:09:25 EDT 2011


Author: neteler
Date: 2011-04-30 03:09:25 -0700 (Sat, 30 Apr 2011)
New Revision: 46139

Modified:
   grass/branches/develbranch_6/locale/Makefile
Log:
add msg verify target

Modified: grass/branches/develbranch_6/locale/Makefile
===================================================================
--- grass/branches/develbranch_6/locale/Makefile	2011-04-30 10:09:15 UTC (rev 46138)
+++ grass/branches/develbranch_6/locale/Makefile	2011-04-30 10:09:25 UTC (rev 46139)
@@ -80,6 +80,12 @@
 		done
 	@echo "Be careful with SVN commits as .po file updates must be syncronized with the individual translators."
 
+verify:
+	@cd ./po/ ; for po in `ls *_*.po 2>/dev/null` ; do \
+	msgfmt -c $$po; \
+	echo ""; \
+	done
+
 libs_FILES := $(patsubst po/grasslibs_%.po,$(MO_DIR)/%/LC_MESSAGES/grasslibs.mo,$(wildcard po/grasslibs_*.po)) 
 $(MO_DIR)/%/LC_MESSAGES/grasslibs.mo: po/grasslibs_%.po 
 	@ [ -d $(MO_DIR)/$*/LC_MESSAGES ] || $(MKDIR) $(MO_DIR)/$*/LC_MESSAGES 



More information about the grass-commit mailing list