Macros | |
#define | CONTEXT L"context" |
#define | TEXTDOMAIN_PO L"translation_po" |
#define | TEST_PO_NAME "translation_po.de.po" |
#define | TEST_MO_NAME "translation_mo.de.mo" |
Functions | |
static std::string | read_translation_file (const std::string &filename) |
TEST_CASE ("test translations") | |
#define CONTEXT L"context" |
Referenced by TEST_CASE().
#define TEST_MO_NAME "translation_mo.de.mo" |
Referenced by TEST_CASE().
#define TEST_PO_NAME "translation_po.de.po" |
Referenced by TEST_CASE().
#define TEXTDOMAIN_PO L"translation_po" |
Referenced by TEST_CASE().
|
static |
References DIR_DELIM, findSubgame(), and fs::ReadFile().
Referenced by TEST_CASE().
TEST_CASE | ( | "test translations" | ) |
References CHECK, CONTEXT, Translations::getPluralTranslation(), Translations::getTranslation(), Translations::loadTranslation(), GettextPluralForm::parseHeaderLine(), read_translation_file(), Translations::size(), TEST_MO_NAME, TEST_PO_NAME, and TEXTDOMAIN_PO.