#include <language.hpp>
Public Member Functions | |
language_def () | |
Creates the 'System Default Language' definition. More... | |
language_def (const config &cfg) | |
bool | operator== (const language_def &) const |
bool | operator< (const language_def &a) const |
Public Attributes | |
std::string | localename |
std::vector< std::string > | alternates |
t_string | language |
std::string | sort_name |
bool | rtl = false |
A right to left language? (e.g: Hebrew) More... | |
int | percent = 100 |
% of translated text in core po-s More... | |
Definition at line 25 of file language.hpp.
language_def::language_def | ( | ) |
Creates the 'System Default Language' definition.
Definition at line 95 of file language.cpp.
|
explicit |
Definition at line 101 of file language.cpp.
|
inline |
Definition at line 44 of file language.hpp.
References sort_name.
bool language_def::operator== | ( | const language_def & | a | ) | const |
Definition at line 53 of file language.cpp.
References language.
std::vector<std::string> language_def::alternates |
Definition at line 33 of file language.hpp.
Referenced by set_language().
t_string language_def::language |
Definition at line 34 of file language.hpp.
Referenced by operator==().
std::string language_def::localename |
Definition at line 32 of file language.hpp.
Referenced by game_launcher::init_language(), test_utils::match_english(), and set_language().
int language_def::percent = 100 |
% of translated text in core po-s
Definition at line 41 of file language.hpp.
bool language_def::rtl = false |
A right to left language? (e.g: Hebrew)
Definition at line 38 of file language.hpp.
std::string language_def::sort_name |
Definition at line 35 of file language.hpp.
Referenced by operator<().