From 6c281092d705e61da5ff41206746682ac9e500b5 Mon Sep 17 00:00:00 2001 From: Enej Bajgoric Date: Fri, 24 Jun 2016 12:54:46 -0700 Subject: [PATCH] Plugins: Combine error messages becasue they have the same key --- client/lib/plugins/notices.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/lib/plugins/notices.jsx b/client/lib/plugins/notices.jsx index 06a37d70a8611..d8a88a0156a45 100644 --- a/client/lib/plugins/notices.jsx +++ b/client/lib/plugins/notices.jsx @@ -576,7 +576,7 @@ module.exports = { return i18n.translate( 'Plugin is already installed.' ); case 'incompatible_archive': - return i18n.translate( 'Incompatible Archive.' ); + return i18n.translate( 'Incompatible Archive. The package could not be installed.' ); case 'empty_archive_pclzip': return i18n.translate( 'Empty archive.' ); @@ -624,9 +624,6 @@ module.exports = { case 'mkdir_failed': return i18n.translate( 'Could not create directory.' ); - case 'incompatible_archive': - return i18n.translate( 'The package could not be installed.' ); - case 'files_not_writable': return i18n.translate( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' );