Changeset b3191325


Ignore:
Timestamp:
04/16/14 08:29:44 (11 months ago)
Author:
JoshDW19 <joshms@…>
Branches:
master, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1
Children:
9b89bb9
Parents:
936fdd6
Message:

Modified file to include fixes from Ken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Lumina-DE/lumina-config/main.cpp

    re06949d rb3191325  
    1111    if( a.isRunning() ) 
    1212      return !(a.sendMessage("show")); 
    13  
    14      
     13   
    1514    QTranslator translator; 
    1615    QLocale mylocale; 
    1716    QString langCode = mylocale.name(); 
    1817     
    19     if ( ! QFile::exists(PREFIX + "/share/Lumina-DE/lumina-config_" + langCode + ".qm" ) )  langCode.truncate(langCode.indexOf("_")); 
    20     translator.load( QString("lumina-config_") + langCode, PREFIX + "/share/Lumina-DE/" ); 
     18    if ( ! QFile::exists(PREFIX + "/share/lumina/i18n/" + langCode + ".qm" ) )  langCode.truncate(langCode.indexOf("_")); 
     19    translator.load( QString("lumina-config_") + langCode, PREFIX + "/share/lumina/i18n/" ); 
    2120    a.installTranslator( &translator ); 
    2221    qDebug() << "Locale:" << langCode; 
     
    2726    w.show(); 
    2827 
    29       } 
    30     } 
    3128    int retCode = a.exec(); 
    3229    return retCode; 
Note: See TracChangeset for help on using the changeset viewer.