Michael Van Canneyt wrote:
On Tue, 22 Apr 2008, Graeme Geldenhuys wrote:
By default under Linux, the LongDateFormat is defined in SysUtils as follows:
LongDateFormat: 'dd" "mmmm" "yyyy';
Must there be double quotes in the string? If so, what purpose do they serve?
I've tried with or without the double quotes and the output is exactly the
same on my Linux system.
dd" "mmmm" "yyyy = 22 April 2008
dd mmmm yyyy = 22 April 2008
The quotes are just a safety measure; In this particular case, they serve no
purpose. But in general, so substitution is performed on parts that are in
double quotes.
OK thanks. The reason I ask, is because I define the Lond Date Format
in a resourcestring constant. Translating that to a .PO file I end up
with the following.... It works, but just doesn't look so nice. :)
#: gfx_constants:rslongdateformat
msgid "dd\" \"mmmm\" \"yyyy"
msgstr ""
Regards,
- Graeme -
_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal