diff --git a/src/Gui/Command.cpp b/src/Gui/Command.cpp index db0bf9890..40fdb9557 100644 --- a/src/Gui/Command.cpp +++ b/src/Gui/Command.cpp @@ -504,26 +504,26 @@ void Command::applyCommandData(Action* action) { action->setText(QCoreApplication::translate( this->className(), sMenuText, 0, - QCoreApplication::CodecForTr)); + QCoreApplication::UnicodeUTF8)); action->setToolTip(QCoreApplication::translate( this->className(), sToolTipText, 0, - QCoreApplication::CodecForTr)); + QCoreApplication::UnicodeUTF8)); if (sStatusTip) action->setStatusTip(QCoreApplication::translate( this->className(), sStatusTip, 0, - QCoreApplication::CodecForTr)); + QCoreApplication::UnicodeUTF8)); else action->setStatusTip(QCoreApplication::translate( this->className(), sToolTipText, 0, - QCoreApplication::CodecForTr)); + QCoreApplication::UnicodeUTF8)); if (sWhatsThis) action->setWhatsThis(QCoreApplication::translate( this->className(), sWhatsThis, 0, - QCoreApplication::CodecForTr)); + QCoreApplication::UnicodeUTF8)); else action->setWhatsThis(QCoreApplication::translate( this->className(), sToolTipText, 0, - QCoreApplication::CodecForTr)); + QCoreApplication::UnicodeUTF8)); } const char* Command::keySequenceToAccel(int sk) const diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index c8d70a85f..e8c580ca4 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -1064,9 +1064,9 @@ StdCmdViewRotateLeft::StdCmdViewRotateLeft() { sGroup = QT_TR_NOOP("Standard-View"); sMenuText = QT_TR_NOOP("Rotate Left"); - sToolTipText = QT_TR_NOOP("Rotate the view by 90° counter-clockwise"); + sToolTipText = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 counter-clockwise"); sWhatsThis = "Std_ViewXX"; - sStatusTip = QT_TR_NOOP("Rotate the view by 90° counter-clockwise"); + sStatusTip = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 counter-clockwise"); sPixmap = "view-rotate-left"; //sAccel = "Shift Left"; eType = Alter3DView; @@ -1088,9 +1088,9 @@ StdCmdViewRotateRight::StdCmdViewRotateRight() { sGroup = QT_TR_NOOP("Standard-View"); sMenuText = QT_TR_NOOP("Rotate Right"); - sToolTipText = QT_TR_NOOP("Rotate the view by 90° clockwise"); + sToolTipText = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 clockwise"); sWhatsThis = "Std_ViewXX"; - sStatusTip = QT_TR_NOOP("Rotate the view by 90° clockwise"); + sStatusTip = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 clockwise"); sPixmap = "view-rotate-right"; //sAccel = "Shift Right"; eType = Alter3DView;