fix translation of fotomode context menu

and a better name for it
This commit is contained in:
Joachim Schmitz 2014-08-15 15:26:48 +02:00
parent e2a5e699a8
commit 8c8938ab9a
3 changed files with 7 additions and 7 deletions

View file

@ -2186,7 +2186,7 @@ Shortcut Shortcut::sc[] = {
STATE_NORMAL | STATE_FOTO,
0,
"fotomode",
QT_TRANSLATE_NOOP("action","Toggle foto mode"),
QT_TRANSLATE_NOOP("action","Toggle screenshot mode"),
Icons::fotomode_ICON
),
#ifdef OMR

View file

@ -578,7 +578,7 @@ void ScoreView::fotoContextPopup(QContextMenuEvent* ev)
QMenu* popup = new QMenu(this);
popup->setSeparatorsCollapsible(false);
QAction* a = popup->addSeparator();
a->setText(tr("Foto-Mode"));
a->setText(tr("Screenshot Mode"));
a = getAction("copy");
a->setEnabled(true);
@ -594,13 +594,13 @@ void ScoreView::fotoContextPopup(QContextMenuEvent* ev)
popup->addSeparator();
for (int i = 0; i < 4; ++i) {
a = new QAction(resizeEntry[i].text, this);
a = new QAction(qApp->translate("fotomode", resizeEntry[i].text), this);
a->setData(resizeEntry[i].label);
popup->addAction(a);
}
QMenu* setSize = new QMenu(tr("Set Standard Size..."));
for (int i = 0; i < 4; ++i) {
a = new QAction(setSizeEntry[i].text, this);
a = new QAction(qApp->translate("fotomode", setSizeEntry[i].text), this);
a->setData(setSizeEntry[i].label);
setSize->addAction(a);
}

View file

@ -696,7 +696,7 @@ MuseScore::MuseScore()
cpitchTools->setObjectName("pitch-tools");
cpitchTools->addWidget(new AccessibleToolButton( cpitchTools, getAction("concert-pitch")));
QToolBar* foto = addToolBar(tr("Foto Mode"));
QToolBar* foto = addToolBar(tr("Screenshot Mode"));
foto->setObjectName("foto-tools");
a = getAction("fotomode");
a->setCheckable(true);
@ -2652,11 +2652,11 @@ void MuseScore::changeState(ScoreState val)
showModeText(tr("play"));
break;
case STATE_FOTO:
showModeText(tr("foto mode"));
showModeText(tr("screenshot mode"));
updateInspector();
break;
case STATE_LOCK:
showModeText(tr("Score Locked"));
showModeText(tr("score locked"));
break;
default:
qFatal("MuseScore::changeState: illegal state %d", val);