Recent

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

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
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 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

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

wp

  • Hero Member
  • *****
  • Posts: 11856
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.

 

TinyPortal © 2005-2018