diff --git a/app/code/Magento/Wishlist/Controller/Index/Fromcart.php b/app/code/Magento/Wishlist/Controller/Index/Fromcart.php index bcf8b278e2d03811fe8b7c5092b299acd7769f9b..8ee09cc1d33b71d068ae3c15f6a4346bf272e2ee 100644 --- a/app/code/Magento/Wishlist/Controller/Index/Fromcart.php +++ b/app/code/Magento/Wishlist/Controller/Index/Fromcart.php @@ -105,7 +105,7 @@ class Fromcart extends Action\Action implements IndexInterface $wishlist->save(); $this->messageManager->addSuccessMessage(__( - "%1 has been moved to your wishlist.", + "%1 has been moved to your wish list.", $this->escaper->escapeHtml($item->getProduct()->getName()) )); } catch (LocalizedException $e) { diff --git a/app/code/Magento/Wishlist/Test/Unit/Controller/Index/FromcartTest.php b/app/code/Magento/Wishlist/Test/Unit/Controller/Index/FromcartTest.php index d492dcced8ddc863b966d8068399c810d0ccd9b9..58109d6dc3d256607c2b1ba33b3101d50ede0944 100644 --- a/app/code/Magento/Wishlist/Test/Unit/Controller/Index/FromcartTest.php +++ b/app/code/Magento/Wishlist/Test/Unit/Controller/Index/FromcartTest.php @@ -227,7 +227,7 @@ class FromcartTest extends \PHPUnit_Framework_TestCase $this->messageManager->expects($this->once()) ->method('addSuccessMessage') - ->with(__("%1 has been moved to your wishlist.", $productName)) + ->with(__("%1 has been moved to your wish list.", $productName)) ->willReturnSelf(); $this->resultRedirect->expects($this->once()) diff --git a/app/code/Magento/Wishlist/i18n/de_DE.csv b/app/code/Magento/Wishlist/i18n/de_DE.csv index 85d040f5d29ced1fab29104215bd450df9e96653..23cf75b5751db36f4440279d19055fc0a609f088 100644 --- a/app/code/Magento/Wishlist/i18n/de_DE.csv +++ b/app/code/Magento/Wishlist/i18n/de_DE.csv @@ -65,7 +65,7 @@ Message,Nachricht "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart","Kann Objekt nicht zum Warenkorb hinzufügen" "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.","E-Mail-Adressfeld darf nicht leer sein." diff --git a/app/code/Magento/Wishlist/i18n/en_US.csv b/app/code/Magento/Wishlist/i18n/en_US.csv index fc5976e474022352c3751f4dbc5bf6f56f107efc..5bbcbde21a8085f640b14c6d1bc47cde46362289 100644 --- a/app/code/Magento/Wishlist/i18n/en_US.csv +++ b/app/code/Magento/Wishlist/i18n/en_US.csv @@ -65,7 +65,7 @@ Message,Message "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart","Cannot add item to shopping cart" "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.","Email address can't be empty." diff --git a/app/code/Magento/Wishlist/i18n/es_ES.csv b/app/code/Magento/Wishlist/i18n/es_ES.csv index 90aa8b117a67b597ada05c6623f09f09d19dd458..e811032517e7ce9b5a7a5f9c2488c0f4b16eec7f 100644 --- a/app/code/Magento/Wishlist/i18n/es_ES.csv +++ b/app/code/Magento/Wishlist/i18n/es_ES.csv @@ -65,7 +65,7 @@ Message,Mensaje "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart","No se pudo añadir el artÃculo al carrito de compra" "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.","El campo Dirección de correo electrónico no puede estar vacÃo." diff --git a/app/code/Magento/Wishlist/i18n/fr_FR.csv b/app/code/Magento/Wishlist/i18n/fr_FR.csv index a1f5b4c198f61255af30d1b91322fd05d78c6a72..23d53490578b6701525ef258b068e6a48e738872 100644 --- a/app/code/Magento/Wishlist/i18n/fr_FR.csv +++ b/app/code/Magento/Wishlist/i18n/fr_FR.csv @@ -65,7 +65,7 @@ Message,Message "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart","Ne peut ajouter l'article au caddy" "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.","Adresse courriel ne peut être vide." diff --git a/app/code/Magento/Wishlist/i18n/nl_NL.csv b/app/code/Magento/Wishlist/i18n/nl_NL.csv index 6cd576421cb400056e0922687c566c9a62cb27f8..d72bfd19d242d5ee4c25146204223a4ca39add91 100644 --- a/app/code/Magento/Wishlist/i18n/nl_NL.csv +++ b/app/code/Magento/Wishlist/i18n/nl_NL.csv @@ -65,7 +65,7 @@ Message,Boodschap "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart","Kan het item niet toevoegen aan het winkelwagentje" "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.","E-mailadres mag niet leeg zijn." diff --git a/app/code/Magento/Wishlist/i18n/pt_BR.csv b/app/code/Magento/Wishlist/i18n/pt_BR.csv index 94f8126a7f847a40130d838dd447812814b8b5e6..4c130bd89b6a90c0799dfcd24893f0dd6e308cb3 100644 --- a/app/code/Magento/Wishlist/i18n/pt_BR.csv +++ b/app/code/Magento/Wishlist/i18n/pt_BR.csv @@ -65,7 +65,7 @@ Message,Mensagem "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart","Não é possÃvel adicionar item ao carrinho de compras" "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.","O endereço de email não pode ficar vazio." diff --git a/app/code/Magento/Wishlist/i18n/zh_CN.csv b/app/code/Magento/Wishlist/i18n/zh_CN.csv index 5279ab788f79154b4702044ccab02046b62369bb..12caf10849a5a806dac0e7ee9274bba219e259a5 100644 --- a/app/code/Magento/Wishlist/i18n/zh_CN.csv +++ b/app/code/Magento/Wishlist/i18n/zh_CN.csv @@ -65,7 +65,7 @@ Message,ä¿¡æ¯ "An error occurred while deleting the item from wish list.","An error occurred while deleting the item from wish list." "Cannot add item to shopping cart",æ— æ³•æ·»åŠ å†…å®¹åˆ°è´ç‰©è½¦ "The requested cart item doesn't exist.","The requested cart item doesn't exist." -"%1 has been moved to your wishlist.","%1 has been moved to your wishlist." +"%1 has been moved to your wish list.","%1 has been moved to your wish list." "We can't move the item to the wish list.","We can't move the item to the wish list." "Message length must not exceed %1 symbols","Message length must not exceed %1 symbols" "Email address can't be empty.",邮件地å€ä¸èƒ½ä¸ºç©ºã€‚ diff --git a/dev/tests/functional/tests/app/Magento/Wishlist/Test/Constraint/AssertMoveProductToWishlistSuccessMessage.php b/dev/tests/functional/tests/app/Magento/Wishlist/Test/Constraint/AssertMoveProductToWishlistSuccessMessage.php index af6d6ebf9a16728148c258e8a164d576f49535fb..88a588fe6309f0f7aa70c7bf380598a8effad1ed 100644 --- a/dev/tests/functional/tests/app/Magento/Wishlist/Test/Constraint/AssertMoveProductToWishlistSuccessMessage.php +++ b/dev/tests/functional/tests/app/Magento/Wishlist/Test/Constraint/AssertMoveProductToWishlistSuccessMessage.php @@ -19,7 +19,7 @@ class AssertMoveProductToWishlistSuccessMessage extends AbstractConstraint /** * Success add message */ - const SUCCESS_MESSAGE = "%s has been moved to your wishlist."; + const SUCCESS_MESSAGE = "%s has been moved to your wish list."; /** * Assert that success message appears on My Wish List page after moving product to wishlist.