mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
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:
parent
460a933267
commit
d0ffbbfc4d
11 changed files with 59 additions and 73 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue