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
This commit is contained in:
@@ -276,6 +276,10 @@
|
||||
<value xml:lang="th">ไม่พบพารามิเตอร์รหัสหมวดหมู่สินค้า</value>
|
||||
<value xml:lang="zh">缺少productCategoryId参数</value>
|
||||
</property>
|
||||
<property key="productsExportToGoogle.missingProduct">
|
||||
<value xml:lang="en">You have to choose any product(s)</value>
|
||||
<value xml:lang="fr">Vous devez choisir un ou des produits</value>
|
||||
</property>
|
||||
<property key="productsExportToGoogle.noProductsAvailableInProductCategory">
|
||||
<value xml:lang="en">No products available in the selected productCategoryId</value>
|
||||
<value xml:lang="fr">Aucun article disponible dans la réf. de catégorie d'articles sélectionnée</value>
|
||||
|
||||
@@ -29,7 +29,7 @@ under the License.
|
||||
document.products.action="<@ofbizUrl>ProductsExportToGoogle</@ofbizUrl>";
|
||||
document.products.submit();
|
||||
} else {
|
||||
alert("You have to choose any product(s).");
|
||||
alert("${StringUtil.wrapString(uiLabelMap.productsExportToGoogle.missingProduct)}");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -47,6 +47,7 @@ under the License.
|
||||
<screen name="keywordsearch">
|
||||
<section>
|
||||
<actions>
|
||||
<property-map resource="GoogleBaseUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<set field="titleProperty" value="PageTitleSearchResults"/>
|
||||
<script location="component://product/webapp/catalog/WEB-INF/actions/find/keywordsearch.groovy"/>
|
||||
<script location="component://googlebase/webapp/googlebase/WEB-INF/actions/FilterProducts.groovy"/>
|
||||
|
||||
Reference in New Issue
Block a user