mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +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
|
|
@ -2,12 +2,12 @@
|
|||
#include "localized_string.h"
|
||||
#include "System.h"
|
||||
|
||||
std::string get_localized_string(localized_string_id id)
|
||||
std::string get_localized_string(localized_string_id id, const char* args)
|
||||
{
|
||||
return Emu.GetCallbacks().get_localized_string(id);
|
||||
return Emu.GetCallbacks().get_localized_string(id, args);
|
||||
}
|
||||
|
||||
std::u32string get_localized_u32string(localized_string_id id)
|
||||
std::u32string get_localized_u32string(localized_string_id id, const char* args)
|
||||
{
|
||||
return Emu.GetCallbacks().get_localized_u32string(id);
|
||||
return Emu.GetCallbacks().get_localized_u32string(id, args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue