[GRASS-SVN] r46140 - grass/trunk/locale

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 30 06:12:43 EDT 2011


Author: neteler
Date: 2011-04-30 03:12:43 -0700 (Sat, 30 Apr 2011)
New Revision: 46140

Modified:
   grass/trunk/locale/Makefile
Log:
add msg verify target

Modified: grass/trunk/locale/Makefile
===================================================================
--- grass/trunk/locale/Makefile	2011-04-30 10:09:25 UTC (rev 46139)
+++ grass/trunk/locale/Makefile	2011-04-30 10:12:43 UTC (rev 46140)
@@ -69,6 +69,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
+
 define dom_rule
 $(1)_FILES := $$(patsubst po/grass$(1)_%.po,$$(MO_DIR)/%/LC_MESSAGES/grass$(1).mo,$$(wildcard po/grass$(1)_*.po))
 $$(MO_DIR)/%/LC_MESSAGES/grass$(1).mo: po/grass$(1)_%.po



More information about the grass-commit mailing list