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 658679 - event list, "All Day" tight space for localization
event list, "All Day" tight space for localization
Status: RESOLVED DUPLICATE of bug 645693
Product: gnome-shell
Classification: Core
Component: calendar
unspecified
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-09-09 20:49 UTC by Luc Pi
Modified: 2011-09-13 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luc Pi 2011-09-09 20:49:32 UTC
The UI design of the calendar gives a very tight space for the short string "All Day". Basically anything longer by more than 2-3 characters will look bad. 

This will be a real challenge for some languages, and may end up in a low quality localization. 

The UI design could be rethought to avoid using such short string


At the minimum, 
could you improve the translator comments to help translators better?

in ../js/ui/calendar.js:63
/* Translators: Shown in calendar event list for all day events
 * Keep it short, best if you can use less then 10 characters

==>

/* Translators: Shown in calendar event table, in the starting time
 * column, for all day events.  Keep it short, best if you can use
 * less than 10 characters. Anything much longer will not look good.
 * Example of use:
 *    Mon    10:10  foofoo foofoo
 *    Mon    12:30  bar bar bar bar
 *    Tue  All Day  foofoo foofoo
 *    Tue     8:30  baz
Comment 1 Luc Pi 2011-09-09 21:08:14 UTC
Note about the case when nothing is scheduled in one section.  The UI gives the possibility to use more space that could be used to be more explicit.  Therefore you could consider NOT reusing the (possibly shortened) "All Day" string, but another one, full length.

http://git.gnome.org/browse/gnome-shell/tree/js/ui/calendar.js#n687


Though overall, I think the UI should be rethought to be more l10n friendly
Comment 2 Dan Winship 2011-09-12 13:11:42 UTC

*** This bug has been marked as a duplicate of bug 645693 ***
Comment 3 Luc Pi 2011-09-12 13:24:32 UTC
Dan,

could you explain why you think this is a duplicate?
Comment 4 Dan Winship 2011-09-12 13:30:26 UTC
because 645693 is about the fact that the calendar layout doesn't work well in other languages because some of the strings don't have short translations?
Comment 5 Luc Pi 2011-09-13 18:05:32 UTC
This is exact, at high level. But I am afraid 645693 is not fixing this one. anyway, you have my comments.
1. design is not robust to l10n
2. help translators better
3. eventually handle the "nothing scheduled" case separately