#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="") | |
bool | operator== (const language_def &) const |
bool | available () const |
Is the locale available on the system? | |
Public Attributes | |
std::string | localename |
std::vector< std::string > | alternates |
t_string | language |
bool | rtl |
Definition at line 30 of file language.hpp.
language_def::language_def | ( | ) | [inline] |
Definition at line 32 of file language.hpp.
language_def::language_def | ( | const std::string & | name, | |
const t_string & | lang, | |||
const std::string & | dir, | |||
const std::string & | salternates = "" | |||
) | [inline] |
bool language_def::operator== | ( | const language_def & | a | ) | const |
bool language_def::available | ( | ) | const |
Is the locale available on the system?
If the dummy locales are selected we always return true.
Definition at line 95 of file language.cpp.
References alternates, has_language(), and localename.
Referenced by gui2::tlanguage_selection::show().
std::string language_def::localename |
std::vector<std::string> language_def::alternates |
Definition at line 49 of file language.hpp.
Referenced by available(), language_def(), and set_language().
Definition at line 50 of file language.hpp.
Referenced by languagedef_name(), main(), operator==(), and gui2::tlanguage_selection::show().
bool language_def::rtl |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |