[EGD-6527] Internationalization API unification

Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
This commit is contained in:
Adam Dobrowolski
2021-04-13 10:08:20 +02:00
committed by Adam Dobrowolski
parent cc0a76f2c7
commit 940989833f
224 changed files with 1201 additions and 1122 deletions

View File

@@ -121,7 +121,7 @@ namespace app
return std::make_unique<gui::DialogYesNo>(app, name);
});
windowsFactory.attach(
utils::localize.get("app_phonebook_options_title"),
utils::translate("app_phonebook_options_title"),
[](Application *app, const std::string &name) { return std::make_unique<gui::OptionWindow>(app, name); });
attachPopups({gui::popup::ID::Volume,