Make "Failed to load state" translatable

This commit is contained in:
sum2012 2015-01-29 22:59:05 +08:00
parent 626e2fc2c8
commit 15c53d40f5

View File

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