From 368936df7c980e80ec46d034c5d682b078e155e5 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 26 Jun 2014 23:31:57 +0200 Subject: [PATCH] [FIX] product, website_sale: Go in GB (Go is fr) --- addons/product/product_demo.xml | 4 ++-- .../static/src/js/website.tour.sale.js | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/addons/product/product_demo.xml b/addons/product/product_demo.xml index 112cb581a4b..763c7620b13 100644 --- a/addons/product/product_demo.xml +++ b/addons/product/product_demo.xml @@ -135,11 +135,11 @@ HDD SH-1 Memory - 16 Go + 16 GB - 32 Go + 32 GB diff --git a/addons/website_sale/static/src/js/website.tour.sale.js b/addons/website_sale/static/src/js/website.tour.sale.js index a173452c9ec..e9136f0f911 100644 --- a/addons/website_sale/static/src/js/website.tour.sale.js +++ b/addons/website_sale/static/src/js/website.tour.sale.js @@ -18,12 +18,12 @@ element: "#customize-menu a:contains(Product Attribute's Filters)", }, { - title: "select product attribute memory 16 Go", - element: 'form.js_attributes label:contains(16 Go) input:not(:checked)', + title: "select product attribute memory 16 GB", + element: 'form.js_attributes label:contains(16 GB) input:not(:checked)', }, { title: "check the selection", - waitFor: 'form.js_attributes label:contains(16 Go) input:checked', + waitFor: 'form.js_attributes label:contains(16 GB) input:checked', }, { title: "select ipod", @@ -32,7 +32,7 @@ }, { title: "finish", - waitFor: 'label:contains(32 Go) input', + waitFor: 'label:contains(32 GB) input', } ] }); @@ -48,13 +48,13 @@ element: '.oe_product_cart a:contains("iPod")', }, { - title: "select ipod 32Go", + title: "select ipod 32GB", waitFor: '#product_detail', - element: 'label:contains(32 Go) input', + element: 'label:contains(32 GB) input', }, { title: "click on add to cart", - waitFor: 'label:contains(32 Go) input[checked]', + waitFor: 'label:contains(32 GB) input[checked]', element: 'form[action="/shop/cart/update"] .btn', }, { @@ -65,11 +65,11 @@ { title: "add one more iPod", waitFor: '.my_cart_quantity:contains(2)', - element: '#cart_products tr:contains("32 Go") a.js_add_cart_json:eq(1)', + element: '#cart_products tr:contains("32 GB") a.js_add_cart_json:eq(1)', }, { title: "remove Headphones", - waitFor: '#cart_products tr:contains("32 Go") input.js_quantity[value=2]', + waitFor: '#cart_products tr:contains("32 GB") input.js_quantity[value=2]', element: '#cart_products tr:contains("Apple In-Ear Headphones") a.js_add_cart_json:first', }, {