Discussion:
first (little) bug discovered
XDatap1
2003-02-09 15:42:53 UTC
Permalink
Hi guy.

In libmrproject, in file mrproject/mrp-time.c i found:

Static const gchar *month_names[] = {
N_("January"),
N_("February"),
N_("March"),
N_("April"),
N_("May"), <------here, line 55
N_("June"),
N_("July"),
N_("August"),
N_("September"),
N_("October"),
N_("November"),
N_("December")
};

and

/* i18n: abbreviated month names. */
N_("Jan"),
N_("Feb"),
N_("Mar"),
N_("Apr"),
N_("May"), <------here, line 39
N_("Jun"),
N_("Jul"),
N_("Aug"),
N_("Sep"),
N_("Oct"),
N_("Nov"),
N_("Dec")
};

then in po file become:

#: mrproject/mrp-time.c:39 mrproject/mrp-time.c:55
msgid "May"
msgstr ""

The abbreviated name and the complete name of "May" are equals in English, but
not for all other languages.

I think this code should be:

N_("?long:May"),

for line 55

N_("?short:May"),

for line 39

Bye
--
XDatap1 - Paolo Sammicheli
EMail: xdatap1(at)siena.linux.it
Slug - Siena Linux User Group
http://siena.linux.it
- Non ho paura dei computer, ho paura della loro mancanza. (I. Asimov) -
Christian Rose
2003-02-09 15:54:09 UTC
Permalink
Post by XDatap1
Static const gchar *month_names[] = {
N_("January"),
N_("February"),
N_("March"),
N_("April"),
N_("May"), <------here, line 55
N_("June"),
N_("July"),
N_("August"),
N_("September"),
N_("October"),
N_("November"),
N_("December")
};
and
/* i18n: abbreviated month names. */
N_("Jan"),
N_("Feb"),
N_("Mar"),
N_("Apr"),
N_("May"), <------here, line 39
N_("Jun"),
N_("Jul"),
N_("Aug"),
N_("Sep"),
N_("Oct"),
N_("Nov"),
N_("Dec")
};
#: mrproject/mrp-time.c:39 mrproject/mrp-time.c:55
msgid "May"
msgstr ""
The abbreviated name and the complete name of "May" are equals in English, but
not for all other languages.
Including these month names in the po files is just broken altogether,
since these values are already translated in the locale definition, so
there should be no need to require each and every translator to
translate it again.
There's already an old bug report about that at
http://bugzilla.codefactory.se/show_bug.cgi?id=289.


Christian
Mikael Hallendal
2003-02-13 15:39:22 UTC
Permalink
Post by Christian Rose
Including these month names in the po files is just broken altogether,
since these values are already translated in the locale definition, so
there should be no need to require each and every translator to
translate it again.
There's already an old bug report about that at
http://bugzilla.codefactory.se/show_bug.cgi?id=289.
Set this bug to be for 0.10 so that we'll remember to take a look at it
(provided we have the time for it which I hope ...)

Regards,
Mikael Hallendal
--
Mikael Hallendal ***@codefactory.se
CodeFactory AB http://www.codefactory.se/
Cell: +46 (0)709 718 918
Loading...