mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-21 22:04:06 -06:00
CtrlLib, Doc: Tutorial internationalizing application improved.
git-svn-id: svn://ultimatepp.org/upp/trunk@15373 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f3198ba8cd
commit
095d6cc9ca
1 changed files with 10 additions and 0 deletions
|
|
@ -1365,6 +1365,8 @@ inside window and we will add translation support to it:&]
|
|||
[s7; [@(28.127.0) // main.cpp]&]
|
||||
[s0;l321; [C@5;1 #include <CtrlLib/CtrlLib.h>]&]
|
||||
[s7; &]
|
||||
[s7; [@(28.127.0) // The below include needs to be placed in one of
|
||||
implementation file (.cpp)]&]
|
||||
[s7; #define TFILE <Gui23/Gui23.t>&]
|
||||
[s7; #include <Core/t.h>&]
|
||||
[s7; &]
|
||||
|
|
@ -1458,6 +1460,14 @@ should be used by application. In our case we will use exactly
|
|||
the same language as user operating system is using. This information
|
||||
can be obtained by using [* GetSystemLNG() ]function and passed
|
||||
to [* SetLanguage()].&]
|
||||
[s5; Translation to work correctly in context of package required
|
||||
following lines of code to be placed [* in one of implementation
|
||||
file] (.cpp):&]
|
||||
[s0; &]
|
||||
[s7; #define TFILE <Gui23/Gui23.t>&]
|
||||
[s7; #include <Core/t.h>&]
|
||||
[s0; &]
|
||||
[s5; The final results from various language version are as follows:&]
|
||||
[s0; &]
|
||||
[ {{5000:5000RN [s0;=
|
||||
@@rawimage:1758&573
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue