[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 87617] kio file gives confusing error message when opened file
From: Anders Lund <anders () alweb ! dk>
Date: 2004-09-27 23:58:39
Message-ID: 20040927235839.20623.qmail () ktown ! kde ! org
[Download RAW message or body]
------- 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;
/**
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic