Merge pull request #7388 from sum2012/savestatus

Make "Failed to load state" translatable
This commit is contained in:
Henrik Rydgård 2015-01-31 11:29:13 +01:00
commit c0cffa1d02

View File

@ -323,8 +323,8 @@ namespace SaveState
if (!fn.empty()) {
Load(fn, callback, cbUserData);
} else {
I18NCategory *s = GetI18NCategory("Screen");
osm.Show("Failed to load state. Error in the file system.", 2.0);
I18NCategory *sy = GetI18NCategory("System");
osm.Show(sy->T("Failed to load state. Error in the file system."), 2.0);
if (callback)
callback(false, cbUserData);
}