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:
JosJuice 2015-12-19 14:36:09 +01:00
parent 7914e4d19d
commit ccc4e6de02
3 changed files with 8 additions and 8 deletions

View file

@ -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);
}