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

List:       kde-pim
Subject:    Re: [Kde-pim] Holidays file format: a holiday renamed in 2011
From:       John Layt <jlayt () kde ! org>
Date:       2011-11-06 22:30:06
Message-ID: CAM1DM6=ocn1-k8LxNeWOtzoZ+ozx0oQq76Ha5Q6v2J30dM0BCg () mail ! gmail ! com
[Download RAW message or body]

On 6 November 2011 08:42, Alexander Potashev <aspotashev@gmail.com> wrote:

> Hi!
>
> This year "militsiya" in Russia was renamed to police, so was the "Day
> of militsiya". Now I can't decide what to do with plan1/holiday_ru_ru
> and plan2/holiday_ru_ru in kdepimlibs/kholidays/holidays/. Here are
> the options:
> 1. Simply change the name of the holiday. But then if you open a year
> before 2011 in the calendar, you'll still see the new name of the
> holiday.
> 2. The best thing to do would be, I think, to have 2 holidays: the
> first should appear only for the year 2010 and before, and the second
> one only for 2011 and later. But I'm afraid this behaviour of the
> calendar can't be currently defined in the file "holiday_ru_ru".
>
> I wanted to know how other translation teams deal with this, so I
> grepped all holiday definition files and I've found an ":: After 2005"
> line in holiday_se_sv. The people who wrote this file probably meant
> that some holidays only existed before 2005 and some other holidays
> appeared in 2005. But ":: " lines are just comments, so they won't
> make the calendar work differently, am I wrong?
>
> The holiday I'm talking about is currently defined in holiday_ru_ru as
> follows:
> "День милиции"
>  on november 10
>
>
Hi,

The file format supports start and end dates for holidays, it's just not
well documented, so if you raise a bug against KHolidays with the details
I'll change it sometime this week.

Cheers!

John.
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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