mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 16:51:38 +00:00
DolphinWX: Don't translate OSD messages
OSD messages other than these one and a half aren't translated, and OSD only supports ASCII. (Also, that "Wiimote %i %s" uses %s like it does is bad for translation, but that's easy to fix.)
This commit is contained in:
parent
7914e4d19d
commit
ccc4e6de02
3 changed files with 8 additions and 8 deletions
|
@ -440,15 +440,15 @@ bool ReadHeader(const std::string& filename, StateHeader& header)
|
|||
return true;
|
||||
}
|
||||
|
||||
std::string GetInfoStringOfSlot(int slot)
|
||||
std::string GetInfoStringOfSlot(int slot, bool translate)
|
||||
{
|
||||
std::string filename = MakeStateFilename(slot);
|
||||
if (!File::Exists(filename))
|
||||
return GetStringT("Empty");
|
||||
return translate ? GetStringT("Empty") : "Empty";
|
||||
|
||||
State::StateHeader header;
|
||||
if (!ReadHeader(filename, header))
|
||||
return GetStringT("Unknown");
|
||||
return translate ? GetStringT("Unknown") : "Unknown";
|
||||
|
||||
return Common::Timer::GetDateTimeFormatted(header.time);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue