From: vsr Date: Thu, 23 Jun 2005 12:30:42 +0000 (+0000) Subject: Fix a bug with resources in the Study properties dialog box X-Git-Tag: T3_0_0_a4~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e920dde67fd8e5a3f80bd6bd62d1894c2ef2a2f;p=modules%2Fgui.git Fix a bug with resources in the Study properties dialog box --- diff --git a/src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx b/src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx index c14e76a3b..1613459d5 100644 --- a/src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx +++ b/src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx @@ -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: diff --git a/src/SalomeApp/resources/SalomeApp_msg_en.po b/src/SalomeApp/resources/SalomeApp_msg_en.po index aeabfcaa3..d0acd0a36 100644 --- a/src/SalomeApp/resources/SalomeApp_msg_en.po +++ b/src/SalomeApp/resources/SalomeApp_msg_en.po @@ -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"