mirror of
https://github.com/TuxSH/PkmGCTools.git
synced 2026-03-21 17:45:19 -05:00
There is no point using tr before having loaded the translator ...
This commit is contained in:
parent
d91870f8bb
commit
e0e9489c8e
|
|
@ -128,6 +128,13 @@ MainWindow::MainWindow() : QMainWindow(), centralWidget(new MWCentralWidget) {
|
|||
connect(exitAction, SIGNAL(triggered()), this, SLOT(close()));
|
||||
connect(colosseumBugsAffectingPokemonAction, SIGNAL(triggered()), this, SLOT(fixColosseumBugsAffectingPokemon()));
|
||||
connect(ignoreDataCorruptionAction, SIGNAL(triggered()), this, SLOT(changeIgnoreDataCorruptionStatus()));
|
||||
|
||||
if (oldversionMax < 1001001) {
|
||||
QMessageBox::warning(this, tr("Warning"), tr("You have used a version of PkmGCSaveEditor older than 1.1.1.<br/>Please consider the following points:<ul>"
|
||||
"<li>If and <b>only</b> if you have modified a <b>Colosseum</b> save file with that previous version, please load this save file again, and click \"Bugs affecting Pok\xc3\xa9mon...\""
|
||||
"(in \"Options\", \"Bug fixes\"). <b>Do it only once and only once</b> (for each concerned save file).</li>"
|
||||
"<li>If you have imported or exported a Pok\xc3\xa9mon in the GBA format, please check its status alteration, its EVs, and its game of origin.</li></ul>"));
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::createDumpedNamesLanguageMenu(void) {
|
||||
|
|
@ -477,12 +484,8 @@ void MainWindow::loadSettings(void) {
|
|||
if (interfaceLanguage.isEmpty()) interfaceLanguage = "auto";
|
||||
if (dumpedNamesLanguage > Spanish) dumpedNamesLanguage = NoLanguage;
|
||||
|
||||
if (settings->value("LibPkmGCVersion").toInt() < 1001001 || settings->value("Version").toInt() < 1001001) {
|
||||
QMessageBox::warning(this, tr("Warning"), tr("You have used a version of PkmGCSaveEditor older than 1.1.1.<br/>Please consider the following points:<ul>"
|
||||
"<li>If and <b>only</b> if you have modified a <b>Colosseum</b> save file with that previous version, please load this save file again, and click \"Bugs affecting Pok\xc3\xa9mon...\""
|
||||
"(in \"Options\", \"Bug fixes\"). <b>Do it only once and only once</b> (for each concerned save file).</li>"
|
||||
"<li>If you have imported or exported a Pok\xc3\xa9mon in the GBA format, please check its status alteration, its EVs, and its game of origin.</li></ul>"));
|
||||
}
|
||||
if (settings->value("LibPkmGCVersion").toInt() < 1001001 || settings->value("Version").toInt() < 1001001)
|
||||
oldversionMax = 1001001;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ private:
|
|||
|
||||
QString langPath;
|
||||
|
||||
int oldversionMax;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user