Simutrans-Squirrel-API
|
#include <api_base.h>
Public Member Functions | |
string | to_string () |
ttext (string text) | |
Translatable text.
Class takes raw string. It can do variable substitution.
When transferred to simutrans:
Translated strings will be taken from tab-files inside the scenario_name/ directory.
Usage:
Definition at line 20 of file api_base.h.
ttext::ttext | ( | string | text | ) |
Constructor.
text | raw string to be translated. |
string ttext::to_string | ( | ) |
Does translation and variable substitution.