blob: b689c99b5dd061bc41efdf2b1a82b264bda5c91d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "common.hpp"
namespace text {
const wchar_t *unit_no_path;
const wchar_t *unit_blocked;
static void load_strings_pl(void)
{
unit_no_path = L"Nie wiem, jak się tam dostać.";
unit_blocked = L"Coś stoi na mojej drodze.";
}
void load_strings(std::string lang)
{
if (lang == "pl") {
load_strings_pl();
return;
}
unit_no_path = L"I don't know how to get there.";
unit_blocked = L"Something's in my way.";
}
}
|