#include <language.hpp>
Public Member Functions | |
language_def () | |
language_def (const std::string &name, const t_string &lang, const std::string &dir, const std::string &salternates="", const std::string &sort_name="", const std::string &percent="100") | |
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 |
int | percent |
% of translated text in core po-s More... | |
Definition at line 27 of file language.hpp.
|
inline |
Definition at line 29 of file language.hpp.
|
inline |
Definition at line 38 of file language.hpp.
References percent, and utils::stoi().
|
inline |
Definition at line 61 of file language.hpp.
References sort_name.
bool language_def::operator== | ( | const language_def & | a | ) | const |
Definition at line 59 of file language.cpp.
References language.
std::vector<std::string> language_def::alternates |
Definition at line 54 of file language.hpp.
Referenced by set_language().
t_string language_def::language |
Definition at line 55 of file language.hpp.
Referenced by operator==().
std::string language_def::localename |
Definition at line 53 of file language.hpp.
Referenced by game_launcher::init_language(), test_utils::match_english(), set_language(), and gui2::dialogs::game_version::show_manual().
int language_def::percent |
% of translated text in core po-s
Definition at line 59 of file language.hpp.
Referenced by language_def().
bool language_def::rtl |
Definition at line 57 of file language.hpp.
Referenced by current_language_rtl().
std::string language_def::sort_name |
Definition at line 56 of file language.hpp.
Referenced by operator<().