[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kmail
From: Till Adam <adam () kde ! org>
Date: 2005-05-01 15:17:57
Message-ID: 20050501151757.91533666 () office ! kde ! org
[Download RAW message or body]
CVS commit by tilladam:
Escape folder names when showing them in dialogs.
M +7 -7 kmmainwidget.cpp 1.328
--- kdepim/kmail/kmmainwidget.cpp #1.327:1.328
@@ -966,5 +966,5 @@ void KMMainWidget::slotExpireFolder()
if (config->readBoolEntry("warn-before-expire", true)) {
- str = i18n("<qt>Are you sure you want to expire the folder \
<b>%1</b>?</qt>").arg(mFolder->label()); + str = i18n("<qt>Are you sure you want \
to expire the folder <b>%1</b>?</qt>").arg(QStyleSheet::escape( \
mFolder->label() ));
if (KMessageBox::warningContinueCancel(this, str, i18n("Expire Folder"),
i18n("&Expire"))
@@ -989,5 +989,5 @@ void KMMainWidget::slotEmptyFolder()
i18n("Are you sure you want to empty the trash folder?") :
i18n("<qt>Are you sure you want to move all messages from "
- "folder <b>%1</b> to the trash?</qt>").arg(mFolder->label());
+ "folder <b>%1</b> to the trash?</qt>").arg( QStyleSheet::escape( \
mFolder->label() ) );
if (KMessageBox::warningContinueCancel(this, text, title, KGuiItem( title, \
"edittrash")) @@ -1027,5 +1027,5 @@ void KMMainWidget::slotRemoveFolder()
"if you do so, as they are stored in a different folder.</qt>")
- .arg(mFolder->label());
+ .arg( QStyleSheet::escape( mFolder->label() ) );
} else {
if ( mFolder->count() == 0 ) {
@@ -1033,5 +1033,5 @@ void KMMainWidget::slotRemoveFolder()
str = i18n("<qt>Are you sure you want to delete the empty folder "
"<b>%1</b>?</qt>")
- .arg(mFolder->label());
+ .arg( QStyleSheet::escape( mFolder->label() ) );
}
else {
@@ -1040,5 +1040,5 @@ void KMMainWidget::slotRemoveFolder()
"might not be empty and their contents will be "
"discarded as well.</qt>")
- .arg(mFolder->label());
+ .arg( QStyleSheet::escape( mFolder->label() ) );
}
} else {
@@ -1046,5 +1046,5 @@ void KMMainWidget::slotRemoveFolder()
str = i18n("<qt>Are you sure you want to delete the folder "
"<b>%1</b>, discarding its contents?</qt>")
- .arg(mFolder->label());
+ .arg( QStyleSheet::escape( mFolder->label() ) );
}
else {
@@ -1052,5 +1052,5 @@ void KMMainWidget::slotRemoveFolder()
"<b>%1</b> and all its subfolders, discarding their "
"contents?</qt>")
- .arg(mFolder->label());
+ .arg( QStyleSheet::escape( mFolder->label() ) );
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic