mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-26 23:59:48 +01:00
14 lines
511 B
C++
14 lines
511 B
C++
// stand-ins for the parts of the engine which the code of the editor under test reaches for: the translations give the English
|
|
// messages back as they are
|
|
|
|
#include "stdafx.h"
|
|
#include "utilities/translation.h"
|
|
|
|
locale Translations;
|
|
|
|
const char *locale::lookup_c(const char *msg, bool) { return msg; }
|
|
|
|
const std::string &locale::lookup_s(const std::string &msg, bool) { return msg; }
|
|
|
|
const char *locale::lookup_n(const char *singular, const char *plural, long long n) { return n == 1 ? singular : plural; }
|