Commit e1ef25fb authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix disambiguations found by gettext 0.21

parent 7fd39600
Pipeline #52820 passed with stage
in 10 minutes and 23 seconds
......@@ -255,7 +255,7 @@ bool KeyframeModel::offsetKeyframes(int oldPos, int pos, bool logUndo)
res &= moveKeyframe(t, t + diff, QVariant(), undo, redo);
}
if (res && logUndo) {
PUSH_UNDO(undo, redo, i18n("Move keyframes"));
PUSH_UNDO(undo, redo, i18nc("@action", "Move keyframes"));
}
return res;
}
......@@ -276,7 +276,7 @@ bool KeyframeModel::moveKeyframe(GenTime oldPos, GenTime pos, QVariant newVal, b
Fun redo = []() { return true; };
bool res = moveKeyframe(oldPos, pos, std::move(newVal), undo, redo);
if (res && logUndo) {
PUSH_UNDO(undo, redo, i18n("Move keyframe"));
PUSH_UNDO(undo, redo, i18nc("@action", "Move keyframe"));
}
return res;
}
......
......@@ -665,7 +665,7 @@ void TimelineController::addTrack(int tid)
}
}
if (result) {
pCore->pushUndo(undo, redo, addAVTrack || tracksCount > 1 ? i18n("Insert Tracks") : i18n("Insert Track"));
pCore->pushUndo(undo, redo, addAVTrack || tracksCount > 1 ? i18nc("@action", "Insert Tracks") : i18nc("@action", "Insert Track"));
} else {
pCore->displayMessage(i18n("Could not insert track"), ErrorMessage, 500);
undo();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment