From 8e920dde67fd8e5a3f80bd6bd62d1894c2ef2a2f Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 23 Jun 2005 12:30:42 +0000 Subject: [PATCH] Fix a bug with resources in the Study properties dialog box --- src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx | 8 ++++---- src/SalomeApp/resources/SalomeApp_msg_en.po | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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" -- 2.39.2