-rw-r--r-- | pwmanager/pwmanager/pwmdocui.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pwmanager/pwmanager/pwmdocui.cpp b/pwmanager/pwmanager/pwmdocui.cpp index 41afa6a..9040b2d 100644 --- a/pwmanager/pwmanager/pwmdocui.cpp +++ b/pwmanager/pwmanager/pwmdocui.cpp @@ -178,36 +178,36 @@ void PwMDocUi::noMpwMsgBox(bool chipcard, QString prefix, QString postfix) KMessageBox::error(currentView, msg, (chipcard) ? (i18n("no chipcard")) : (i18n("password error"))); } void PwMDocUi::rootAlertMsgBox() { KMessageBox::error(currentView, - i18n("This feature is not available, " - "if you execute PwM with \"root\" " + i18n("This feature is not available,n" + "if you execute PwM with \"root\" \n" "UID 0 privileges, for security reasons!"), i18n("not allowed as root!")); } void PwMDocUi::cantDeeplock_notSavedMsgBox() { KMessageBox::error(currentView, - i18n("Can't deep-lock, because the document " - "hasn't been saved, yet. Please save " + i18n("Can't deep-lock, because the document\n" + "hasn't been saved, yet. Please save\n" "to a file and try again."), i18n("not saved, yet")); } void PwMDocUi::gpmPwLenErrMsgBox() { KMessageBox::error(currentView, - i18n("GPasman does not support passwords " - "shorter than 4 characters! Please try " + i18n("GPasman does not support passwords\n" + "shorter than 4 characters! Please try\n" "again with a longer password."), i18n("password too short")); } int PwMDocUi::dirtyAskSave(const QString &docTitle) { int ret; #ifndef PWM_EMBEDDED @@ -223,17 +223,17 @@ int PwMDocUi::dirtyAskSave(const QString &docTitle) } else if (ret == KMessageBox::No) { return 1; } #else ret = KMessageBox::warningYesNoCancel(currentView, i18n("The list \"") + docTitle + i18n - ("\" has been modified.\n" + ("\"\nhas been modified.\n" "Do you want to save it?"), i18n("save?")); if (ret == KMessageBox::Yes) { return 0; } else if (ret == KMessageBox::No) { return 1; } @@ -316,17 +316,17 @@ bool PwMDocUi::saveAsDocUi(PwMDoc *doc) } if (fn.right(4) != ".pwm") fn += ".pwm"; PwMerror ret = doc->saveDoc(conf()->confGlobCompression(), &fn); if (ret != e_success) { KMessageBox::error(currentView, i18n("Error: Couldn't write to file.\n" - "Please check if you have permission to " + "Please check if you have permission to\n" "write to the file in that directory."), i18n("error while writing")); doc->timer()->putLock(DocTimer::id_autoLockTimer); return false; } doc->timer()->putLock(DocTimer::id_autoLockTimer); return true; } @@ -377,42 +377,42 @@ bool PwMDocUi::openDocUi(PwMDoc *doc, i18n("This file is already open."), i18n("already open")); goto cancelOpen; } if (ret == e_fileVer) { KMessageBox::error(getCurrentView(), i18n ("File-version is not supported!\n" - "Did you create this file with an older or newer version of PwM?"), + "Did you create this file with an\nolder or newer version of PwM?"), i18n ("incompatible version")); goto cancelOpen; } if (ret == e_wrongPw) { continue; } if (ret == e_noPw) { goto cancelOpen; } if (ret == e_fileFormat) { KMessageBox::error(getCurrentView(), i18n - ("Sorry, this file has not been recognized " + ("Sorry, this file has not been recognized\n" "as a PwM Password file.\n" "Probably you have selected the wrong file."), i18n ("no PwM password-file")); goto cancelOpen; } if (ret == e_fileCorrupt) { KMessageBox::error(getCurrentView(), i18n ("File corrupt!\n" - "Maybe the media, you stored this file on, " + "Maybe the media, you stored this file on,\n" "had bad sectors?"), i18n ("checksum error")); goto cancelOpen; } } break; } |