[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: libkdeedu: i18n bug
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2006-04-20 17:00:10
Message-ID: 200604201900.10282.aacid () kde ! org
[Download RAW message or body]

A Dimecres 19 Abril 2006 18:28, Richard Fric va escriure:
> Hi,
>
> while translating libkdeedu.po I found a bug related to i18n handling.
> Please look at the following code (taken from
> kdeedu/libkdeedu/extdate/extdatetime.cpp) especially on the "May" item - it
> is the same string in short and also in long name arrays
>
> QString ExtDate::m_shortMonthNames[12] = { i18n("Jan"), i18n("Feb"),
> i18n("Mar"), i18n("Apr"), i18n("May"), i18n("Jun"), i18n("Jul"),
> i18n("Aug"), i18n("Sep"), i18n("Oct"), i18n("Nov"), i18n("Dec") };
>
> QString ExtDate::m_longMonthNames[12] = { i18n("January"),
> i18n("February"), i18n("March"), i18n("April"), i18n("May"), i18n("June"),
> i18n("July"), i18n("August"), i18n("September"), i18n("October"),
> i18n("November"), i18n("December") };
>
> this code leads to the following pot file
> #: extdate/extdatetime.cpp:49 extdate/extdatetime.cpp:56
> msgid "May"
> msgstr ""
>
> Now the "May" strings are merged into one entry but the meaning is
> different for each case - one meaning is abbreviation and second is full
> name of the month. So it is not possible to translate this entry into
> languages in which the abbreviation and full name are not the same string.
>
> I don't know if it is a pot file generation bug or the code must be somehow
> changed to reflect also the context of the string.

The code has to be changed, the problem is that it can NOT be changed for 
3.5.x because we are message frozen.

Still someone has to fix it for trunk. Volunteers to write a patch?

Albert

>
> Richard

	
	
		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic