|
[Bug 87617] kio file gives confusing error message when opened file is dele: msg#00246kde.devel.kwrite
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=87617 anders alweb dk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From anders alweb dk 2004-09-28 01:58 ------- CVS commit by alund: uninline reasonedMOHString, so that the strings gets translated :\ Backport follows CCMAIL: 87617-done bugs kde org M +13 -0 katedocument.cpp 1.753 M +3 -14 katedocument.h 1.292 --- kdelibs/kate/part/katedocument.cpp #1.752:1.753 @ -5325,4 +5325,17 @ bool KateDocument::createDigest( QCStrin } +QString KateDocument::reasonedMOHString() const +{ + QString reason; + if ( m_modOnHdReason == 1 ) + reason = i18n("modified"); + else if ( m_modOnHdReason == 2 ) + reason = i18n("created"); + else if ( m_modOnHdReason == 3 ) + reason = i18n("deleted"); + + return i18n("The file '%1' was changed (%2) on disk by another program.").arg( url().prettyURL() ).arg( reason ); +} + void KateDocument::removeTrailingSpace( uint line ) { --- kdelibs/kate/part/katedocument.h #1.291:1.292 @ -934,16 +934,5 @ class KateDocument : public Kate::Docume * since 3.3 */ - inline QString reasonedMOHString() const - { - QString reason; - if ( m_modOnHdReason == 1 ) - reason = i18n("modified"); - else if ( m_modOnHdReason == 2 ) - reason = i18n("created"); - else if ( m_modOnHdReason == 3 ) - reason = i18n("deleted"); - - return i18n("The file '%1' was changed (%2) on disk by another program.").arg( url().prettyURL() ).arg( reason ); - } + QString reasonedMOHString() const; /** |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Kate and the Terminal Tool: 00246, Anders Lund |
|---|---|
| Next by Date: | [Bug 81005] [PATCH] Corresponding parenthesis does not get colorized: 00246, Anders Lund |
| Previous by Thread: | Re: Kate and the Terminal Tooli: 00246, Anders Lund |
| Next by Thread: | [Bug 87617] kio file gives confusing error message when opened file is deleted on disc: 00246, Rinse De Vries |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |