From 9a7e34d491b828a227930654d4f99e4fd2eb93ec Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 6 May 2025 18:11:33 +0200 Subject: Pass --check to msgfmt and fix broken format strings The check option discovers broken format string translations as well as other issues like broken headers, enable it. The Japanese translation was discovered to both use the wrong ordering for %.*s translations with different positions, and missing the dot, e.g. %1$*2$s should have been %2$.*1$s (the number after % matches the string and the number after .* the size) --- po/apt-all.pot | 2 +- po/ja.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'po') diff --git a/po/apt-all.pot b/po/apt-all.pot index f520ed66b..6d987ed6c 100644 --- a/po/apt-all.pot +++ b/po/apt-all.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apt 3.0.1\n" "Report-Msgid-Bugs-To: APT Development Team \n" -"POT-Creation-Date: 2025-04-25 21:10+0000\n" +"POT-Creation-Date: 2025-05-06 17:57+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/po/ja.po b/po/ja.po index f734a4ee9..f3d82953e 100644 --- a/po/ja.po +++ b/po/ja.po @@ -3777,7 +3777,7 @@ msgstr " %.*s に override エントリがありません\n" #: ftparchive/writer.cc #, c-format msgid " %.*s maintainer is %.*s not %s\n" -msgstr " %1$*2$s メンテナは %5$s ではなく %3$*4$s です\n" +msgstr " %2$.*1$s メンテナは %5$s ではなく %4$.*3$s です\n" #: ftparchive/writer.cc #, c-format -- cgit v1.2.3-70-g09d2