Am 18.06.2014 18:32 schrieb "Péter Gábor" <[email protected]>: > > > > 2014-06-18 09:44 keltezéssel, Mattias Gaertner írta: > > In the old days special characters were not converted properly. > > > > I just tested: > > > > 'A'#10'BC' is converted to > > msgid "" > > "A\n" > > "BC\n" > > > > Note the new line behind BC. When this is fixed, I can adapt the 'Make > > resourcestring dialog'. > > > > Also all line breaks (#10, #13, #13#10) are converted to \n and on > > loading to the system line break. That's ok for all strings > > passed to the LCL, but all other must be checked manually. > > > > Mattias > > What is about that all systems has its own LineEnding? > eg.: a single #10 or a single #13 is not marking EOL on windows, #13 is > not marking EOL on Linux, etc.
\n is automatically converted using the LineEnding variable when the PO-reader parses it. So you are only out of luck if you want a resourcestring that should contain e.g. #13#10 on e.g. a Linux system. Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
