Re: [MSEide-MSEgui-talk] bug in ubuntu 14_04

2014-04-27 Thread Ivanko B
I don't understand = A russian idiom, means Nobody helps but to oneself :) -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software

Re: [MSEide-MSEgui-talk] bug in ubuntu 14_04

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 06:02:35 Martin Schreiber wrote: My bug report has been marked as invalid because I don't know which package is affected: https://gitorious.org/mseuniverse/mseuniverse/source/testcase/window/static gravity The correct URL: https://bugs.launchpad.net/ubuntu/+bug/1312044

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 18:25:15 Alexey Loginov wrote: gettext uses apostrophe, that's why it needs patch, which cancel usage 2 apostrophes together, but use quotes instead and full form for don't: sed -i s|''Project''|\Project\|g sed -i s|''Options''|\Options\|g sed -i

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
in all mfm files http://pastebin.com/NU4HgiLw -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible,

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 18:51:56 Alexey Loginov wrote: in all mfm files http://pastebin.com/NU4HgiLw Can you write an example how it is now and how it should be? I don't know regex, sorry. Martin -- Start Your Social

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
There is patch in attachment. There is problem with #10 also for gettext. Will you use const instead of #10 directly in strings? diff -ur lang_ru/guitemplates.mfm lang_ru.new/guitemplates.mfm --- lang_ru/guitemplates.mfm 2014-04-27 21:02:23.0 +0400 +++ lang_ru.new/guitemplates.mfm

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 19:13:36 Alexey Loginov wrote: There is patch in attachment. There is problem with #10 also for gettext. Will you use const instead of #10 directly in strings? How would this look in the previous example?

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
'MSEide Copyright 1999-2013 by Martin Schreiber'#10'Usage: mseide [OPTION]... [PROJECTFILE]'#10#10'Options:' - Maybe (I don't know mfm, what will be workable): 'MSEide Copyright 1999-2013 by Martin Schreiber'+chr(10)+'Usage: mseide [OPTION]... [PROJECTFILE]'+chr(10)+chr(10)+'Options:' or 'MSEide

[MSEide-MSEgui-talk] compiling

2014-04-27 Thread Med Hamza
Hi there, I have the following error when I build my new project mdb.pas(25,44) Fatal: Can't find unit maskutils used by mdb Rem: option make directory 1. ${MSELIBDIR}kernel/$TARGETOSDIR 2. I am using ubuntu. thank you.

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 19:36:01 Alexey Loginov wrote: 'MSEide Copyright 1999-2013 by Martin Schreiber'#10'Usage: mseide [OPTION]... [PROJECTFILE]'#10#10'Options:' - Maybe (I don't know mfm, what will be workable): *.mfm is the format used by Delphi/FPC

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
xgettext don't work with Pascal and work with .mfm only in Perl mode :( , but problems are minimal. Easy to use tstringcontainer: 'MSEide Copyright 1999-2013 by Martin Schreiber' 'Usage: mseide [OPTION]... [PROJECTFILE]' 'Options:' In code: caption:=A+#10+B+#10+#10+C; etc. for all #10.

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 20:06:26 Alexey Loginov wrote: xgettext don't work with Pascal and work with .mfm only in Perl mode :( , but problems are minimal. Easy to use tstringcontainer: 'MSEide Copyright 1999-2013 by Martin Schreiber' 'Usage: mseide [OPTION]... [PROJECTFILE]' 'Options:'

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
But tstringcontainer uses exact the same functions? Strange. I wrote example how to move #10 from .mfm into .pas, that's why in this case xgettext will extract strings from .mfm correctly. Should we do without apostroph in MSEgui programs and forms in future? Don't use double apostrophes in .mfm

Re: [MSEide-MSEgui-talk] compiling

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 19:57:06 Med Hamza wrote: Hi there, I have the following error when I build my new project mdb.pas(25,44) Fatal: Can't find unit maskutils used by mdb The unit is in /usr/lib/fpc/2.6.4/units/i386-linux/fcl-base/maskutils.ppu Rem: option make directory 1.

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 20:33:55 Alexey Loginov wrote: But tstringcontainer uses exact the same functions? Strange. I wrote example how to move #10 from .mfm into .pas, that's why in this case xgettext will extract strings from .mfm correctly. That means we sould not use objectinspector to

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
That means we sould not use objectinspector to define multiline string properties anymore? How does this work with a multiline button caption for example? create example.mfm and check: touch messages.pot xgettext -a -j -L Perl example.mfm -o messages.pot If you want to use apostrophes for example

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Sieghard
Hallo Martin, Du schriebst am Sun, 27 Apr 2014 19:59:12 +0200: mseide [OPTION]... [PROJECTFILE]'+chr(10)+chr(10)+'Options:' This is no valid Pascal string in *.mfm. use 'Usage: mseide [OPTION]... [PROJECTFILE]'^J^J instead. This should be a 'valid Pascal string', at least it's a valid

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 20:47:34 Sieghard wrote: Hallo Martin, Du schriebst am Sun, 27 Apr 2014 19:59:12 +0200: mseide [OPTION]... [PROJECTFILE]'+chr(10)+chr(10)+'Options:' This is no valid Pascal string in *.mfm. use 'Usage: mseide [OPTION]... [PROJECTFILE]'^J^J instead. This should

Re: [MSEide-MSEgui-talk] Package mseide-msegui

2014-04-27 Thread Alexey Loginov
Can't you fix gettext so that it supports Pascal? No. Problem with #10 is minor, will be fixed run-time while POT is geterating. Better apply patch about double apostrophes. -- Accelerate Dev Cycles with Automated