浏览代码

dpkg-mergechangelogs: add missing call to textdomain()

Raphaël Hertzog 16 年之前
父节点
当前提交
021de2418c
共有 2 个文件被更改,包括 4 次插入 和 0 次删除
  1. 2 0
      debian/changelog
  2. 2 0
      scripts/dpkg-mergechangelogs.pl

+ 2 - 0
debian/changelog

@@ -3,6 +3,8 @@ dpkg (1.15.7.1) UNRELEASED; urgency=low
   * Fix dpkg-source -b (without -i) for source packages 1.0. Closes: #578693
   * Fix dpkg-source -b (without -i) for source packages 1.0. Closes: #578693
     It was erroneously ignoring all changes because the ignore regex was
     It was erroneously ignoring all changes because the ignore regex was
     wrong (due to the change to ignore debian/source/local-options).
     wrong (due to the change to ignore debian/source/local-options).
+  * Add missing call to textdomain() in dpkg-mergechangelogs to make
+    translations work.
 
 
  -- Raphaël Hertzog <hertzog@debian.org>  Thu, 22 Apr 2010 07:50:04 +0200
  -- Raphaël Hertzog <hertzog@debian.org>  Thu, 22 Apr 2010 07:50:04 +0200
 
 

+ 2 - 0
scripts/dpkg-mergechangelogs.pl

@@ -27,6 +27,8 @@ use Dpkg::Version;
 use Getopt::Long;
 use Getopt::Long;
 use Scalar::Util qw(blessed);
 use Scalar::Util qw(blessed);
 
 
+textdomain("dpkg-dev");
+
 sub merge_entries($$$);
 sub merge_entries($$$);
 sub merge_block($$$;&);
 sub merge_block($$$;&);
 sub merge_entry_item($$$$);
 sub merge_entry_item($$$$);