Qt/overlays: use Argument list for translatable strings

This is somewhat crippled for now. It only takes a single argument in the callback
This commit is contained in:
Megamouse 2020-09-03 18:30:46 +02:00
parent 460a933267
commit d0ffbbfc4d
11 changed files with 59 additions and 73 deletions

View file

@ -98,8 +98,8 @@ void headless_application::InitializeCallbacks()
callbacks.on_stop = []() {};
callbacks.on_ready = []() {};
callbacks.get_localized_string = [](localized_string_id) -> std::string { return {}; };
callbacks.get_localized_u32string = [](localized_string_id) -> std::u32string { return {}; };
callbacks.get_localized_string = [](localized_string_id, const char*) -> std::string { return {}; };
callbacks.get_localized_u32string = [](localized_string_id, const char*) -> std::u32string { return {}; };
Emu.SetCallbacks(std::move(callbacks));
}