Debut de prise en charge de l'internationalisation : la langue de l'interface est choisie en fonction de la langue du systeme (locale)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@21 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2006-11-16 18:27:53 +00:00
parent c4e7712004
commit 01d7e97099
4 changed files with 18 additions and 3 deletions

View File

@@ -906,3 +906,11 @@ QString QETApp::symbolicPath(QString &real_path) {
} else chemin = QString();
return(chemin);
}
/**
@return Le chemin du dossier contenant les fichiers de langue
*/
QString QETApp::languagesPath() {
return(QDir::current().path() + QDir::separator() + "lang" + QDir::separator());
}