mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 18:19:08 +02:00
LCLTranslator: updated comments
git-svn-id: trunk@61603 -
This commit is contained in:
parent
bd30dff893
commit
1e1a161608
@ -18,17 +18,14 @@ unit LCLTranslator;
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
This unit is needed for using translated form strings made by Lazarus IDE.
|
This unit is needed for using translated form strings made by Lazarus IDE.
|
||||||
It searches for translated .po/.mo files in some common places. If you need
|
It searches for translated .po/.mo files in some common places and user specified ones.
|
||||||
to have .po/.mo files anywhere else, don't use this unit but initialize
|
|
||||||
LRSMoFile variable from LResources in your project by yourself.
|
|
||||||
|
|
||||||
If you need standard translation, just use this unit in your project and enable
|
If you need standard translation, just use this unit in your project and enable
|
||||||
i18n in project options. Note that you will have to call SetDefaultLang manually.
|
i18n in project options. Note that you will have to call SetDefaultLang manually.
|
||||||
If you want it to be called automatically, use DefaultTranslator unit instead.
|
If you want it to be called automatically, use DefaultTranslator unit instead.
|
||||||
|
|
||||||
Another reason for including this unit may be using translated LCL messages.
|
Another reason for including this unit may be using translated LCL messages.
|
||||||
This unit localizes LCL too, if it finds lclstrconsts.xx.po/lclstrconsts.xx.mo
|
This unit localizes LCL too, if it finds lclstrconsts.xx.po/lclstrconsts.xx.mo.
|
||||||
in directory where your program translation files are placed.
|
|
||||||
}
|
}
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user