Classes | |
struct | moTranslationPairInformation |
Keeps the Description of translated and original strings. More... | |
struct | moFileInfo |
Describes the "Header" of a .mo-File. More... | |
class | moFileReader |
This class is a gettext-replacement. More... | |
class | moFileReaderSingleton |
Convience Class. More... | |
Functions | |
moFileReader::eErrorCode | moReadMoFile (const char *_filename) |
Reads the .mo-File. | |
std::string | _ (const char *id) |
Looks for the spec. string to translate. | |
void | moFileClearTable () |
Resets the Lookup-Table. | |
std::string | moFileGetErrorDescription () |
Returns the last known error as string or an empty class. | |
int | moFileGetNumStrings () |
Returns the number of entries loaded from the .mo-File. | |
Variables | |
const std::string | g_css |
std::string moFileLib::_ | ( | const char * | id | ) | [inline] |
Looks for the spec. string to translate.
[in] | id | The string-id to search. |
void moFileLib::moFileClearTable | ( | ) | [inline] |
Resets the Lookup-Table.
std::string moFileLib::moFileGetErrorDescription | ( | ) | [inline] |
Returns the last known error as string or an empty class.
int moFileLib::moFileGetNumStrings | ( | ) | [inline] |
Returns the number of entries loaded from the .mo-File.
moFileReader::eErrorCode moFileLib::moReadMoFile | ( | const char * | _filename | ) | [inline] |
Reads the .mo-File.
[in] | _filename | The path to the file to use. |
const std::string moFileLib::g_css |
Initial value:
"\ body {\ background-color: black;\ color: silver;\ }\ table {\ width: 80%;}\ th {\ background-color: orange;\ color: black;\ }\ hr { color: red;width: 80%; size: 5px; }\ a:link{color: gold;}\ a:visited{color: grey;}\ a:hover{color:blue;}\ .copyleft{\ font-size: 12px; \ text-align: center;\ }\ "