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 333003 - Yesterday and Today not translated in list view
Yesterday and Today not translated in list view
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 341338 (view as bug list)
Depends on:
Blocks: 236276
 
 
Reported: 2006-03-01 14:58 UTC by Karsten Bräckelmann
Modified: 2013-09-13 00:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch by Gary Coady <garycoady@ubuntu.com> (411 bytes, patch)
2006-05-20 20:37 UTC, Sebastien Bacher
committed Details | Review

Description Karsten Bräckelmann 2006-03-01 14:58:50 UTC
In the mail list, the strings Yesterday and Today (see Date column) are not translated.

This strings seem to not be effected by either LANG, LANGUAGE, LC_TIME, not LC_ALL.

According to the po file, there is a transtaltion for msgid "Yesterday %l:%M %p" and a bunch of "Today" ones. However, they are not used.


Solution:

* The time and date value *must* be displayed according to LC_TIME.
  Which it currently is, I believe (without extensive testing).

* The custom added Yesterday and Today strings must be translated according to
  LANG env var.

Obviously, the latter is not the case and need to be fixed.
Comment 1 Karsten Bräckelmann 2006-03-01 15:00:28 UTC
Considering this to be a major UI issue, highly visible to the user and disturbing. Targetting for 2.7.
Comment 2 André Klapper 2006-03-01 15:06:04 UTC
can confirm this.
Comment 3 Daniel Schindler 2006-03-01 15:12:31 UTC
Also affected (tried an custom po file with some text in front of the msgstr)

#: ../mail/message-list.c:1345 ../plugins/itip-formatter/itip-view.c:196
#: ../widgets/table/e-cell-date.c:72
msgid "Today %l:%M %p"

#: ../mail/message-list.c:1354 ../widgets/table/e-cell-date.c:82
msgid "Yesterday %l:%M %p"

#: ../mail/message-list.c:1366 ../widgets/table/e-cell-date.c:94
msgid "%a %l:%M %p"

#: ../mail/message-list.c:1374 ../widgets/table/e-cell-date.c:102
msgid "%b %d %l:%M %p"

#: ../mail/message-list.c:1376 ../widgets/table/e-cell-date.c:104
msgid "%b %d %Y"
Comment 4 André Klapper 2006-03-05 00:22:53 UTC
if the string is not marked translation by accident, this should be targetted to 2.6.
Comment 5 André Klapper 2006-03-05 00:23:30 UTC
^ for
Comment 6 André Klapper 2006-05-11 09:13:59 UTC
*** Bug 341338 has been marked as a duplicate of this bug. ***
Comment 7 Sebastien Bacher 2006-05-11 10:35:57 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/evolution/+bug/44081
Comment 8 Sebastien Bacher 2006-05-20 20:37:03 UTC
Created attachment 65918 [details] [review]
patch by Gary Coady <garycoady@ubuntu.com>

from the distribution bug:

"Evolution uses an incorrect gettext domain - it uses "evolution" instead of "evolution-2.6"."

"This should make evolution use the correct gettext domain for translations."
Comment 9 Harish Krishnaswamy 2006-05-31 10:39:55 UTC
Pl. commit this to the HEAD and the gnome-2-14 branch. Not sure if this constitutes a freeze break - We can notify the translation team anyway - just to be sure.
Comment 10 André Klapper 2006-06-08 20:00:29 UTC
patch committed both to stable branch and HEAD:

http://cvs.gnome.org/viewcvs/evolution/e-util/e-i18n.h?r1=1.11&r2=1.12
http://cvs.gnome.org/viewcvs/evolution/e-util/e-i18n.h?r1=1.11&r2=1.11.20.1

fix will be included in stable evolution 2.6.3 and unstable evolution 2.7.3.

sent an email to gnome-i18n [at] gnome.org.