From b231573f041b410a418f89a7caddbd22a5a22e0d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 5 May 2011 11:44:58 +0000 Subject: add check_po, to validate po when they are committed --- modules/subversion/manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index 075d5c71..e8a35992 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -108,6 +108,13 @@ class subversion { regexp_ext => "modules/.*/templates/.*$", check_cmd => "erb -P -x -T - | ruby -c" } + + syntax_check{"check_po": + regexp_ext => "\.po$", + check_cmd => "msgfmt -c" + } + + } -- cgit v1.2.1