Author Topic: Some patch for CalLite component  (Read 435 times)


  • Sr. Member
  • ****
  • Posts: 262
Some patch for CalLite component
« on: June 02, 2020, 01:47:07 am »
Hi guys.

I made russian locale for Callite component. Please make corrections if my work is not worthless

Update: I didn't see in the demo how the lines 'Holidays in %d' and 'There are no holidays set for %d' are displayed when the argument %d has a real value. Can anyone show me this?

I need this so that the localization into Russian is as correct as possible.
« Last Edit: June 02, 2020, 12:22:53 pm by zoltanleo »
Win10 LTSC x64/Deb 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.63554); FPC 3.3.1 (r.45871), FireBird 3.0.6

Sorry for my bad English, I'm using translator ;)


  • Hero Member
  • *****
  • Posts: 7544
Re: Some patch for CalLite component
« Reply #1 on: June 16, 2020, 11:02:09 pm »
Sorry, I had seen this post, but after it had slipped out of the "Recent" list I forgot about it...

I added your Russian translation to the current trunk version.

The '%d' in the mentioned display texts will be replaced by the year number internally and thus requires an integer, not a real. The strings are used in the context menu of the calendar in demo2. The case 'There are no holidays set for %d' is not covered in the demo; you can force its usage for test purposes by adding an "exit" instruction after the "ClearHolidays()" in "TForm1.GetHolidays()" so that no holidays are defined.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...


TinyPortal © 2005-2018