Re: [fpc-devel] the new resourcestring in const translation

2011-09-10 Thread Anton Kavalenka
On 10.09.2011 12:05, Marco van de Voort wrote: In our previous episode, Anton Kavalenka said: This being translated always and is Delphi compatible It is if you use Delphi based resources for translating. It is not if you use thirdparty translation packages udner Delphi like e.g. dxgettext

Re: [fpc-devel] the new resourcestring in const translation

2011-09-10 Thread Marco van de Voort
In our previous episode, Anton Kavalenka said: > This being translated always and is Delphi compatible It is if you use Delphi based resources for translating. It is not if you use thirdparty translation packages udner Delphi like e.g. dxgettext ___ fpc

Re: [fpc-devel] the new resourcestring in const translation

2011-09-10 Thread Anton Kavalenka
On 09.09.2011 18:27, Sergei Gorelkin wrote: 09.09.2011 18:36, Martin пишет: fpc recently added the ability to translate const Foo: String = resourcestring; if resourcestring changes so does Foo Any way to work around this? Probably only by duplicating the literal value which is used to initia

Re: [fpc-devel] the new resourcestring in const translation

2011-09-09 Thread cobines
2011/9/9 Sergei Gorelkin : > Personally I don't think this is a valuable feature, but the matter of fact > is all Delphi features are implemented in FPC sooner or later - so why not > to do it sooner... There was recently a fix to Lazarus where some buttons captions were stored as constants string

Re: [fpc-devel] the new resourcestring in const translation

2011-09-09 Thread Sergei Gorelkin
09.09.2011 18:36, Martin пишет: fpc recently added the ability to translate const Foo: String = resourcestring; if resourcestring changes so does Foo Any way to work around this? Probably only by duplicating the literal value which is used to initialize. because in C:\lazarus_latest\componen

[fpc-devel] the new resourcestring in const translation

2011-09-09 Thread Martin
fpc recently added the ability to translate const Foo: String = resourcestring; if resourcestring changes so does Foo Any way to work around this? because in C:\lazarus_latest\components\synedit\syneditstrconst.pp there are a lot of strings initialized that way with the intend of the old be