Skip to content

Commit

Permalink
Plugins: Combine error messages becasue they have the same key
Browse files Browse the repository at this point in the history
  • Loading branch information
enejb committed Jun 24, 2016
1 parent aa1aac4 commit 6c28109
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client/lib/plugins/notices.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.' );
Expand Down Expand Up @@ -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.' );

Expand Down

0 comments on commit 6c28109

Please sign in to comment.