Author: jleroux
Date: Sun Nov 21 21:07:19 2010 New Revision: 1037559 URL: http://svn.apache.org/viewvc?rev=1037559&view=rev Log: A modified patch from Anne Jessel "title-property should be titleProperty" (https://issues.apache.org/jira/browse/OFBIZ-4018) - OFBIZ-4018 Anne: some screen widgets set the field title-property instead of titleProperty. This causes errors in the logs, and means that the page title is not being set. While preparing this patch, I discovered the labels referred to by some of these titleProperties were not available in Order component. However the missing ones were in Ecommerce. So I copied the missing ones to OrderUiLabels.xml. JLR: instead of copying labels in OrderUiLabels.xml, I moved them to CommonUiLabels.xml: less and more consistent changes in the future. Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml ofbiz/trunk/framework/common/config/CommonUiLabels.xml ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml?rev=1037559&r1=1037558&r2=1037559&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml Sun Nov 21 21:07:19 2010 @@ -89,7 +89,7 @@ under the License. <screen name="category"> <section> <actions> - <set field="title-property" value="PageTitleCategoryPage"/> + <set field="titleProperty" value="PageTitleCategoryPage"/> </actions> <widgets> <decorator-screen name="CommonOrderCatalogDecorator" location="component://order/widget/ordermgr/OrderEntryCommonScreens.xml"> @@ -138,7 +138,7 @@ under the License. <set field="layoutSettings.javaScripts[]" value="/images/prototypejs/prototype.js" global="true"/> <set field="layoutSettings.javaScripts[]" value="/images/prototypejs/popup.js" global="true"/> <set field="layoutSettings.styleSheets[]" value="/images/prototypejs/popup.css" global="true"/> - <set field="title-property" value="PageTitleProductPage"/> + <set field="titleProperty" value="PageTitleProductPage"/> <set field="configproductdetailScreen" value="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#configproductdetail"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy"/> </actions> @@ -208,7 +208,7 @@ under the License. <screen name="keywordsearch"> <section> <actions> - <set field="title-property" value="PageTitleSearchResults"/> + <set field="titleProperty" value="PageTitleSearchResults"/> <set field="productsummaryScreen" value="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productsummary"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/KeywordSearch.groovy"/> </actions> @@ -224,7 +224,7 @@ under the License. <screen name="advancedsearch"> <section> <actions> - <set field="title-property" value="PageTitleAdvancedSearch"/> + <set field="titleProperty" value="PageTitleAdvancedSearch"/> <set field="headerItem" value="Advanced Search"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/AdvancedSearchOptions.groovy"/> @@ -247,7 +247,7 @@ under the License. <screen name="quickadd"> <section> <actions> - <set field="title-property" value="PageTitleQuickAdd"/> + <set field="titleProperty" value="PageTitleQuickAdd"/> <set field="quickaddsummaryScreen" value="component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#quickaddsummary"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/QuickAdd.groovy"/> </actions> Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml?rev=1037559&r1=1037558&r2=1037559&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml Sun Nov 21 21:07:19 2010 @@ -49,7 +49,7 @@ under the License. <section> <actions> <set field="headerItem" value="orderentry"/> - <set field="title-property" value="PageTitleCheckoutOptions"/> + <set field="titleProperty" value="PageTitleCheckoutOptions"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/StorePaymentOptions.groovy"/> Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=1037559&r1=1037558&r2=1037559&view=diff ============================================================================== --- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original) +++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Sun Nov 21 21:07:19 2010 @@ -9386,6 +9386,41 @@ <value xml:lang="zh">æ°å»ºæ°æ®æºç±»å</value> <value xml:lang="zh_CN">å¢å æ°æ°æ®æºç±»å</value> </property> + <property key="PageTitleCategoryPage"> + <value xml:lang="cs">kategorie strana</value> + <value xml:lang="da">Kategori side</value> + <value xml:lang="de">Kategorie Seite</value> + <value xml:lang="en">Category Page</value> + <value xml:lang="es">Página de CategorÃa</value> + <value xml:lang="fr">Page catégorie</value> + <value xml:lang="hi_IN">शà¥à¤°à¥à¤£à¥ पà¥à¤·à¥à¤ </value> + <value xml:lang="it">Pagina categoria</value> + <value xml:lang="ja">ã«ãã´ãªãã¼ã¸</value> + <value xml:lang="nl">Categorie pagina</value> + <value xml:lang="pt_BR">Página de categoria</value> + <value xml:lang="pt_PT">Página para Categoria</value> + <value xml:lang="ro">Pagina Categoria</value> + <value xml:lang="ru">СÑÑаниÑа каÑегоÑии</value> + <value xml:lang="th">หà¸à¹à¸²à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸ªà¸´à¸à¸à¹à¸²</value> + <value xml:lang="zh">å类页é¢</value> + </property> + <property key="PageTitleCheckoutOptions"> + <value xml:lang="cs">Možnosti objednánÃ</value> + <value xml:lang="da">Muligheder for udcheckning</value> + <value xml:lang="de">Bestelloptionen</value> + <value xml:lang="en">Checkout Options</value> + <value xml:lang="es">Opciones De la Comprobación</value> + <value xml:lang="fr">Options de paiement</value> + <value xml:lang="it">Opzioni pagamento</value> + <value xml:lang="ja">ãã§ãã¯ã¢ã¦ããªãã·ã§ã³</value> + <value xml:lang="nl">Bestelopties</value> + <value xml:lang="pt_BR">Opções de pagamento</value> + <value xml:lang="pt_PT">Opções de Pagamento</value> + <value xml:lang="ro">Optiuni Checkout</value> + <value xml:lang="ru">ÐаÑамеÑÑÑ Ð¿Ð¾Ð´ÑвеÑждениÑ</value> + <value xml:lang="th">à¸à¸à¸à¸à¸²à¸à¸à¸²à¸£à¸à¸³à¸£à¸²à¸¢à¸à¸²à¸£à¸à¸µà¹</value> + <value xml:lang="zh">ç»è´¦é项</value> + </property> <property key="PageTitleCommonGeoLocation"> <value xml:lang="en">Geo Location of requested element</value> <value xml:lang="fr">Géolocalisation de l'élément demandé</value> @@ -9499,6 +9534,42 @@ <value xml:lang="th">หà¸à¹à¸²à¸«à¸¥à¸±à¸</value> <value xml:lang="zh">é¦é¡µ</value> </property> + <property key="PageTitleProductPage"> + <value xml:lang="cs">Výrobek - stránka</value> + <value xml:lang="da">Produktside</value> + <value xml:lang="de">Produkt Seite</value> + <value xml:lang="en">Product Page</value> + <value xml:lang="es">Página de Productos</value> + <value xml:lang="fr">Page des articles</value> + <value xml:lang="hi_IN">सामान पà¥à¤·à¥à¤ </value> + <value xml:lang="it">Pagina prodotto</value> + <value xml:lang="ja">Product Page</value> + <value xml:lang="nl">Product pagina</value> + <value xml:lang="pt_BR">Página de produto</value> + <value xml:lang="pt_PT">Página do Produto</value> + <value xml:lang="ro">Pagina Produs</value> + <value xml:lang="ru">СÑÑаниÑа пÑодÑкÑа</value> + <value xml:lang="th">หà¸à¹à¸²à¸ªà¸´à¸à¸à¹à¸²</value> + <value xml:lang="zh">产å页é¢</value> + </property> + <property key="PageTitleQuickAdd"> + <value xml:lang="cs">Zrychlené zadánÃ</value> + <value xml:lang="da">Tilføj hurtigt</value> + <value xml:lang="de">Schnelleingabe</value> + <value xml:lang="en">Quick Add</value> + <value xml:lang="es">Añadir Rápido</value> + <value xml:lang="fr">Ajout rapide</value> + <value xml:lang="hi_IN">à¤à¤²à¥à¤¦ à¤à¥à¥à¥à¤</value> + <value xml:lang="it">Aggiunta veloce</value> + <value xml:lang="ja">Quick Add</value> + <value xml:lang="nl">Snel toevoegen</value> + <value xml:lang="pt_BR">Adição rápida</value> + <value xml:lang="pt_PT">Compra Expresso</value> + <value xml:lang="ro">Adaugare Rapida</value> + <value xml:lang="ru">ÐÑÑÑÑо добавиÑÑ</value> + <value xml:lang="th">à¹à¸à¸´à¹à¸¡à¸à¸¢à¹à¸²à¸à¸£à¸§à¸à¹à¸£à¹à¸§</value> + <value xml:lang="zh">å¿«éæ·»å </value> + </property> <property key="PageTitleViewBlocked"> <value xml:lang="en">View Blocked</value> <value xml:lang="fr">Page bloquée</value> Modified: ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml?rev=1037559&r1=1037558&r2=1037559&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml Sun Nov 21 21:07:19 2010 @@ -3701,24 +3701,6 @@ <value xml:lang="th">à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¹à¸ªà¸£à¹à¸à¸£à¸±à¸à¹à¸à¸´à¸</value> <value xml:lang="zh">è´¦åä¿¡æ¯</value> </property> - <property key="PageTitleCategoryPage"> - <value xml:lang="cs">kategorie strana</value> - <value xml:lang="da">Kategori side</value> - <value xml:lang="de">Kategorie Seite</value> - <value xml:lang="en">Category Page</value> - <value xml:lang="es">Página de CategorÃa</value> - <value xml:lang="fr">Page catégorie</value> - <value xml:lang="hi_IN">शà¥à¤°à¥à¤£à¥ पà¥à¤·à¥à¤ </value> - <value xml:lang="it">Pagina categoria</value> - <value xml:lang="ja">ã«ãã´ãªãã¼ã¸</value> - <value xml:lang="nl">Categorie pagina</value> - <value xml:lang="pt_BR">Página de categoria</value> - <value xml:lang="pt_PT">Página para Categoria</value> - <value xml:lang="ro">Pagina Categoria</value> - <value xml:lang="ru">СÑÑаниÑа каÑегоÑии</value> - <value xml:lang="th">หà¸à¹à¸²à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸ªà¸´à¸à¸à¹à¸²</value> - <value xml:lang="zh">å类页é¢</value> - </property> <property key="PageTitleChangePassword"> <value xml:lang="cs">ZmÄnit heslo</value> <value xml:lang="da">Skift kodeord</value> @@ -3737,23 +3719,6 @@ <value xml:lang="th">à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸«à¸±à¸ªà¸à¹à¸²à¸</value> <value xml:lang="zh">ä¿®æ¹å¯ç </value> </property> - <property key="PageTitleCheckoutOptions"> - <value xml:lang="cs">Možnosti objednánÃ</value> - <value xml:lang="da">Muligheder for udcheckning</value> - <value xml:lang="de">Bestelloptionen</value> - <value xml:lang="en">Checkout Options</value> - <value xml:lang="es">Opciones De la Comprobación</value> - <value xml:lang="fr">Options de paiement</value> - <value xml:lang="it">Opzioni pagamento</value> - <value xml:lang="ja">ãã§ãã¯ã¢ã¦ããªãã·ã§ã³</value> - <value xml:lang="nl">Bestelopties</value> - <value xml:lang="pt_BR">Opções de pagamento</value> - <value xml:lang="pt_PT">Opções de Pagamento</value> - <value xml:lang="ro">Optiuni Checkout</value> - <value xml:lang="ru">ÐаÑамеÑÑÑ Ð¿Ð¾Ð´ÑвеÑждениÑ</value> - <value xml:lang="th">à¸à¸à¸à¸à¸²à¸à¸à¸²à¸£à¸à¸³à¸£à¸²à¸¢à¸à¸²à¸£à¸à¸µà¹</value> - <value xml:lang="zh">ç»è´¦é项</value> - </property> <property key="PageTitleCheckoutReview"> <value xml:lang="cs">OvÄÅovánà objednávky</value> <value xml:lang="da">Gennemse udcheckning</value> @@ -4223,24 +4188,6 @@ <value xml:lang="th">สรุà¸à¸à¸²à¸£à¸ªà¸±à¹à¸à¸à¸·à¹à¸à¸ªà¸´à¸à¸à¹à¸² - à¸à¸à¸à¸à¸¸à¸à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸²à¸£à¸à¸³à¸£à¸²à¸¢à¸à¸²à¸£à¸ªà¸±à¹à¸à¸à¸·à¹à¸à¸ªà¸´à¸à¸à¹à¸²!</value> <value xml:lang="zh">订åæè¦ - è°¢è°¢ä½ çæ 顾ï¼</value> </property> - <property key="PageTitleProductPage"> - <value xml:lang="cs">Výrobek - stránka</value> - <value xml:lang="da">Produktside</value> - <value xml:lang="de">Produkt Seite</value> - <value xml:lang="en">Product Page</value> - <value xml:lang="es">Página de Productos</value> - <value xml:lang="fr">Page des articles</value> - <value xml:lang="hi_IN">सामान पà¥à¤·à¥à¤ </value> - <value xml:lang="it">Pagina prodotto</value> - <value xml:lang="ja">Product Page</value> - <value xml:lang="nl">Product pagina</value> - <value xml:lang="pt_BR">Página de produto</value> - <value xml:lang="pt_PT">Página do Produto</value> - <value xml:lang="ro">Pagina Produs</value> - <value xml:lang="ru">СÑÑаниÑа пÑодÑкÑа</value> - <value xml:lang="th">หà¸à¹à¸²à¸ªà¸´à¸à¸à¹à¸²</value> - <value xml:lang="zh">产å页é¢</value> - </property> <property key="PageTitleProductReview"> <value xml:lang="cs">Výrobek - pÅehled</value> <value xml:lang="da">Produktgennemgang</value> @@ -4273,24 +4220,6 @@ <value xml:lang="th">สำรวà¸à¸à¸£à¸°à¸§à¸±à¸à¸´</value> <value xml:lang="zh">ç®ä»è°æ¥</value> </property> - <property key="PageTitleQuickAdd"> - <value xml:lang="cs">Zrychlené zadánÃ</value> - <value xml:lang="da">Tilføj hurtigt</value> - <value xml:lang="de">Schnelleingabe</value> - <value xml:lang="en">Quick Add</value> - <value xml:lang="es">Añadir Rápido</value> - <value xml:lang="fr">Ajout rapide</value> - <value xml:lang="hi_IN">à¤à¤²à¥à¤¦ à¤à¥à¥à¥à¤</value> - <value xml:lang="it">Aggiunta veloce</value> - <value xml:lang="ja">Quick Add</value> - <value xml:lang="nl">Snel toevoegen</value> - <value xml:lang="pt_BR">Adição rápida</value> - <value xml:lang="pt_PT">Compra Expresso</value> - <value xml:lang="ro">Adaugare Rapida</value> - <value xml:lang="ru">ÐÑÑÑÑо добавиÑÑ</value> - <value xml:lang="th">à¹à¸à¸´à¹à¸¡à¸à¸¢à¹à¸²à¸à¸£à¸§à¸à¹à¸£à¹à¸§</value> - <value xml:lang="zh">å¿«éæ·»å </value> - </property> <property key="PageTitleRequestReturn"> <value xml:lang="cs">OdpovÄÄ na poptávku</value> <value xml:lang="da">Anmod om returnering</value> |
Free forum by Nabble | Edit this page |