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 167209 - Avoid putting padding spaces inside translateable gnome-applets stickynotes messages
Avoid putting padding spaces inside translateable gnome-applets stickynotes m...
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: stickynotes
git master
Other All
: Normal normal
: 2.12
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks: 150905
 
 
Reported: 2005-02-12 23:14 UTC by Christian Rose
Modified: 2008-01-08 19:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Removes pad spaces from .glade file, replacing with GtkAlignments (31.96 KB, patch)
2007-03-19 12:08 UTC, Andrew Burton
none Details | Review

Description Christian Rose 2005-02-12 23:14:45 UTC
#: stickynotes/stickynotes.glade.h:2
msgid "    Font C_olor:"

#: stickynotes/stickynotes.glade.h:3
msgid "    Font Co_lor:"

#: stickynotes/stickynotes.glade.h:4
msgid "    Note C_olor:"

#: stickynotes/stickynotes.glade.h:5
msgid "    Note _Color:"

#: stickynotes/stickynotes.glade.h:6
msgid "    _Font:"


Please do *not* align text labels using spaces inside the labels. This is the
year 2005 and not the 1970ies; there ought to be some support for alignment in
the UI toolkit/UI builder itself.
Doing manual padding and fiddling with padding spaces inside translateable
messages is an awful hack that ruins a lot of good work that has been made in
existing translations, and makes all translations have to be updated every time
the padding needs to change. Furthermore, there's no way that the translator
will know how much he or she needs to pad his or her messages, or if the padding
can be left as-is.
Padding does *never* belong inside translateable messages!

Please note though that string freeze is upon us.
Comment 1 Danielle Madeley 2005-02-13 03:38:03 UTC
Oops, this one is my fault. I had meant to only use that as a temporary measure,
and must have forgotten to change it over.
Comment 2 Andrew Burton 2007-03-19 12:08:54 UTC
Created attachment 84875 [details] [review]
Removes pad spaces from .glade file, replacing with GtkAlignments

Created a patch that uses GtkAlignments to align the text labels, and removes the pad spaces from the labels. Affects two dialogs in the .glade file.
Comment 3 Kjartan Maraas 2008-01-08 19:59:14 UTC
I took the liberty to commit this.