[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    [krita] plugins/dockers/animation: Fix translation of the undo command title in Krita
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2016-05-17 14:58:06
Message-ID: E1b2gRi-0006Nz-LB () scm ! kde ! org
[Download RAW message or body]

Git commit 683bc361f4df791d4385cebd6b9478e3eb19efbe by Dmitry Kazakov.
Committed on 17/05/2016 at 14:56.
Pushed by dkazakov into branch 'master'.

Fix translation of the undo command title in Krita

i18np should accept the number of the items counted to provide proper
4 word forms.

CC:kde-i18n-doc@kde.org

M  +2    -2    plugins/dockers/animation/kis_animation_utils.cpp

http://commits.kde.org/krita/683bc361f4df791d4385cebd6b9478e3eb19efbe

diff --git a/plugins/dockers/animation/kis_animation_utils.cpp \
b/plugins/dockers/animation/kis_animation_utils.cpp index f9f8d78..6d3c2b1 100644
--- a/plugins/dockers/animation/kis_animation_utils.cpp
+++ b/plugins/dockers/animation/kis_animation_utils.cpp
@@ -162,10 +162,10 @@ namespace KisAnimationUtils {
         QScopedPointer<KUndo2Command> cmd(
             new KUndo2Command(!copy ?
                               kundo2_i18np("Move Keyframe",
-                                           "Move Keyframes",
+                                           "Move %1 Keyframes",
                                            srcFrames.size()) :
                               kundo2_i18np("Copy Keyframe",
-                                           "Copy Keyframes",
+                                           "Copy %1 Keyframes",
                                            srcFrames.size()))); // lisp-lovers \
present ;)  
         for (int i = 0; i < srcFrames.size(); i++) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic