incorrect translation of date in Sunbird / Lightning

RESOLVED FIXED

Status

Mozilla Localizations
zh-CN / Chinese (Simplified)
--
minor
RESOLVED FIXED
10 years ago
5 years ago

People

(Reporter: gkw, Assigned: Shaohua Wen)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
Created attachment 308800 [details]
screenshot
(Reporter)

Comment 1

10 years ago
connection cut me off whilst filing this bug..

see screenshot; the current date should be "三月十一日" instead of "三 11" that we see now. The en-US version has the string "March 11" for comparison.
Summary: wrong → incorrect translation of date
(Reporter)

Comment 2

10 years ago
i see it on Mozilla/5.0 (Macintosh; U; Intel Mac OS X; zh-CN; rv:1.8.1.13pre) Gecko/20080310 Sunbird/0.8
Blocks: 412641

Comment 3

10 years ago
I just fix this question, but there is no corresponding date of the translation, example: "March 11" may be translate to "三月 11".
(Reporter)

Comment 4

10 years ago
I'm not sure how tough it is to translate to "三月十一日" instead of "三月 11" this late in the 0.8 game. But at least "三月 11" is an improvement over "三 11". It works better, though not ideally.
I can't decide if the current translation is correct or not. 

But the displayed string is created by calDateTimeFormatter::formatDateWithoutYear():
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/calendar/base/src/calDateTimeFormatter.js&rev=1.1.2.10&mark=162-169#162

The short month name used is taken from month.[1-12].Mmm in http://mxr.mozilla.org/l10n-mozilla1.8/source/zh-CN/calendar/chrome/calendar/dateFormat.properties#39

If you are going to change this strings don't forget that this might effect many other places as well, e.g. print output, today pane, date picker.
(Reporter)

Comment 6

10 years ago
since this occurs in 0.7 already, this shouldn't block 0.8 release.
No longer blocks: 412641
Severity: normal → minor
Summary: incorrect translation of date → incorrect translation of date in Sunbird / Lightning
Does the issue still exists using a recent Sunbird 0.9pre nightly build?
(Assignee)

Comment 8

10 years ago
Created attachment 332863 [details]
Yes, similar.
(Assignee)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.