Fredrik Jervfors wrote:
>>>>I want to remove the W in front of week number in the calendar.
>>>>Alternative translate W to U in Norwegian. I can't find it in the
>>>>pot-file. -- Pål Monstad
>>>>
>>>
>>>"W" is the international ISO 8601 standard for "week", so technically
>>>it should not be to translated.
>>>
>>>"All members of CEN (all of Western Europe and Scandinavia, and most of
>>> Eastern Europe) are required to adopt the EN 28601 European Standard.
>>>Most
>>>have now done so, as detailed below: /---/
>>>Norway: NS-ISO 8601
>>>/---/"
>>>
>>>This means that the Norwegian abbreviation for "uke" is "W".
>>>
>>>Still, it might be nice to do so because most end users doesn't
>>>care/know about standards anyway, so maybe Paul will fix it in the next
>>>version.
>>
>>OK. Anyone who knows where in the hard code the W is inserted? I'd like
>>to replace it with '' as I have never seen a W in front of the week number
>>in Norwegian calendars, even if it is an ISO standard :-)
> 
> 
> I think it's in calendar/interface/month.php row 298, but I wouldn't bet
> my life on it.
> 
> calendar/interface/month.php:298:         ? html_tag('td', '<small>W' .
> date_intl('W', $theDay) . '</small>', '',
> $calendar_theme['month_view_day_background'],
> '')

that's it.  the new code looks like this:

? html_tag('td', '<small>' . sprintf(_("W%s"), date_intl('W', $theDay))
. '</small>', '', $calendar_theme['month_view_day_background'], '')

and "W%s" is in the pot file now


> By the way, most Swedes doesn't know that this is the standard in Sweden
> as well, so I'm also thinking about translating it. The first time I found
> out about it was reading a regulation issued by the Swedish government
> about how to keep diaries for (snail-)mail. Most people don't read that
> stuff (and I sure didn't read it for fun).

the government has regulations about how to write a diary.  lovely.
ahhh, what's next?   ;)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to