[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r1184 - in trunk: checks debian testset testset/debconf/debian/po



Author: rra
Date: 2008-02-08 04:13:13 +0100 (Fri, 08 Feb 2008)
New Revision: 1184

Added:
   trunk/testset/debconf/debian/po/lang.po
   trunk/testset/debconf/debian/po/nds.po
   trunk/testset/debconf/debian/po/pt_BR.po
Modified:
   trunk/checks/po-debconf
   trunk/debian/changelog
   trunk/testset/tags.debconf
Log:
* checks/po-debconf:
  + [RA] Accept three-character language codes for po files.  Thanks,
    Patrick Winnertz.  (Closes: #464511)

Modified: trunk/checks/po-debconf
===================================================================
--- trunk/checks/po-debconf	2008-02-08 03:02:33 UTC (rev 1183)
+++ trunk/checks/po-debconf	2008-02-08 03:13:13 UTC (rev 1184)
@@ -133,7 +133,7 @@
 while (defined(my $file=readdir(DEBIAN))) {
         next unless $file =~ m/\.po$/;
         tag "misnamed-po-file", "debian/po/$file"
-                unless ($file =~ /^[a-z]{2,2}(_[A-Z]{2,2})?\.po$/);
+                unless ($file =~ /^([a-z]{2}(_[A-Z]{2})?|[a-z]{3})\.po$/);
         local ($/) = "\n\n";
         $_ = '';
         open(PO, '<', "debfiles/po/$file")

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-02-08 03:02:33 UTC (rev 1183)
+++ trunk/debian/changelog	2008-02-08 03:13:13 UTC (rev 1184)
@@ -3,6 +3,9 @@
   * checks/binaries:
     + [RA] Make an architecture specification after perlapi optional.
       Thanks, gregor herrmann.  (Closes: #464626)
+  * checks/po-debconf:
+    + [RA] Accept three-character language codes for po files.  Thanks,
+      Patrick Winnertz.  (Closes: #464511)
 
   * lib/Spelling.pm:
     + [RA] Don't strip hyphens before checking spelling.  Move all D-Bus

Added: trunk/testset/debconf/debian/po/lang.po
===================================================================
--- trunk/testset/debconf/debian/po/lang.po	                        (rev 0)
+++ trunk/testset/debconf/debian/po/lang.po	2008-02-08 03:13:13 UTC (rev 1184)
@@ -0,0 +1,15 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: debconf-test 1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-12-06 00:51+0100\n"
+"PO-Revision-Date: 2005-10-13 15:03+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: text
+#. description
+#: ../debconf-test.templates:3
+msgid "Foo bar (2)"
+msgstr ""

Added: trunk/testset/debconf/debian/po/nds.po
===================================================================
--- trunk/testset/debconf/debian/po/nds.po	                        (rev 0)
+++ trunk/testset/debconf/debian/po/nds.po	2008-02-08 03:13:13 UTC (rev 1184)
@@ -0,0 +1,15 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: debconf-test 1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-12-06 00:51+0100\n"
+"PO-Revision-Date: 2005-10-13 15:03+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: text
+#. description
+#: ../debconf-test.templates:3
+msgid "Foo bar (2)"
+msgstr ""

Added: trunk/testset/debconf/debian/po/pt_BR.po
===================================================================
--- trunk/testset/debconf/debian/po/pt_BR.po	                        (rev 0)
+++ trunk/testset/debconf/debian/po/pt_BR.po	2008-02-08 03:13:13 UTC (rev 1184)
@@ -0,0 +1,15 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: debconf-test 1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-12-06 00:51+0100\n"
+"PO-Revision-Date: 2005-10-13 15:03+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: text
+#. description
+#: ../debconf-test.templates:3
+msgid "Foo bar (2)"
+msgstr ""

Modified: trunk/testset/tags.debconf
===================================================================
--- trunk/testset/tags.debconf	2008-02-08 03:02:33 UTC (rev 1183)
+++ trunk/testset/tags.debconf	2008-02-08 03:13:13 UTC (rev 1184)
@@ -14,6 +14,7 @@
 W: debconf source: invalid-po-file debian/po/fr.po
 W: debconf source: invalid-po-file debian/po/sample-file.po
 W: debconf source: maintainer-script-lacks-debhelper-token debian/debconf-test.postinst
+W: debconf source: misnamed-po-file debian/po/lang.po
 W: debconf source: misnamed-po-file debian/po/sample-file.po
 W: debconf source: newer-debconf-templates
 W: debconf source: out-of-date-standards-version 3.7.2 (current is 3.7.3)


Reply to: