summaryrefslogtreecommitdiff
path: root/libopie2/opiepim
authoreilers <eilers>2003-09-25 10:57:55 (UTC)
committer eilers <eilers>2003-09-25 10:57:55 (UTC)
commitfe97b1386099f519826392a5734d2bbe567fb786 (patch) (side-by-side diff)
tree133731278965c30a2c072f1c8e9b2e9a361cb1a1 /libopie2/opiepim
parent5a81b7fa962aa83a10a01706135250f3aba8e315 (diff)
downloadopie-fe97b1386099f519826392a5734d2bbe567fb786.zip
opie-fe97b1386099f519826392a5734d2bbe567fb786.tar.gz
opie-fe97b1386099f519826392a5734d2bbe567fb786.tar.bz2
Fixed inconsistencies between Description and NoteFixed inconsistencies between Description and Notess
Diffstat (limited to 'libopie2/opiepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/otodo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiepim/otodo.cpp b/libopie2/opiepim/otodo.cpp
index 5a18c37..189bf94 100644
--- a/libopie2/opiepim/otodo.cpp
+++ b/libopie2/opiepim/otodo.cpp
@@ -266,49 +266,49 @@ void OTodo::setProgress(ushort progress )
{
changeOrModify();
data->prog = progress;
}
QString OTodo::toShortText() const {
return summary();
}
/*!
Returns a richt text string
*/
QString OTodo::toRichText() const
{
QString text;
QStringList catlist;
// summary
text += "<b><h3><img src=\"todo/TodoList\"> ";
if ( !summary().isEmpty() ) {
text += Qtopia::escapeString(summary() ).replace(QRegExp( "[\n]"), "" );
}
text += "</h3></b><br><hr><br>";
// description
if( !description().isEmpty() ){
- text += "<b>" + QObject::tr( "Notes:" ) + "</b><br>";
+ text += "<b>" + QObject::tr( "Description:" ) + "</b><br>";
text += Qtopia::escapeString(description() ).replace(QRegExp( "[\n]"), "<br>" ) + "<br>";
}
// priority
int priorityval = priority();
text += "<b>" + QObject::tr( "Priority:") +" </b><img src=\"todo/priority" +
QString::number( priorityval ) + "\"> ";
switch ( priorityval )
{
case 1 : text += QObject::tr( "Very high" );
break;
case 2 : text += QObject::tr( "High" );
break;
case 3 : text += QObject::tr( "Normal" );
break;
case 4 : text += QObject::tr( "Low" );
break;
case 5 : text += QObject::tr( "Very low" );
break;
};
text += "<br>";
// progress