Steppable 0.0.1
A CAS project written from scratch in C++
|
The namespace for the localization utilities. More...
Functions | |
std::string | getLanguage () |
std::string | $ (const std::string &origin, const std::string &key) |
Gets a string from origin, and by the key. | |
std::string | $ (const std::string &origin, const std::string &formatKey, const std::vector< std::string > &formatStrings) |
Gets a string from origin, and by the key. Formats it with the format strings. | |
The namespace for the localization utilities.
std::string steppable::localization::$ | ( | const std::string & | origin, |
const std::string & | formatKey, | ||
const std::vector< std::string > & | formatStrings ) |
Gets a string from origin, and by the key. Formats it with the format strings.
The origin is the name of the file, and the key is the GUID of the string. This method also enables you to format the string with the format strings.
origin | The name of the file, without the extension. |
formatKey | The GUID key of the format string. |
formatStrings | The format strings to format the string with. |
std::string steppable::localization::$ | ( | const std::string & | origin, |
const std::string & | key ) |
Gets a string from origin, and by the key.
The origin is the name of the file, and the key is the GUID of the string.
origin | The name of the file, without the extension. |
key | The GUID key of the string. |
std::string steppable::localization::getLanguage | ( | ) |