#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."; } }