[Lazarus] Cannot make IDE after patch for "uses GraphType"

2018-06-19 Thread AlexeyT via Lazarus
checklst.pas(24,46) Fatal: Cannot find GraphType used by CheckLst, incompatible ppu=/home/user/lazarus/components/lazutils/lib/x86_64-linux/graphtype.ppu, multiple packages: LazUtils, LCLBase maybe it's some bug? i just updated from trunk. and used "svn revert -R ." -- Regards, Alexey -- ___

[Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, i have done generating .po files, could translate it through PoEdit, but - when i add some RS or component, Lazarus update only main .po file, not .cs.po etc. So could Lazarus update these files too, or is there any merge tool for this ? Of course, I understand, that I must transla

Re: [Lazarus] Cannot make IDE after patch for "uses GraphType"

2018-06-19 Thread Ondrej Pokorny via Lazarus
On 19.06.2018 13:05, AlexeyT via Lazarus wrote: checklst.pas(24,46) Fatal: Cannot find GraphType used by CheckLst, incompatible ppu=/home/user/lazarus/components/lazutils/lib/x86_64-linux/graphtype.ppu, multiple packages: LazUtils, LCLBase maybe it's some bug? i just updated from trunk. and u

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Carlos E. R. via Lazarus
On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: > Hello, > > i have done generating .po files, could translate it through PoEdit, > but - when i add some RS or component, Lazarus update only main .po > file, not .cs.po etc. So could Lazarus update these files too, or is > there any m

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, thanks for long answer, but - Lazarus generate only .po file ( and .lrs in output directory). There is no .pot file. T.E. úterý 19. června 2018, 13:37:14, napsal jste: > On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: >> Hello, >> >> i have done generating .po files, could tr

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 14:09, Tomáš Emresz via Lazarus пишет: > Hello, > > i have done generating .po files, could translate it through PoEdit, > but - when i add some RS or component, Lazarus update only main .po > file, not .cs.po etc. So could Lazarus update these files too, or is > there any me

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 14:37, Carlos E. R. via Lazarus пишет: > On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: >> Hello, >> >> i have done generating .po files, could translate it through PoEdit, >> but - when i add some RS or component, Lazarus update only main .po >> file, not .cs.po etc. So c

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, lazarus 1.8.5 (fixes) Date : 2018-06-14 FPC: 3.0.5 SVN: 58067 i386-win32-win32/win63 Running on Windows 10 CZ Pro. In some unit a have added LCLTranslator, setup i18n in project config with right path, so components and resouceestrings showed in po. When I add new, there is in main xxx.p

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 14:55, Tomáš Emresz via Lazarus пишет: > Hello, > > lazarus 1.8.5 (fixes) > Date : 2018-06-14 > FPC: 3.0.5 > SVN: 58067 > i386-win32-win32/win63 > > Running on Windows 10 CZ Pro. > > In some unit a have added LCLTranslator, setup i18n in project config > with right path, so compone

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Carlos E. R. via Lazarus
On 2018-06-19 13:51, Maxim Ganetsky via Lazarus wrote: > > > 19.06.2018 14:37, Carlos E. R. via Lazarus пишет: >> On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: >>> Hello, >>> >>> i have done generating .po files, could translate it through PoEdit, >>> but - when i add some RS or compo

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Zbyněk Fiala via Lazarus
Hello Tomáš, I used this approach several times https://github.com/alrieckert/lazarus/tree/master/examples/translation and it worked. For example here: https://github.com/zbyna/Media-Stub-Kodi-Creator/blob/2373ec4ff24bf124cb244eab07772e3cc81bee47/unit1.pas#L22 https://github.com/zbyna/Media-Stub-Ko

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, i was searching for, changing something and I don't understand. When I add force update po on next compile, change showed only in .cs.po (main .po was not changed). When I add some resoucestrings to unit (not form), this RS is not somewhere (I also tried force update .po). Antivir

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 16:26, Tomáš Emresz via Lazarus пишет: > Hello, > > i was searching for, changing something and I don't understand. When I > add force update po on next compile, change showed only in .cs.po > (main .po was not changed). Therefore only .cs.po was outdated. > When I add some

[Lazarus] CodeTools commands question

2018-06-19 Thread Vojtěch Čihák via Lazarus
Hi,   is there a CodeTool command that can take me directly to procedure/method implementation?   Example:   function TTreeNode.GetTop: integer; begin   if TreeView <> nil then     TreeView.UpdateAllTops|;  //<-- caret is HERE   Result := FTop; end;     by default, Ctrl+Shift+Up and Ctrl+Shift+Do

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Mattias Gaertner via Lazarus
On Tue, 19 Jun 2018 16:57:11 +0200 Vojtěch Čihák via Lazarus wrote: >[...] Hi, >   > is there a CodeTool command that can take me directly to procedure/method > implementation? >   > Example: >   > function TTreeNode.GetTop: integer; > begin >   if TreeView <> nil then >     TreeView.UpdateAllTo

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Vojtěch Čihák via Lazarus
Thanks, it works.   Still, it would be nice to have two separate actions for this, Alt+Up and At+Down.   V. __ Od: Mattias Gaertner via Lazarus Komu: lazarus@lists.lazarus-ide.org Datum: 19.06.2018 17:05 Předmět: Re: [Lazarus] CodeTool

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Ondrej Pokorny via Lazarus
On 19.06.2018 19:22, Vojtěch Čihák via Lazarus wrote: Still, it would be nice to have two separate actions for this, Alt+Up and At+Down. I agree. But there is one problem: what to do with Ctrl+Click? AFAIK Lazarus IDE cannot change mouse mappings, only key mappings. Or am I wrong? Ondrej --

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Martin Frb via Lazarus
On 19/06/2018 19:26, Ondrej Pokorny via Lazarus wrote: On 19.06.2018 19:22, Vojtěch Čihák via Lazarus wrote: Still, it would be nice to have two separate actions for this, Alt+Up and At+Down. I agree. But there is one problem: what to do with Ctrl+Click? AFAIK Lazarus IDE cannot change mouse

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Ondrej Pokorny via Lazarus
On 19.06.2018 19:42, Martin Frb via Lazarus wrote: On 19/06/2018 19:26, Ondrej Pokorny via Lazarus wrote: On 19.06.2018 19:22, Vojtěch Čihák via Lazarus wrote: Still, it would be nice to have two separate actions for this, Alt+Up and At+Down. I agree. But there is one problem: what to do with

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, úterý 19. června 2018, 16:14:01, napsal jste: > 19.06.2018 16:26, Tomáš Emresz via Lazarus пишет: >> Hello, >> >> i was searching for, changing something and I don't understand. When I >> add force update po on next compile, change showed only in .cs.po >> (main .po was not change

Re: [Lazarus] Cannot make IDE after patch for "uses GraphType"

2018-06-19 Thread Juha Manninen via Lazarus
On Tue, Jun 19, 2018 at 2:05 PM AlexeyT via Lazarus wrote: > checklst.pas(24,46) Fatal: Cannot find GraphType used by CheckLst, > incompatible > ppu=/home/user/lazarus/components/lazutils/lib/x86_64-linux/graphtype.ppu, > multiple packages: LazUtils, LCLBase > > maybe it's some bug? i just updated

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 21:07, Tomáš Emresz via Lazarus пишет: Hello, úterý 19. června 2018, 16:14:01, napsal jste: 19.06.2018 16:26, Tomáš Emresz via Lazarus пишет: Hello, i was searching for, changing something and I don't understand. When I add force update po on next compile, change showed only i

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-19 Thread Bo Berglund via Lazarus
On Wed, 13 Jun 2018 10:29:05 +0200, Michael Schnell via Lazarus wrote: >On 12.06.2018 17:08, Sven Barth via Lazarus wrote: >> No. Delphi does *not* solve this by using dynamic linking. >OK. I see. Thanks for pointing this out. > >Hence in such a (potentially problematic) case the suggested soluti

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-19 Thread Bo Berglund via Lazarus
On Mon, 11 Jun 2018 10:13:21 +0200, Michael Schnell via Lazarus wrote: >On 08.06.2018 19:05, Bo Berglund via Lazarus wrote: >> This Delphi package is a collection of some 20 components and all of >> them have Register procedures inside of each source file. > >Are those really IDE-relevant package