summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-05-26 13:11:38 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-05-26 14:28:38 +0300
commit3856007b3bb1dcd891be1940162057eb6a4ca220 (patch)
tree9aa9e35f41abd036a380accfa200a508302b00b9
parent0ec3c25c9509925946e38980ba1f1eba91a420d1 (diff)
downloadtdelibs-3856007b3bb1dcd891be1940162057eb6a4ca220.tar.gz
tdelibs-3856007b3bb1dcd891be1940162057eb6a4ca220.zip
Kate: use paths for local files in modified on disk dialog
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 95dfecf29575660a2c652b8e3e7055e199ca635a)
-rw-r--r--kate/part/katedocument.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp
index 4118cb7ef..a125c2c85 100644
--- a/kate/part/katedocument.cpp
+++ b/kate/part/katedocument.cpp
@@ -4978,13 +4978,13 @@ TQString KateDocument::reasonedMOHString() const
switch( m_modOnHdReason )
{
case 1:
- return i18n("The file '%1' was modified by another program.").arg( url().prettyURL() );
+ return i18n("The file '%1' was modified by another program.").arg( url().pathOrURL() );
break;
case 2:
- return i18n("The file '%1' was created by another program.").arg( url().prettyURL() );
+ return i18n("The file '%1' was created by another program.").arg( url().pathOrURL() );
break;
case 3:
- return i18n("The file '%1' was deleted by another program.").arg( url().prettyURL() );
+ return i18n("The file '%1' was deleted by another program.").arg( url().pathOrURL() );
break;
default:
return TQString();