Recent

Author Topic: VisualPlanIt and FullDemo r8293  (Read 900 times)

kkuba

  • New Member
  • *
  • Posts: 47
VisualPlanIt and FullDemo r8293
« on: June 14, 2022, 09:48:46 am »
This time a problem with FullDemo. After loading the snapshot r8293, run demo and switching the language for the first time, the demo.po files are damaged (are truncated). All.
You have to write it from the installation file and then it works again. The problem only appears the first time you run it.
Vspr file does not load despite changing language - never.
Lazarus 2.2.2 and Win64.
Something seems to have broken. :(

By the way:

When choosing a language, it should be:
pl - Polski

Message not working from demo.pot
#: tmainform.cbaddressbuilder.text
msgid "(default)"
msgstr "(default)"

Messages not working from vspr.pot
#: vpsr.rsnextmonth
msgid "Next month"
msgstr "Next month"

#: vpsr.rsnextweek
msgctxt "vpsr.rsnextweek"
msgid "Next week"
msgstr "Next week"

#: vpsr.rsnextyear
msgid "Next year"
msgstr "Next year"

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: VisualPlanIt and FullDemo r8293
« Reply #1 on: June 14, 2022, 11:30:22 am »
Quite some time ago the translation system has been changed to create .lrj files, and I had forgotten to add it to the repository.

I reverted some changes that I made in r8293, and the Polish translation should be working now.

kkuba

  • New Member
  • *
  • Posts: 47
Re: VisualPlanIt and FullDemo r8293
« Reply #2 on: June 14, 2022, 11:59:07 am »
8299 - almost good - as shown in the pictures. The rest works

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: VisualPlanIt and FullDemo r8293
« Reply #3 on: June 14, 2022, 12:13:05 pm »
The translation of the MonthView popup menu items should already have been fixed in r8295. Maybe the "clean build" trick helps?

kkuba

  • New Member
  • *
  • Posts: 47
Re: VisualPlanIt and FullDemo r8293
« Reply #4 on: June 14, 2022, 12:32:59 pm »
I checked "clean build" and it is like above - these two things don't work. The rest is ok.

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: VisualPlanIt and FullDemo r8293
« Reply #5 on: June 14, 2022, 12:52:27 pm »
Open unit VpMonthView.pas. Does TVpMonthView have a protected method PopupDropDownEvent? If not, you do not have the correct version. How do you get the updates? Per svn? Fine. Per snapshot? Should be fine too. Per manually downloading files from https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/tvplanit/? Risky... From OPM: definitely out-dated. OPM will not be updated before the current discussions are settled.

kkuba

  • New Member
  • *
  • Posts: 47
Re: VisualPlanIt and FullDemo r8293
« Reply #6 on: June 14, 2022, 02:41:44 pm »
I'll try to check it in the evening. I download snapshots from SourceForge

kkuba

  • New Member
  • *
  • Posts: 47
Re: VisualPlanIt and FullDemo r8293
« Reply #7 on: June 14, 2022, 09:57:31 pm »
Not working. Snapshot 8301, vpmontview.pas 14.06.2022 08.31, Method PopupDropDownEvent exist.

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: VisualPlanIt and FullDemo r8293
« Reply #8 on: June 14, 2022, 11:03:55 pm »
Uninstalled TvPlanIt from my Laz2.2.2/64bit installation (Win 11). Downloaded the r8301 snapshot and installed the runtime and designtime packages. Compiled and ran the fulldemo. Selected Polish language, right-click on the MonthCalendar --> Polish items in context menu.

So, I have not idea what's wrong in your case...

kkuba

  • New Member
  • *
  • Posts: 47
Re: VisualPlanIt and FullDemo r8293
« Reply #9 on: June 15, 2022, 01:03:15 am »
It works. You're right, there was a problem with my Lazarus installation. "Clean build" did not solve the problem, I had to reinstall. But it's actually ok

 

TinyPortal © 2005-2018