mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00: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
|
|
@ -51,8 +51,8 @@ struct EmuCallbacks
|
|||
std::function<std::shared_ptr<class OskDialogBase>()> get_osk_dialog;
|
||||
std::function<std::unique_ptr<class SaveDialogBase>()> get_save_dialog;
|
||||
std::function<std::unique_ptr<class TrophyNotificationBase>()> get_trophy_notification_dialog;
|
||||
std::function<std::string(localized_string_id)> get_localized_string;
|
||||
std::function<std::u32string(localized_string_id)> get_localized_u32string;
|
||||
std::function<std::string(localized_string_id, const char*)> get_localized_string;
|
||||
std::function<std::u32string(localized_string_id, const char*)> get_localized_u32string;
|
||||
};
|
||||
|
||||
class Emulator final
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue