Ignore:
Timestamp:
07/09/13 07:55:58 (14 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
4f9718b
Parents:
e100ad2
git-author:
Ken Moore <ken@…> (07/09/13 07:54:58)
git-committer:
Ken Moore <ken@…> (07/09/13 07:55:58)
Message:

Fix up the PCDM locale switcher. It should now work properly once the translations are finished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.