added ability to change Snapmatic Location
This commit is contained in:
parent
f62b1b08c0
commit
a591adf6ea
33 changed files with 1586 additions and 730 deletions
|
@ -74,11 +74,5 @@ QString GlobalString::getLanguageFile()
|
|||
|
||||
QString GlobalString::getLanguage()
|
||||
{
|
||||
QString language = TCInstance->getCurrentLanguage();
|
||||
QStringList langList = QString(language).replace("-", "_").split("_");
|
||||
if (langList.length() >= 1)
|
||||
{
|
||||
language = langList.at(0);
|
||||
}
|
||||
return language;
|
||||
return TCInstance->getCurrentAreaLanguage();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue