mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Translator class WIP.
--HG-- branch : dev
This commit is contained in:
@@ -11,6 +11,15 @@ namespace Demo_Test {
|
||||
void EETest::init() {
|
||||
EE = Engine::instance();
|
||||
|
||||
Translator t;
|
||||
|
||||
t.loadFromString(
|
||||
"<resources language='en'>"
|
||||
" <string name='app_name'>eepp</string>"
|
||||
" <string name='formatted'>Test %d %s</string>"
|
||||
"</resources>"
|
||||
);
|
||||
|
||||
Log::instance()->setLiveWrite( true );
|
||||
Log::instance()->setConsoleOutput( true );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user