[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: [calligra] plan/libs/models: Fix some incorrect i18n strings
From: Dag Andersen <danders () get2net ! dk>
Date: 2011-10-21 9:04:59
Message-ID: 20111021090459.4CADFA60A9 () git ! kde ! org
[Download RAW message or body]
Git commit 71fe565f3fed160d2f8633783dec8f0f02f47d5f by Dag Andersen.
Committed on 19/10/2011 at 10:59.
Pushed by danders into branch 'master'.
Fix some incorrect i18n strings
2 strings not i18n'ed at all
1 string without format info
1 string with capital word
CCMAIL: kde-i18n-doc@kde.org
M +4 -4 plan/libs/models/kptnodeitemmodel.cpp
http://commits.kde.org/calligra/71fe565f3fed160d2f8633783dec8f0f02f47d5f
diff --git a/plan/libs/models/kptnodeitemmodel.cpp \
b/plan/libs/models/kptnodeitemmodel.cpp index 90ee943..a3d465f4 100644
--- a/plan/libs/models/kptnodeitemmodel.cpp
+++ b/plan/libs/models/kptnodeitemmodel.cpp
@@ -2560,7 +2560,7 @@ KUndo2Command *NodeModel::setName( Node *node, const QVariant \
&value, int role ) }
QString s = i18nc( "(qtundo-format)", "Modify name" );
switch ( node->type() ) {
- case Node::Type_Task: s = i18nc( "(qtundo-format)", "Modify task \
Name" ); break; + case Node::Type_Task: s = i18nc( "(qtundo-format)", \
"Modify task name" ); break;
case Node::Type_Milestone: s = i18nc( "(qtundo-format)", "Modify \
milestone name" ); break;
case Node::Type_Summarytask: s = i18nc( "(qtundo-format)", "Modify \
summarytask name" ); break;
case Node::Type_Project: s = i18nc( "(qtundo-format)", "Modify \
project name" ); break; @@ -2765,7 +2765,7 @@ KUndo2Command \
*NodeModel::setOptimisticRatio( Node *node, const QVariant &value, switch ( role ) {
case Qt::EditRole:
if ( value.toInt() != node->estimate()->optimisticRatio() ) {
- return new EstimateModifyOptimisticRatioCmd( *node, \
node->estimate()->optimisticRatio(), value.toInt(), "Modify estimate" ); + \
return new EstimateModifyOptimisticRatioCmd( *node, \
node->estimate()->optimisticRatio(), value.toInt(), i18nc( "(qtundo-format)", "Modify \
optimistic estimate" ) ); }
break;
default:
@@ -2782,7 +2782,7 @@ KUndo2Command *NodeModel::setPessimisticRatio( Node *node, \
const QVariant &value switch ( role ) {
case Qt::EditRole:
if ( value.toInt() != node->estimate()->pessimisticRatio() ) {
- return new EstimateModifyPessimisticRatioCmd( *node, \
node->estimate()->pessimisticRatio(), value.toInt(), "Modify estimate" ); + \
return new EstimateModifyPessimisticRatioCmd( *node, \
node->estimate()->pessimisticRatio(), value.toInt(), i18nc( "(qtundo-format)", \
"Modify pessimistic estimate" ) ); }
default:
break;
@@ -3382,7 +3382,7 @@ bool NodeItemModel::setAllocation( Node *node, const QVariant \
&value, int role ) cmd = 0;
}
- QString c = i18n( "Modify resource allocations" );
+ QString c = i18nc( "(qtundo-format)", "Modify resource allocations" );
// Handle deleted requests
foreach ( const QString &s, req ) {
// if a request is not in alloc, it must have been be removed by the \
user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic