diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-18 23:48:22 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-22 18:25:09 -0400 |
| commit | e860bf22268bd8c478aa8c682862cbc6dda0de73 (patch) | |
| tree | caa16d696be7e56f06866506ce80b0a39caa888b /markup/pod-samples/pod | |
| parent | tools: po-stats, what is translated, per language and per file (diff) | |
live-manual: mend ja and pl translations alignment
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)
Diffstat (limited to 'markup/pod-samples/pod')
4 files changed, 8 insertions, 5 deletions
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 |
