Closed Bug 422318 Opened 16 years ago Closed 11 years ago

incorrect translation of date in Sunbird / Lightning

Categories

(Mozilla Localizations :: zh-CN / Chinese (Simplified), defect)

x86
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gkw, Assigned: shaohua.wen)

Details

Attachments

(2 files)

Attached image screenshot
      No description provided.
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
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
I just fix this question, but there is no corresponding date of the translation, example: "March 11" may be translate to "三月 11".
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.
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?
Attached image Yes, similar.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: