[i18n] Add missing surrounding <>
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 Feb 2017 16:07:24 +0100
changeset 2338 32b51a3986b2
parent 2337 a30e5b281d79
child 2339 ca8f0f056a87
[i18n] Add missing surrounding <> Leading to untranslated string. Fix xsd2uicfg and regenerate uicfg file.
views/uicfg.py
xsd2uicfg.py
--- a/views/uicfg.py	Mon Feb 06 15:32:16 2017 +0100
+++ b/views/uicfg.py	Mon Feb 06 16:07:24 2017 +0100
@@ -1106,36 +1106,36 @@
 rec.tag_subject_of(('*', 'archival_agreement', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_archival_agreement', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_transfer_request_reply_identifier', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_archival_agency', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_transferring_agency', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_reply_code_list_version', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_message_digest_algorithm_code_list_version', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_archival_agency', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_transferring_agency', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_reply_code_list_version', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_message_digest_algorithm_code_list_version', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_mime_type_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_mime_type_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_mime_type_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_encoding_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_encoding_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_file_format_code_list_version', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_encoding_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_file_format_code_list_version', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_compression_algorithm_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_compression_algorithm_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_compression_algorithm_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_data_object_version_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_data_object_version_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_data_object_version_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_storage_rule_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_storage_rule_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_storage_rule_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_appraisal_rule_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_appraisal_rule_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_appraisal_rule_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_access_rule_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_access_rule_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_access_rule_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_dissemination_rule_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_dissemination_rule_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_dissemination_rule_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_reuse_rule_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_reuse_rule_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_reuse_rule_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_classification_rule_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_classification_rule_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_classification_rule_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_relationship_code_list_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_relationship_code_list_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_relationship_code_list_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'filename', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_data_object_version_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_data_object_version_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_data_object_version_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'seda_alt_binary_data_object_attachment', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'compressed', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_compressed', '*'), {'novalue_label': ' '})
@@ -1151,19 +1151,19 @@
 rec.tag_subject_of(('*', 'need_authorization', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_need_authorization', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'seda_alt_archive_unit_archive_unit_ref_id', '*'), {'novalue_label': '<no value specified>'})
-rec.tag_subject_of(('*', 'seda_type_relationship', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_target', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_type_relationship', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_target', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_attachment', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_uri', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_algorithm', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_algorithm', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'format_litteral', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_format_litteral', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_mime_type_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_mime_type_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_mime_type_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_format_id_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_format_id_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_format_id_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_encoding_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_encoding_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_encoding_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'creating_application_name', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_creating_application_name', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'creating_application_version', '*'), {'novalue_label': '<no value specified>'})
@@ -1184,26 +1184,26 @@
 rec.tag_object_of(('*', 'seda_weight', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_number_of_page', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_archive_unit_ref_id_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_archive_unit_ref_id_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_archive_unit_ref_id_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'seda_seq_alt_archive_unit_archive_unit_ref_id_management', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'seda_alt_storage_rule_prevent_inheritance', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_final_action', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_final_action', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'seda_alt_appraisal_rule_prevent_inheritance', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'seda_alt_access_rule_prevent_inheritance', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'seda_alt_dissemination_rule_prevent_inheritance', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'seda_alt_reuse_rule_prevent_inheritance', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'seda_alt_classification_rule_prevent_inheritance', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_classification_level', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_classification_level', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_classification_reassessing_date', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'need_reassessing_authorization', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_need_reassessing_authorization', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_unit', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_unit', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'restriction_rule_id_ref', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_restriction_rule_id_ref', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'restriction_value', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_restriction_value', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_restriction_end_date', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_description_level', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_description_level', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'title', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_title', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'file_plan_position', '*'), {'novalue_label': '<no value specified>'})
@@ -1219,13 +1219,13 @@
 rec.tag_subject_of(('*', 'description', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_description', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_type_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_type_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_type_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'document_type', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_document_type', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_language_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_language_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_language_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_description_language_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_description_language_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_description_language_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'status', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_status', '*'), {'novalue_label': ' '})
 rec.tag_subject_of(('*', 'version', '*'), {'novalue_label': '<no value specified>'})
@@ -1233,14 +1233,14 @@
 rec.tag_subject_of(('*', 'tag', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'keyword_content', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_originating_agency_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_originating_agency_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_originating_agency_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_submission_agency_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_submission_agency_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_submission_agency_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_authorized_agent_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_authorized_agent_to', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_writer_to', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_addressee_to', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_recipient_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_authorized_agent_to', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_writer_to', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_addressee_to', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_recipient_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'source', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_source', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_created_date', '*'), {'novalue_label': ' '})
@@ -1251,23 +1251,23 @@
 rec.tag_object_of(('*', 'seda_registered_date', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_start_date', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_end_date', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_data_object_reference_id', '*'), {'novalue_label': 'no value specified'})
-rec.tag_subject_of(('*', 'seda_rule', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_data_object_reference_id', '*'), {'novalue_label': '<no value specified>'})
+rec.tag_subject_of(('*', 'seda_rule', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'prevent_inheritance', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_prevent_inheritance', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_ref_non_rule_id_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_ref_non_rule_id_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'custodial_history_item', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_custodial_history_file', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_keyword_reference_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_keyword_reference_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_keyword_reference_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_keyword_type_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_keyword_type_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_keyword_type_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'spatial', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'temporal', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_subject_of(('*', 'juridictional', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_event_identifier', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_event_type_from', '*'), {'novalue_label': ' '})
-rec.tag_subject_of(('*', 'seda_event_type_to', '*'), {'novalue_label': 'no value specified'})
+rec.tag_subject_of(('*', 'seda_event_type_to', '*'), {'novalue_label': '<no value specified>'})
 rec.tag_object_of(('*', 'seda_event_detail', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_gps_version_id', '*'), {'novalue_label': ' '})
 rec.tag_object_of(('*', 'seda_gps_altitude', '*'), {'novalue_label': ' '})
--- a/xsd2uicfg.py	Mon Feb 06 15:32:16 2017 +0100
+++ b/xsd2uicfg.py	Mon Feb 06 16:07:24 2017 +0100
@@ -174,7 +174,7 @@
             return
         self._processed.add(('rec', mapping.rtype))
         if mapping.composite is None:
-            yield mapping.rtype, 'subject', 'no value specified'
+            yield mapping.rtype, 'subject', '<no value specified>'
         else:
             card = mapping.card[mapping.composite == 'object']
             if card == '1':