diff --git a/bt5/erp5_forge/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_translated_causality_validation_state_title.catalog_keys.xml b/bt5/erp5_forge/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_translated_causality_validation_state_title.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..7d6996cb9cc91ab4fe5229d7497a904d6d982ee2 --- /dev/null +++ b/bt5/erp5_forge/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_translated_causality_validation_state_title.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_forge/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_translated_causality_validation_state_title.xml b/bt5/erp5_forge/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_translated_causality_validation_state_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..11bdd5d5d4f50ab41d52254617dc81fa410ecc8b --- /dev/null +++ b/bt5/erp5_forge/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_translated_causality_validation_state_title.xml @@ -0,0 +1,180 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_2</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> + <string>table_0</string> + <string>table_1</string> + <string>table_2</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\r\n +table_1\r\n +table_2</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_related_translated_causality_validation_state_title</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_2>.original_message = <dtml-var table_1>.validation_state\n +AND <dtml-var table_2>.message_context = "validation_state_title"\n +AND <dtml-var table_2>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">\n +AND <dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.causality.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_2>.original_message = <dtml-var table_1>.validation_state\n +AND <dtml-var table_2>.message_context = "validation_state_title"\n +AND <dtml-var table_2>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">\n +AND <dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.causality.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_forge/CatalogRelatedKeyTemplateItem/related_key_list.xml b/bt5/erp5_forge/CatalogRelatedKeyTemplateItem/related_key_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..a2c91f46ca91f91b80160f2f3fbf874f9f49a993 --- /dev/null +++ b/bt5/erp5_forge/CatalogRelatedKeyTemplateItem/related_key_list.xml @@ -0,0 +1,3 @@ +<key_list> + <key>causality_translated_validation_state_title | category,catalog,translation/translated_message/z_related_translated_causality_validation_state_title</key> +</key_list> \ No newline at end of file diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList.xml index dcdf8c7e82c9e6ab2aa60c24d0a78ad69bd1019f..4ff5d671320d0047c7cfcacef3aa331630003875 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList.xml @@ -81,7 +81,9 @@ <item> <key> <string>hidden</string> </key> <value> - <list/> + <list> + <string>listbox_causality_translated_validation_state_title</string> + </list> </value> </item> <item> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml index 3d2aa9f62039910744675078bfd4f8d7666d0f34..b71cdcd2e7742d2bcc3ae750ea99117eed4e702a 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml @@ -107,10 +107,6 @@ <string>description</string> <string>Description</string> </tuple> - <tuple> - <string>GlossaryTerm_viewHeadOfComment</string> - <string>Comment</string> - </tuple> <tuple> <string>translated_validation_state_title</string> <string>State</string> @@ -119,6 +115,10 @@ <string>causality_title</string> <string>Original English Term</string> </tuple> + <tuple> + <string>causality_translated_validation_state_title</string> + <string>Original Term State</string> + </tuple> <tuple> <string>creation_date</string> <string>Creation Date</string> @@ -154,10 +154,6 @@ <string>description</string> <string>Description</string> </tuple> - <tuple> - <string>GlossaryTerm_viewHeadOfComment</string> - <string>Comment</string> - </tuple> <tuple> <string>translated_validation_state_title</string> <string>State</string> @@ -239,6 +235,10 @@ <string>causality_title</string> <string>Original English Term</string> </tuple> + <tuple> + <string>causality_translated_validation_state_title</string> + <string>Original Term State</string> + </tuple> <tuple> <string>creation_date</string> <string>Creation Date</string> @@ -297,6 +297,10 @@ <string>causality_title</string> <string>Original English Term</string> </tuple> + <tuple> + <string>causality_translated_validation_state_title</string> + <string>Original Term State</string> + </tuple> <tuple> <string>creation_date</string> <string>Creation Date</string> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox_causality_translated_validation_state_title.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox_causality_translated_validation_state_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..6aeea4fa5ab3c54ca242b60da48417567d82c33d --- /dev/null +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox_causality_translated_validation_state_title.xml @@ -0,0 +1,281 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>listbox_causality_translated_validation_state_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Original Term State</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>cell/GlossaryTerm_getCausalityTranslatedValidationStateTitle</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryTerm_getCausalityTranslatedValidationStateTitle.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryTerm_getCausalityTranslatedValidationStateTitle.xml new file mode 100644 index 0000000000000000000000000000000000000000..2696870fd91413391a63fdc046f169399cd8e5f2 --- /dev/null +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryTerm_getCausalityTranslatedValidationStateTitle.xml @@ -0,0 +1,126 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>causality_term = context.getCausalityValue(portal_type=\'Glossary Term\')\n +if causality_term is not None:\n + return causality_term.getTranslatedValidationStateTitle()\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>causality_term</string> + <string>None</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>GlossaryTerm_getCausalityTranslatedValidationStateTitle</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision index af40ff6b882b7bd2455294febc16e3d08cd17de9..3fa694f2455f39f033c48543cf4f6fed6f637488 100644 --- a/bt5/erp5_forge/bt/revision +++ b/bt5/erp5_forge/bt/revision @@ -1 +1 @@ -433 \ No newline at end of file +437 \ No newline at end of file diff --git a/bt5/erp5_forge/bt/template_catalog_method_id_list b/bt5/erp5_forge/bt/template_catalog_method_id_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..26a733a2f3e184e497161371bd1f61297bf9be73 100644 --- a/bt5/erp5_forge/bt/template_catalog_method_id_list +++ b/bt5/erp5_forge/bt/template_catalog_method_id_list @@ -0,0 +1 @@ +erp5_mysql_innodb/z_related_translated_causality_validation_state_title \ No newline at end of file diff --git a/bt5/erp5_forge/bt/template_catalog_related_key_list b/bt5/erp5_forge/bt/template_catalog_related_key_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..35b6abcb3f2da377b00286f1e071c2eaf643a65b 100644 --- a/bt5/erp5_forge/bt/template_catalog_related_key_list +++ b/bt5/erp5_forge/bt/template_catalog_related_key_list @@ -0,0 +1 @@ +causality_translated_validation_state_title | category,catalog,translation/translated_message/z_related_translated_causality_validation_state_title \ No newline at end of file