Quantcast

TB 45 (US English version) 32-bit linux: error messages when I receive Japanese calendar event(?)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

TB 45 (US English version) 32-bit linux: error messages when I receive Japanese calendar event(?)

ISHIKAWA,chiaki
I am using TB 45 US English version (linux 32-bit) in a slightly
unintended manner, but I got the following strange error messages as shown
below.
These messages are printed on the tty console where I invoked thunderbird
manually.


I *think* this happened when I receive a calendar event (meeting appointment
notice) from
a Japanese office365 server, but I only notice this error messages this
morning, and not so sure.

Looking at PluralForm.jsm comm-central/mozilla/intl/locale/PluralForm.jsm,
I think we can probably pattern the handling of plural forms in Japanese
(there is NO PLURAL form of ordinary nouns although there ARE nouns that
refer to the group of things.) to that of Chinese probably?

But I am not familiar how the code works against what external data file.

In the following, various units of time appear: 分 (minute), 時間 (hour),
日(day), 週間 (week)
These time units remain unchanged when it is
one minute, or five minute for example.
1 分
5 分

unitPluralForm is in calendar code according to mx.rmozilla.org

    calendar/base/content/calendar-ui-utils.js (View Hg log or Hg annotations)
        line 428 -- function unitPluralForm(aLength, aUnit,
aIncludeLength=true) {

The error messages:

PluralForm.jsm: Index #1 of '#1 分' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 0 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 0 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 0 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 2 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 3 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 4 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 5 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 6 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 7 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 週間' for value 2 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 週間' for value 3 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 週間' for value 4 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 5 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 0 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 0 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 0 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 60 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 2 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 3 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 4 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 5 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 6 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 7 is invalid -- plural rule #1;
called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 週間' for value 2 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 週間' for value 3 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 週間' for value 4 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 時間' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 日' for value 15 is invalid -- plural rule
#1; called by unitPluralForm
PluralForm.jsm: Index #1 of '#1 分' for value 5 is invalid -- plural rule #1;
called by unitPluralForm

PS: not sure where this bug (?) or oversight of the Japanese code handling,
or maybe insufficient locale data
ought to be fixed.
(Aha, maybe I won't be seeing this if I use Japanese localized version of
TB? But, if so,
I have a feeling that people working in a multi-national trading companies
have mutltitude of such error messages if they care to check
if my hunch is true.)

Please feel free to repost/forward to appropriate newsgroups/mailing-lists.
_______________________________________________
dev-apps-calendar mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-calendar
Loading...