On Fri, 2013-01-11 at 01:09:32 +0100, Guillem Jover wrote: > I'm including a second patch, as I've just noticed now that the gettext > tools do not really like non \n and \t escape sequences in marked > strings. As a penance I think I'll try to translate as much of these > two strings as possible, or as long as it makes sense.
Ok, and here it is, it seems only three locales could have had such problem as none of the others were using the UTF-8 ellipsis character, and only Catalan really had it currently as its ending string was shorted than the during-progress one. Thanks, Guillem
From d01d243adf107df50c29213592d346aab101e047 Mon Sep 17 00:00:00 2001 From: Guillem Jover <guil...@debian.org> Date: Fri, 11 Jan 2013 01:15:47 +0100 Subject: [PATCH] Translate Progress messages including the UTF-8 ellipsis character This should fix the bogus output on progress, as the finish string will have at least the same length as the during-progress strings. This only really could affect locales using the UTF-8 ellipsis character, and of those only Catalan had a shorted ending string. --- po/ca.po | 10 ++++++++++ po/cs.po | 10 ++++++++++ po/ru.po | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/po/ca.po b/po/ca.po index 03d11e1..61d2312 100644 --- a/po/ca.po +++ b/po/ca.po @@ -2403,6 +2403,16 @@ msgstr "%c%s… Error!" msgid "%c%s... Done" msgstr "%c%s… Fet" +#: apt-pkg/contrib/progress.cc:179 +msgid "..." +msgstr "…" + +#. Print the spinner +#: apt-pkg/contrib/progress.cc:195 +#, c-format +msgid "%c%s... %u%%" +msgstr "%c%s… %u%%" + #: apt-pkg/contrib/cmndline.cc:80 #, c-format msgid "Command line option '%c' [from %s] is not known." diff --git a/po/cs.po b/po/cs.po index 4ccb2f7..3d16d68 100644 --- a/po/cs.po +++ b/po/cs.po @@ -2399,6 +2399,16 @@ msgstr "%c%s… Chyba!" msgid "%c%s... Done" msgstr "%c%s… Hotovo" +#: apt-pkg/contrib/progress.cc:179 +msgid "..." +msgstr "…" + +#. Print the spinner +#: apt-pkg/contrib/progress.cc:195 +#, c-format +msgid "%c%s... %u%%" +msgstr "%c%s… %u%%" + #: apt-pkg/contrib/cmndline.cc:80 #, c-format msgid "Command line option '%c' [from %s] is not known." diff --git a/po/ru.po b/po/ru.po index c60c9a3..9b66cc2 100644 --- a/po/ru.po +++ b/po/ru.po @@ -2457,6 +2457,16 @@ msgstr "%c%s… Ошибка!" msgid "%c%s... Done" msgstr "%c%s… Готово" +#: apt-pkg/contrib/progress.cc:179 +msgid "..." +msgstr "…" + +#. Print the spinner +#: apt-pkg/contrib/progress.cc:195 +#, c-format +msgid "%c%s... %u%%" +msgstr "%c%s… %u%%" + #: apt-pkg/contrib/cmndline.cc:80 #, c-format msgid "Command line option '%c' [from %s] is not known." -- 1.8.1