[Debian-l10n-commits] r1489 - in /dl10n/trunk: Changelog dl10n-check

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Sun Dec 7 19:57:33 UTC 2008


Author: nekral-guest
Date: Sun Dec  7 19:57:33 2008
New Revision: 1489

URL: http://svn.debian.org/wsvn/?sc=1&rev=1489
Log:
	* dl10n-check: First check for PO files, then check for nls
	directories. This fix an issue with sysstat, which has PO files in
	a directory named nls.

Modified:
    dl10n/trunk/Changelog
    dl10n/trunk/dl10n-check

Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=1489&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Sun Dec  7 19:57:33 2008
@@ -1,3 +1,9 @@
+2008-12-06  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* dl10n-check: First check for PO files, then check for nls
+	directories. This fix an issue with sysstat, which has PO files in
+	a directory named nls.
+
 2008-12-06  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* lib/Debian/L10n/BTS.pm: Only check the BTS if a status has the

Modified: dl10n/trunk/dl10n-check
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-check?rev=1489&op=diff
==============================================================================
--- dl10n/trunk/dl10n-check (original)
+++ dl10n/trunk/dl10n-check Sun Dec  7 19:57:33 2008
@@ -436,7 +436,6 @@
                 return 0  if $file =~ m#(^|/)CVS/#;
                 return 0  if $file =~ m#(^|/).svn/#;
 
-                return 80  if $file =~ m#(^|/)nls/#;
                 return -1 if $file eq 'debian/control';
                 return -1 if $file eq 'debian/packages';
                 return ":".store_temp($pkg, $file)
@@ -451,6 +450,7 @@
                 return ":".store_temp($pkg, $file)
                         if $manpage;
                 return -1 if $file =~ m#^debian/[^/]*doc-base[^/]*$#;
+                return 80  if $file =~ m#(^|/)nls/#;
 
                 return 0;
         };




More information about the Debian-l10n-commits mailing list