|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include "client/translations.h"#include <raylib.h>#include <algorithm>#include <array>#include <bitset>#include <cctype>#include <cstddef>#include <cstdint>#include <functional>#include <map>#include <optional>#include <string>#include <string_view>#include <utility>#include <vector>#include "absl/status/status.h"#include "absl/status/statusor.h"#include "absl/strings/numbers.h"#include "absl/strings/str_cat.h"#include "content/text.h"Go to the source code of this file.
Namespaces | |
| namespace | nanommo |
Functions | |
| std::string | nanommo::Pseudo (std::string_view english) |
| The English made over for the pseudo-language: "[Șéțțîñgș ~~~]". | |
| std::string | nanommo::LanguageFolder () |
| Where the PO files are, next to the client. | |
| absl::Status | nanommo::UseLanguage (std::string_view code, const std::string &folder) |
| const char * | nanommo::Tr (const char *text) |
| const char * | nanommo::Tr (std::string_view context, const char *text) |
| const char * | nanommo::TrN (const char *one, const char *many, uint64_t n) |
| The form for the count: in English, one for 1 and many for the rest. | |
| const char * | nanommo::TrN (std::string_view context, const char *one, const char *many, uint64_t n) |
| const char * | nanommo::TrLabel (const char *label) |