After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348173 - charging status message is nonsense
charging status message is nonsense
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Czech [cs]
git master
Other All
: Normal normal
: ---
Assigned To: Pavel Šefránek
Jakub Friedl
Depends on: 350415
Blocks:
 
 
Reported: 2006-07-20 19:31 UTC by Stanislav Brabec
Modified: 2008-02-25 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patched czech translation of gpm (69.37 KB, patch)
2008-02-23 09:51 UTC, Pavel Šefránek
committed Details | Review

Description Stanislav Brabec 2006-07-20 19:31:05 UTC
Incorrect translation
Application: gnome-power-manager

Incorrect text:
Charging status message is a sequence of words withou understandable meaning in Czech: "Baterie laptopu 14 minut dokud nedobito (85%)"

Should be:
Not sure. Probably "Zbývá 14 minut do plného nabití baterií laptopu (" "nyní nabito" or "zbývá nabít" " 85%)".
Comment 1 Jakub Friedl 2006-07-21 10:09:11 UTC
Thanks for the report.

The problem here is that the string is not a single string, but it is concatenated from "Laptop battery", "%i minute", and "until charged". This makes the translation little bit tricky. The problem will probably occur in other combinations too. 

I will look deeper into it but I am afraid that changing the original string and the way it is generated will be necessary.
Comment 2 Stanislav Brabec 2006-07-24 09:41:26 UTC
Then it is a I18N support programming bug and should be fixed in a program code. Translating sentence in parts and expecting, that all languages have English syntax, is a bad practice.

For more see: http://www.gnu.org/software/gettext/manual/html_chapter/gettext_3.html#SEC15
Comment 3 Stanislav Brabec 2006-07-25 15:37:27 UTC
It seems, that another message is affected by the same problem:
"Baterie laptopu 2 hodiny, 15 minut zbývající (68%)"
Comment 4 Jakub Friedl 2006-08-08 11:49:28 UTC
Filled a bug asking for providing whole sentences.
Comment 5 André Klapper 2008-02-07 20:47:56 UTC
so can this be closed as fixed now that bug 350415 has been fixed?
Comment 6 Pavel Šefránek 2008-02-19 17:58:01 UTC
Překládám gnome-power-manager, podívám se na to.
Comment 7 Lucas Lommer 2008-02-23 01:41:56 UTC
cs_CZ: Hm, v SVN je prelozeno 100% ale me se zda, ze chyba pretrvava, opravoval si to?

en_US: Hm, there's 100% of czech translation done in SVN but I think this "bug" is still present, did you fix that?
Comment 8 Pavel Šefránek 2008-02-23 02:04:21 UTC
Neopravoval, překlad jsem posílal někdy před dvěma týdny, kdy jsem o této chybě ještě nevěděl.
Comment 9 Pavel Šefránek 2008-02-23 09:51:47 UTC
Created attachment 105807 [details] [review]
patched czech translation of gpm

Tak jsem to upravil, posílám patch. Opravena tato chyba + další 4 řetězce (změna rodu z mužského na ženský (jedná se o TU kapacitu).
Comment 10 Petr Kovar 2008-02-24 22:13:26 UTC
Pavel's patch committed to SVN (cf. <http://svn.gnome.org/viewvc/gnome-power-manager?view=revision&revision=2686>), thanks!

Can the bug be closed now?
Comment 11 Stanislav Brabec 2008-02-25 11:22:53 UTC
Yes.
Comment 12 Petr Kovar 2008-02-25 15:49:36 UTC
That was a clear and plain answer, so finally closing the bug.