From e860bf22268bd8c478aa8c682862cbc6dda0de73 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 18 Sep 2026 23:48:22 -0400 Subject: live-manual: mend ja and pl translations alignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mend the ja and pl translations that broke ocn alignment The languages of a document share their object numbering, and two of live-manual's did not. ja/project_git.ssi.po had msgstr " " against msgid "Or,". One space. po4a emits it, a line of one space is not an object, and the entry serves two places, so Japanese was two objects short of English and everything below was renumbered. An empty msgstr is the value gettext already has for this: untranslated, the English comes back, the object survives and the gap is visible so that somebody translates it. pl/user_overview.ssi.po had msgstr "2~ Wcięcia" against a paragraph. That string is a heading belonging to another file, project_coding- style.ssi.po, where it sits against its right msgid: a paste into the wrong entry. So Polish had a heading where every other language has a paragraph, and the paragraph's translation never existed. Emptied for the same reason; the heading translation stays where it belongs. The generated .ssi files are edited to match, po4a not being available here. Not guessed: "Or," appears untranslated in ro and pt_BR, and the paragraph appears untranslated in de, it, pt_BR and ro byte identically in all four, so the wrapping is po4a's own. msgfmt --check passes on both catalogues, and the lint that named these two reports no errors at all now. (assisted by Claude-Code) --- markup/pod-samples/pod/live-manual/media/text/ja/project_git.ssi | 4 ++-- markup/pod-samples/pod/live-manual/media/text/pl/user_overview.ssi | 5 ++++- .../pod-samples/pod/live-manual/tools/po4a/po/ja/project_git.ssi.po | 2 +- .../pod/live-manual/tools/po4a/po/pl/user_overview.ssi.po | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) (limited to 'markup/pod-samples/pod') diff --git a/markup/pod-samples/pod/live-manual/media/text/ja/project_git.ssi b/markup/pod-samples/pod/live-manual/media/text/ja/project_git.ssi index 91f84c6..efe631e 100644 --- a/markup/pod-samples/pod/live-manual/media/text/ja/project_git.ssi +++ b/markup/pod-samples/pod/live-manual/media/text/ja/project_git.ssi @@ -12,7 +12,7 @@ code{ }code - +Or, code{ @@ -20,7 +20,7 @@ code{ }code - +Or, code{ diff --git a/markup/pod-samples/pod/live-manual/media/text/pl/user_overview.ssi b/markup/pod-samples/pod/live-manual/media/text/pl/user_overview.ssi index 4ad9496..e2b686a 100644 --- a/markup/pod-samples/pod/live-manual/media/text/pl/user_overview.ssi +++ b/markup/pod-samples/pod/live-manual/media/text/pl/user_overview.ssi @@ -66,7 +66,10 @@ code{ }code -2~ Wcięcia +Using #{lb config}# without any arguments would be suitable for users who +need a very basic image, or who intend to provide a more complete +configuration via #{auto/config}# later (see {Managing a +configuration}#managing-a-configuration for details). Normalnie, pewnie będziesz chciał określić niektóre opcje. Na przykład, aby określić, jakiego menadżera pakierów chcesz użyć podczas budowania obrazu: diff --git a/markup/pod-samples/pod/live-manual/tools/po4a/po/ja/project_git.ssi.po b/markup/pod-samples/pod/live-manual/tools/po4a/po/ja/project_git.ssi.po index 2457fe3..63d9702 100644 --- a/markup/pod-samples/pod/live-manual/tools/po4a/po/ja/project_git.ssi.po +++ b/markup/pod-samples/pod/live-manual/tools/po4a/po/ja/project_git.ssi.po @@ -207,7 +207,7 @@ msgstr " $ git clone git://live-systems.org/git/live-manual.git\n" #. type: Plain text #: en/project_git.ssi:14 en/project_git.ssi:22 msgid "Or," -msgstr " " +msgstr "" #. type: Plain text #: en/project_git.ssi:18 diff --git a/markup/pod-samples/pod/live-manual/tools/po4a/po/pl/user_overview.ssi.po b/markup/pod-samples/pod/live-manual/tools/po4a/po/pl/user_overview.ssi.po index c9b5df9..3e2a37a 100644 --- a/markup/pod-samples/pod/live-manual/tools/po4a/po/pl/user_overview.ssi.po +++ b/markup/pod-samples/pod/live-manual/tools/po4a/po/pl/user_overview.ssi.po @@ -485,7 +485,7 @@ msgid "" "need a very basic image, or who intend to provide a more complete " "configuration via #{auto/config}# later (see {Managing a configuration}" "#managing-a-configuration for details)." -msgstr "2~ Wcięcia" +msgstr "" #. type: Plain text #: ../../media/text/en/user_overview.ssi:45 -- cgit v1.2.3