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 committed 2016-08-10 18:18:25 +02:00
1 parent 7914e4d19d
commit ccc4e6de02
3 files changed
+8 -8

No files matched your search

+3 -3
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);
}