Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mismatch between CameraEasingType and CameraContextMenu
Browse files Browse the repository at this point in the history
J5lx committed May 19, 2024
1 parent b534c8c commit 59a3141
Showing 3 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/src/cameracontextmenu.cpp
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ CameraContextMenu::CameraContextMenu(int frameNumber, const LayerCamera* layer)
QString quick = tr("Quick");
QString fast = tr("Fast");
QString faster = tr("Faster");
QString fastest = tr("Faster");
QString fastest = tr("Fastest");
QString circleBased = tr("Circle-based");
QString overshoot = tr("Overshoot");
QString elastic = tr("Elastic");
8 changes: 4 additions & 4 deletions core_lib/src/util/cameraeasingtype.cpp
Original file line number Diff line number Diff line change
@@ -22,10 +22,10 @@ GNU General Public License for more details.
// Array structure must match CameraEasingType
static const char* interpolationNames[] {
QT_TRANSLATE_NOOP("CameraEasingType", "Linear"),
QT_TRANSLATE_NOOP("CameraEasingType", "Normal Ease-in"),
QT_TRANSLATE_NOOP("CameraEasingType", "Normal Ease-out"),
QT_TRANSLATE_NOOP("CameraEasingType", "Normal Ease-in - Ease-out"),
QT_TRANSLATE_NOOP("CameraEasingType", "Normal Ease-out - Ease-in"),
QT_TRANSLATE_NOOP("CameraEasingType", "Moderate Ease-in"),
QT_TRANSLATE_NOOP("CameraEasingType", "Moderate Ease-out"),
QT_TRANSLATE_NOOP("CameraEasingType", "Moderate Ease-in - Ease-out"),
QT_TRANSLATE_NOOP("CameraEasingType", "Moderate Ease-out - Ease-in"),
QT_TRANSLATE_NOOP("CameraEasingType", "Quick Ease-in"),
QT_TRANSLATE_NOOP("CameraEasingType", "Quick Ease-out"),
QT_TRANSLATE_NOOP("CameraEasingType", "Quick Ease-in - Ease-out"),
14 changes: 9 additions & 5 deletions translations/pencil.ts
Original file line number Diff line number Diff line change
@@ -410,10 +410,14 @@
</message>
<message>
<location filename="../app/src/cameracontextmenu.cpp" line="51"/>
<location filename="../app/src/cameracontextmenu.cpp" line="52"/>
<source>Faster</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/cameracontextmenu.cpp" line="52"/>
<source>Fastest</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/cameracontextmenu.cpp" line="53"/>
<source>Circle-based</source>
@@ -484,22 +488,22 @@
</message>
<message>
<location filename="../core_lib/src/util/cameraeasingtype.cpp" line="25"/>
<source>Normal Ease-in</source>
<source>Moderate Ease-in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core_lib/src/util/cameraeasingtype.cpp" line="26"/>
<source>Normal Ease-out</source>
<source>Moderate Ease-out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core_lib/src/util/cameraeasingtype.cpp" line="27"/>
<source>Normal Ease-in - Ease-out</source>
<source>Moderate Ease-in - Ease-out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core_lib/src/util/cameraeasingtype.cpp" line="28"/>
<source>Normal Ease-out - Ease-in</source>
<source>Moderate Ease-out - Ease-in</source>
<translation type="unfinished"></translation>
</message>
<message>

0 comments on commit 59a3141

Please sign in to comment.