From d0274f0afb41daa86b2e2b7dd8cbc1bcd4c704ca Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Wed, 12 Oct 2011 09:23:37 +0000 Subject: [PATCH] Replaces an hardcoded label in an alert(). There are still some technical ones like "An error occured loading content! : " but I don't think it's worth the trouble to fix (more for developers) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1182280 13f79535-47bb-0310-9956-ffa450edef68 --- googlebase/config/GoogleBaseUiLabels.xml | 4 ++++ googlebase/webapp/googlebase/find/googleExportLink.ftl | 2 +- googlebase/widget/GoogleBaseScreens.xml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/googlebase/config/GoogleBaseUiLabels.xml b/googlebase/config/GoogleBaseUiLabels.xml index a247038a4..8e0aa2c04 100644 --- a/googlebase/config/GoogleBaseUiLabels.xml +++ b/googlebase/config/GoogleBaseUiLabels.xml @@ -276,6 +276,10 @@ ไม่พบพารามิเตอร์รหัสหมวดหมู่สินค้า 缺少productCategoryId参数 + + You have to choose any product(s) + Vous devez choisir un ou des produits + No products available in the selected productCategoryId Aucun article disponible dans la réf. de catégorie d'articles sélectionnée diff --git a/googlebase/webapp/googlebase/find/googleExportLink.ftl b/googlebase/webapp/googlebase/find/googleExportLink.ftl index b0bbe88db..662f793f2 100644 --- a/googlebase/webapp/googlebase/find/googleExportLink.ftl +++ b/googlebase/webapp/googlebase/find/googleExportLink.ftl @@ -29,7 +29,7 @@ under the License. document.products.action="<@ofbizUrl>ProductsExportToGoogle"; document.products.submit(); } else { - alert("You have to choose any product(s)."); + alert("${StringUtil.wrapString(uiLabelMap.productsExportToGoogle.missingProduct)}"); } } diff --git a/googlebase/widget/GoogleBaseScreens.xml b/googlebase/widget/GoogleBaseScreens.xml index 388c3eb58..656106275 100644 --- a/googlebase/widget/GoogleBaseScreens.xml +++ b/googlebase/widget/GoogleBaseScreens.xml @@ -47,6 +47,7 @@ under the License.
+