From 6110a523f9acb34a704fda02b2aa9d5e555358f5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Oct 2016 16:27:27 +0900 Subject: 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 --- tdeioslave/trash/trashimpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeioslave/trash/trashimpl.cpp') 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 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; } -- cgit v1.2.1