Changes in / [7431d6d:1d87ed6]


Ignore:
Location:
src-qt4/PCDM/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/dialogLocale.cpp

    r1620346 ra5bc020  
    7171QStringList widgetLocale::getLanguages(){ 
    7272  //Detect all the available localizations 
    73   QString str = QCoreApplication::applicationDirPath(); 
    74   QDir dir(str+"/i18n"); 
     73  QString str = "/usr/local/share/PCDM/i18n"; 
     74  QDir dir(str); 
    7575  QStringList stL = dir.entryList(QDir::Files); 
    7676  stL = stL.filter(".qm");   
  • src-qt4/PCDM/src/pcdm-gui.cpp

    r6bd7798 ra5bc020  
    7979  //get the default translation directory 
    8080  if(DEBUG_MODE){ qDebug() << "Load Translations"; } 
    81   translationDir = QApplication::applicationDirPath() + "/i18n/"; 
     81  translationDir = "/usr/local/share/PCDM/i18n/"; 
    8282  //Fill the translator 
    8383  m_translator = new QTranslator(); 
     
    415415 
    416416  if(m_translator->load(translationFile)){ 
    417     Backend::log("Install the new translator"); 
     417    Backend::log("Install the new translator: "+translationFile); 
    418418    QCoreApplication::installTranslator(m_translator);     
    419419  } 
Note: See TracChangeset for help on using the changeset viewer.