summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/trashimpl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-10-12 16:27:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-10-12 16:27:27 +0900
commit6110a523f9acb34a704fda02b2aa9d5e555358f5 (patch)
treef77c27a7faca8a5ac98fee2db43760c58985dfdc /tdeioslave/trash/trashimpl.cpp
parentee3091bc41f5cae8be2ba5f8335e0b866edb4711 (diff)
downloadtdebase-6110a523f9acb34a704fda02b2aa9d5e555358f5.tar.gz
tdebase-6110a523f9acb34a704fda02b2aa9d5e555358f5.zip
Trash limit: clean up previous patch (KDE -> TDE conversion, debug messages, TQt
signals/slots...). Improved error message when a file is too big to fit within the max trash size limit. This relates to bug 1923. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/trash/trashimpl.cpp')
-rw-r--r--tdeioslave/trash/trashimpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeioslave/trash/trashimpl.cpp b/tdeioslave/trash/trashimpl.cpp
index 1b67e5949..e6b219a13 100644
--- a/tdeioslave/trash/trashimpl.cpp
+++ b/tdeioslave/trash/trashimpl.cpp
@@ -1,4 +1,4 @@
-/* This file is part of the KDE project
+/* This file is part of the TDE project
Copyright (C) 2004 David Faure <faure@kde.org>
This library is free software; you can redistribute it and/or
@@ -1018,7 +1018,7 @@ bool TrashImpl::adaptTrashSize( const TQString& origPath, int trashId )
if ( ((double)fileSize*100/(double)partitionSize) >= percent ) {
m_lastErrorCode = TDEIO::ERR_SLAVE_DEFINED;
- m_lastErrorMessage = i18n( "The file is too large to be trashed." );
+ m_lastErrorMessage = i18n( "The file is too big to be trashed because it exceeds the maximum size set for the trash bin." );
return false;
}