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 549854 - gpm-cell.c not translator friendly
gpm-cell.c not translator friendly
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-08-29 18:33 UTC by Claude Paroz
Modified: 2008-08-31 20:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Reworked strings marked for translation (5.48 KB, patch)
2008-08-29 18:35 UTC, Claude Paroz
committed Details | Review

Description Claude Paroz 2008-08-29 18:33:55 UTC
The intention to split markup from pure text is basically good (like "<b>%s:</b> %s\n", _("Charge time")), but it raises other problems: space between text and punctuation, different order for RTL languages, translation of units (Wh)...

A patch follows where strings are put again in their context. When markup is not simply enclosing the string (like "<b>text</b>"), it should be included in translation message, even if this is suboptimal because translators could potentially mix things up.
Comment 1 Claude Paroz 2008-08-29 18:35:23 UTC
Created attachment 117597 [details] [review]
Reworked strings marked for translation
Comment 2 Richard Hughes 2008-08-31 16:42:09 UTC
If this is okay to break string freeze, then it's fine with me. Thanks.
Comment 3 Claude Paroz 2008-08-31 20:23:05 UTC
String freeze begins tomorrow evening. I announced the change on gnome-i18n.
Committed in rev 2897.