Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 21038 → Rev 21036

/trunk/Scribus/scribus/ui/helpbrowser.cpp
577,7 → 577,8
language=language.left(2);
toLoad = QDir::toNativeSeparators(baseHelpMenuFile3);
}
else if (altfi3.exists())
else
if (altfi3.exists())
{
language=language.left(2);
toLoad = QDir::toNativeSeparators(altHelpMenuFile3);
587,10 → 588,7
//Fall back to English
sDebug("Scribus help in your selected language does not exist, trying English. Otherwise, please visit http://docs.scribus.net.");
language="en";
if (QFile::exists(baseHelpDir + language + "/menu.xml"))
toLoad = QDir::toNativeSeparators(baseHelpDir + language + "/menu.xml");
else
toLoad = QDir::toNativeSeparators(installHelpDir + language + "/menu.xml");
toLoad = QDir::toNativeSeparators(baseHelpDir + language + "/menu.xml");
}
}
else