]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix a bug with resources in the Study properties dialog box
authorvsr <vsr@opencascade.com>
Thu, 23 Jun 2005 12:30:42 +0000 (12:30 +0000)
committervsr <vsr@opencascade.com>
Thu, 23 Jun 2005 12:30:42 +0000 (12:30 +0000)
src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx
src/SalomeApp/resources/SalomeApp_msg_en.po

index c14e76a3b50104ab231de6287917d818832548cf..1613459d5d67e045c5a91c5945a1748ec46155f5 100644 (file)
@@ -56,15 +56,15 @@ public:
     switch(getUserType()) {
     case SalomeApp_StudyPropertiesDlg::prpModeId:
       {
-       list << QObject::tr("PRP_MODE_FROM_SCRATCH") << 
-               QObject::tr("PRP_MODE_FROM_COPYFROM");
+       list << SalomeApp_StudyPropertiesDlg::tr("PRP_MODE_FROM_SCRATCH") << 
+               SalomeApp_StudyPropertiesDlg::tr("PRP_MODE_FROM_COPYFROM");
        theWidget->insertList(list);
        break;
       }
     case SalomeApp_StudyPropertiesDlg::prpLockedId:
       {
-       list << QObject::tr("PRP_NO") << QObject::tr("PRP_YES");
-       theWidget->insertList(list, getValue() == QObject::tr("PRP_NO") ? 0 : 1);    
+       list << SalomeApp_StudyPropertiesDlg::tr("PRP_NO") << SalomeApp_StudyPropertiesDlg::tr("PRP_YES");
+       theWidget->insertList(list, getValue() == SalomeApp_StudyPropertiesDlg::tr("PRP_NO") ? 0 : 1);    
        break;
       }
     case SalomeApp_StudyPropertiesDlg::prpModificationsId:
index aeabfcaa354dc4a3c703e92279bd65c1fffa3317..d0acd0a36455393bdaee89207a963df2b4a2ea89 100644 (file)
@@ -252,10 +252,10 @@ msgid "SalomeApp_StudyPropertiesDlg::PRP_MODE"
 msgstr "Mode"
 
 msgid "SalomeApp_StudyPropertiesDlg::PRP_LOCKED"
-msgstr "LOCKED"
+msgstr "Locked"
 
 msgid "SalomeApp_StudyPropertiesDlg::PRP_MODIFIED"
-msgstr "MODIFIED"
+msgstr "Modified"
 
 msgid "SalomeApp_StudyPropertiesDlg::PRP_MODIFICATIONS"
 msgstr "Modifications"