You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
524 B
10 lines
524 B
|
2 years ago
|
#include <string>
|
||
|
|
#include <string_view>
|
||
|
|
|
||
|
|
std::string_view GetLanguageCode() { return "en"; }
|
||
|
|
bool HasTranslation(const std::string &locale) { return true; }
|
||
|
|
void LanguageInitialize() { }
|
||
|
|
std::string_view LanguageTranslate(const char *key) { return key; }
|
||
|
|
std::string_view LanguagePluralTranslate(const char *singular, std::string_view plural, int count) { return count == 1 ? singular : plural; }
|
||
|
|
std::string_view LanguageParticularTranslate(std::string_view context, std::string_view message) { return message; }
|