Package: dpkg
Version: 1.20.12
Severity: minor
Tags: l10n patch
X-Debbugs-Cc: kisaragi.effect...@gmail.com

I've found a typo in `/usr/share/locale/ja/LC_MESSAGES/dpkg.mo` which
was introduced by 69fe0265.
To fix this, I applied those commands in bash:

$ msgunfmt /usr/share/locale/ja/LC_MESSAGES/dpkg.mo > /tmp/dpkg-ja.po
$ vim /tmp/dpkg-ja.po # correct typo
$ msgunfmt /usr/share/locale/ja/LC_MESSAGES/dpkg.mo | git diff - /tmp/dpkg-ja.po
diff --git a/- b/tmp/dpkg-ja.po
index 0000000..0e648e8 100644
--- a/-
+++ b/tmp/dpkg-ja.po
@@ -3644,7 +3644,7 @@ msgstr "updates ディレクトリにあるファイル名の長さが異なり

 msgid "updating alternative %s because link group %s has changed slave links"
 msgstr ""
-"リンクグループ %2$s がスレーブッリンクを変更したため、alternative %1$s を更新"
+"リンクグループ %2$s がスレーブリンクを変更したため、alternative %1$s を更新"
 "しています"

 msgid "user '%s' does not exist"
$ sudo msgfmt /tmp/dpkg-ja.po -o /usr/share/locale/ja/LC_MESSAGES/dpkg.mo

I'd like to commit this patch if I could.

-- Package-specific info:
System tainted due to merged-usr-via-aliased-dirs.

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-19-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-4
ii  libc6        2.31-13+deb11u5
ii  liblzma5     5.2.5-2.1~deb11u1
ii  libselinux1  3.1-3
ii  tar          1.34+dfsg-1
ii  zlib1g       1:1.2.11.dfsg-2+deb11u2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.2.4
pn  debsig-verify  <none>

-- no debconf information

Reply via email to