Diffstat (limited to 'pwmanager/pwmanager/pwmdocui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/pwmdocui.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pwmanager/pwmanager/pwmdocui.cpp b/pwmanager/pwmanager/pwmdocui.cpp index 71b4a8d..a9916c2 100644 --- a/pwmanager/pwmanager/pwmdocui.cpp +++ b/pwmanager/pwmanager/pwmdocui.cpp @@ -206,3 +206,3 @@ void PwMDocUi::gpmPwLenErrMsgBox() "again with a longer password."), - i18n("password too short")); + i18n("Password too short")); } @@ -214,3 +214,3 @@ int PwMDocUi::dirtyAskSave(const QString &docTitle) ret = KMessageBox::questionYesNoCancel(currentView, - i18n("The list \"") + + i18n("The list\n\"") + docTitle + @@ -219,3 +219,3 @@ int PwMDocUi::dirtyAskSave(const QString &docTitle) "Do you want to save it?"), - i18n("save?")); + i18n("Save?")); if (ret == KMessageBox::Yes) { @@ -226,5 +226,8 @@ int PwMDocUi::dirtyAskSave(const QString &docTitle) #else + QString doc = docTitle; + if ( doc.length() > 33 ) + doc = "..." + doc.right(30); ret = KMessageBox::warningYesNoCancel(currentView, - i18n("The list \"") + - docTitle + + i18n("The list\n \"") + + doc + i18n @@ -232,3 +235,3 @@ int PwMDocUi::dirtyAskSave(const QString &docTitle) "Do you want to save it?"), - i18n("save?")); + i18n("Save?")); if (ret == KMessageBox::Yes) { |