-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 @@ -180,32 +180,32 @@ void PwMDocUi::noMpwMsgBox(bool chipcard, QString prefix, QString postfix) : (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) { @@ -225,13 +225,13 @@ int PwMDocUi::dirtyAskSave(const QString &docTitle) } #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; @@ -318,13 +318,13 @@ bool PwMDocUi::saveAsDocUi(PwMDoc *doc) 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); @@ -379,13 +379,13 @@ bool PwMDocUi::openDocUi(PwMDoc *doc, 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; @@ -393,24 +393,24 @@ bool PwMDocUi::openDocUi(PwMDoc *doc, 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; } } |