[fpc-devel] fpcdoc slovak translation
dusan.halicky at gmail.com
Wed May 28 10:34:06 CEST 2008
In the attachement, there is slovak translation "dglobals.sk.po" for
FPDOC tool. In order to use it on windows, I need to do also following
changes (agains FPC 2.2.0):
in "dw_html.pp", line 604:
El['content'] := 'text/html; charset=iso-8859-1';
El['content'] := 'text/html; charset=utf-8';
To prevent requirement of intl/dglobals.sk.mo in current directory
when using fpdoc, I have to change following:
in "dglobals.pp", line 1209:
mo := TMOFile.Create(Format('intl/dglobals.%s.mo', [Lang]));
mo := TMOFile.Create(GetEnvironmentVariable('FPDOC_INTL_PATH')+Format('intl/dglobals.%s.mo',
and I set environment variable FPDOC_INTL_PATH to C:\FPC\ where
"dglobals.sk.mo" is in "C:\FPC\intl\dglobals.sk.mo" - but this is just
simplest workaround, probably some extra switches will be nicer, e.g.:
fpdoc --html-charset="utf-8" --mo-path="C:\FPC\"
or something like that. Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3436 bytes
Desc: not available
More information about the fpc-devel