From 3ff771bd1e7a4f8cf0befcb11acd3b4a25a9b941 Mon Sep 17 00:00:00 2001 From: jensp Date: Sat, 23 Mar 2013 09:04:37 +0000 Subject: [PATCH] =?UTF-8?q?Formatierungen,=20zus=C3=A4tzliche=20Bundle-Kla?= =?UTF-8?q?ssen=20um=20Sprachumschaltung=20um=20Content-Center=20zu=20erm?= =?UTF-8?q?=C3=B6glichen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@2103 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms/src/com/arsdigita/cms/CMSConfig.java | 43 + .../cms/CMSConfig_parameter.properties | 17 +- .../arsdigita/cms/CMSResources_en.properties | 1122 ----------------- .../cms/CMSResources_en_GB.properties | 1 - .../cms/dispatcher/SimpleXMLGenerator.java | 52 +- .../cms/ui/authoring/NewItemForm.java | 2 +- .../arsdigita/cms/util/CMSResourceBundle.java | 11 +- .../cms/util/CMSResourceBundle_de.java | 10 + .../cms/util/CMSResourceBundle_en_GB.java | 10 + .../cms/util/CMSResourceBundle_fr.java | 10 + .../arsdigita/cms/util/GlobalizationUtil.java | 10 +- 11 files changed, 144 insertions(+), 1144 deletions(-) delete mode 100755 ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties create mode 100644 ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_de.java create mode 100644 ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_en_GB.java create mode 100644 ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_fr.java diff --git a/ccm-cms/src/com/arsdigita/cms/CMSConfig.java b/ccm-cms/src/com/arsdigita/cms/CMSConfig.java index 6c552f3d9..c112122ab 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSConfig.java +++ b/ccm-cms/src/com/arsdigita/cms/CMSConfig.java @@ -33,6 +33,7 @@ import com.arsdigita.categorization.Category; import com.arsdigita.cms.dispatcher.DefaultTemplateResolver; import com.arsdigita.cms.dispatcher.ItemResolver; import com.arsdigita.cms.dispatcher.MultilingualItemResolver; +import com.arsdigita.cms.dispatcher.SimpleXMLGenerator; import com.arsdigita.cms.dispatcher.TemplateResolver; import com.arsdigita.cms.lifecycle.PublishLifecycleListener; import com.arsdigita.cms.publishToFile.PublishToFileConfig; @@ -622,10 +623,36 @@ public final class CMSConfig extends AbstractConfig { "com.arsdigita.cms.image_cache.max_age", Parameter.REQUIRED, 300); + /** + * Enable the PersonOrgaUnitsStep? + */ private final Parameter m_attachPersonOrgaUnitsStep = new BooleanParameter( "com.arsdigita.cms.contenttypes.genericperson.attach_person_orgaunits_step", Parameter.REQUIRED, Boolean.TRUE); + /** + * Enable or disable the XML cache in {@link SimpleXMLGenerator} + */ + private final Parameter m_enableXmlCache = new BooleanParameter( + "com.arsdigita.cms.xml.cache.enable", + Parameter.REQUIRED, + Boolean.FALSE); + /** + * Maximum number of items stored in the XML cache + * + */ + private final Parameter m_xmlCacheSize = new IntegerParameter( + "com.arsdigita.cms.xml.cache.size", + Parameter.REQUIRED, + 2500); + /** + * Maximum age of cache entry for the XML cache + * + */ + private final Parameter m_xmlCacheAge = new IntegerParameter( + "com.arsdigita.cms.xml.cache.age", + Parameter.REQUIRED, + 60 * 60 * 24); // /////////////////////////////////////////// // publishToFile package related parameter @@ -734,6 +761,10 @@ public final class CMSConfig extends AbstractConfig { register(m_itemSearchFlatBrowsePanePageSize); register(m_attachPersonOrgaUnitsStep); + + register(m_enableXmlCache); + register(m_xmlCacheSize); + register(m_xmlCacheAge); loadInfo(); } @@ -1210,5 +1241,17 @@ public final class CMSConfig extends AbstractConfig { public Boolean getAttachPersonOrgaUnitsStep() { return (Boolean) get(m_attachPersonOrgaUnitsStep); } + + public Boolean getEnableXmlCache() { + return (Boolean) get(m_enableXmlCache); + } + + public Integer getXmlCacheSize() { + return (Integer) get(m_xmlCacheSize); + } + + public Integer getXmlCacheAge() { + return (Integer) get(m_xmlCacheAge); + } } diff --git a/ccm-cms/src/com/arsdigita/cms/CMSConfig_parameter.properties b/ccm-cms/src/com/arsdigita/cms/CMSConfig_parameter.properties index b238b869d..fe7188a19 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSConfig_parameter.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSConfig_parameter.properties @@ -318,4 +318,19 @@ com.arsdigita.cms.image_cache.max_age.format=[integer] com.arsdigita.cms.contenttypes.genericperson.attach_person_orgaunits_step.title = Attach PersonOrgaUnits step com.arsdigita.cms.contenttypes.genericperson.attach_person_orgaunits_step.purpose = Attaches an authoring step to GenericPerson which displays all GenericOrganizationalUnits to which the person is assigned to com.arsdigita.cms.contenttypes.genericperson.attach_person_orgaunits_step.example = true -com.arsdigita.cms.contenttypes.genericperson.attach_person_orgaunits_step.foramt = [boolean] \ No newline at end of file +com.arsdigita.cms.contenttypes.genericperson.attach_person_orgaunits_step.foramt = [boolean] + +com.arsdigita.cms.xml.cache.enable.title=Enable a XML cache for the SimpleXMLGenerator +com.arsdigita.cms.xml.cache.enable.purpose=Enable a XML cache for the SimpleXMLGenerator +com.arsdigita.cms.xml.cache.enable.example=true +com.arsdigita.cms.xml.cache.enable.format=[boolean] + +com.arsdigita.cms.xml.cache.size.title=Maximum number of items stored in the XML cache +com.arsdigita.cms.xml.cache.size.purpose=Maximum number of items stored in the XML cache +com.arsdigita.cms.xml.cache.size.example=2500 +com.arsdigita.cms.xml.cache.size.format=[integer] + +com.arsdigita.cms.xml.cache.age.title=Maximum age of an entry in the XML cache +com.arsdigita.cms.xml.cache.age.purpose=Maximum age of an entry in the XML cache +com.arsdigita.cms.xml.cache.age.example=60*60*24 +com.arsdigita.cms.xml.cache.age.format=[integer] \ No newline at end of file diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties deleted file mode 100755 index dc1c6c48e..000000000 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties +++ /dev/null @@ -1,1122 +0,0 @@ -# Package com.arsdigita.cms -# ========================= -cms.attributeset_is_already_locked=AttributeSet is already locked -cms.attributeset_is_locked=AttributeSet is locked -cms.cannot_create_xml_document=Cannot create XML document -cms.cant_promote_folders=Can't promote folders -cms.classnotfoundexception=ClassNotFoundException: -cms.illegalaccessexception=IllegalAccessException: -cms.image.erroneous_jpeg_marker_length=Erroneous JPEG marker length -cms.image.expected_soi_marker_first=Expected SOI marker first -cms.image.not_a_jpeg_file=Not a JPEG file -cms.instantiationexception=Instantiation Exception: -cms.nosuchmethodexception=No-Such-Method Exception: -cms.templates=Templates -cms.title=Title -no=No -yes=Yes -mime_type_jsp=JSP -mime_type_xsl=XSL - -cms.contentassets.ui.description=Description - -# Package com.arsdigita.cms.contenttypes -# ====================================== -cms.contenttypes.contact=Contact: -cms.contenttypes.contact_details=Contact Details: -cms.contenttypes.contact_information=Contact Information: -cms.contenttypes.contactinfo=ContactInfo: -cms.contenttypes.cost=Cost: -cms.contenttypes.coudlnt_retrieve_text=Coudln't retrieve text -cms.contenttypes.current_image=Current Image: -cms.contenttypes.department=Department: -cms.contenttypes.end_date=End Date: -cms.contenttypes.end_time=End Time: -cms.contenttypes.event_type_not_registered=Event type not registered - -#used in ccm-cms-types-job -cms.contenttypes.grade=Grade: -#used in ccm-cms-types-organization -cms.contenttypes.image=Image: -cms.contenttypes.installer.article_section=Article Section -cms.contenttypes.installer.article_section_for_a_multipart_article=Article section for a multi-part article -cms.contenttypes.job_description=Description: -cms.contenttypes.job_type_not_registered=Job type not registered -cms.contenttypes.lead=Description: -cms.contenttypes.legalnotice_type_not_registered=LegalNotice type not registered -cms.contenttypes.link=Link: -cms.contenttypes.link_to_map=Link to Map: -cms.contenttypes.location=Location: -cms.contenttypes.main_contributor=Main Contributor: -cms.contenttypes.minutes_type_not_registered=Minutes type not registered -cms.contenttypes.news_date=Date: -cms.contenttypes.newsitem_type_not_registered=NewsItem type not registered -cms.contenttypes.no_content_section=No content section -cms.contenttypes.no_section=No section -cms.contenttypes.opening_time=Opening Time: -cms.contenttypes.person_specification=Person Specification: -cms.contenttypes.pressrelease_type_not_registered=PressRelease type not registered -cms.contenttypes.ref_number=Ref. Number: -cms.contenttypes.salary=Salary: -cms.contenttypes.service_type_not_registered=Service type not registered -cms.contenttypes.services_provided=Services Provided: -cms.contenttypes.start_date=Start Date: -cms.contenttypes.start_time=Start Time: -cms.contenttypes.subjectitems=SubjectItems: -cms.contenttypes.summary=Description: -cms.contenttypes.title=Title: -cms.contenttypes.template.body_text.title=Body text -cms.contenttypes.template.body_text.description=Edit the body text -cms.contenttypes.shared.assign_categories.title=Assign Categories -cms.contenttypes.shared.assign_categories.description=Assign Categories -cms.contenttypes.shared.attach_files.title=Attach Files -cms.contenttypes.shared.attach_files.description=Attach Files -cms.contenttypes.shared.basic_properties.description=Edit Basic Properties -cms.contenttypes.shared.basic_properties.title=Basic Properties -cms.contenttypes.shared.body_text.title=Body Text -cms.contenttypes.shared.body_text.description=Edit the Body Text - - -# Package com.arsdigita.cms.contenttypes.ui -# ========================================= -cms.contenttypes.ui.action_item=Action Item: -cms.contenttypes.ui.address=Address: -cms.contenttypes.ui.agenda_date=Agenda Date: -cms.contenttypes.ui.agenda_date_and_time=Agenda Date and Time: -cms.contenttypes.ui.attendees=Attendees: -cms.contenttypes.ui.bodyoverview=Body/Overview: -cms.contenttypes.ui.closing_date=Closing Date: -cms.contenttypes.ui.contact_details=Contact Details: -cms.contenttypes.ui.contact_info=Contact Info: -cms.contenttypes.ui.contacts=Contacts: -cms.contenttypes.ui.content_group_current_items=Current Items: -cms.contenttypes.ui.content_group_name=Content Group Name: -cms.contenttypes.ui.content_group_new_item=Add new item: -cms.contenttypes.ui.cost=Cost: -cms.contenttypes.ui.creation_date=Creation Date: -cms.contenttypes.ui.date=Date: -cms.contenttypes.ui.department=Department: -cms.contenttypes.ui.description=Description: -cms.contenttypes.ui.description_missing=Please enter a description -cms.contenttypes.ui.description_of_minutes=Description of Minutes: -cms.contenttypes.ui.end_date=End Date: -cms.contenttypes.ui.end_time=End Time: -cms.contenttypes.ui.event_start_time=Event Start Time: -cms.contenttypes.ui.event_end_time=Event End Time: -cms.contenttypes.ui.government_uid=Government UID: -cms.contenttypes.ui.grade=Grade: -cms.contenttypes.ui.homepage=Homepage: -cms.contenttypes.ui.job_description=Job Description: -cms.contenttypes.ui.launch_date=Launch Date: -cms.contenttypes.ui.lead=Description: -cms.contenttypes.ui.lead_line=Description: -cms.contenttypes.ui.link_to_map=Link to Map: -cms.contenttypes.ui.location=Location: -cms.contenttypes.ui.main_contributor=Main Contributor: -cms.contenttypes.ui.name=Name: -cms.contenttypes.ui.opening_times=Opening Times: -cms.contenttypes.ui.person_specification=Person Specification: -cms.contenttypes.ui.ref_code=Ref. Code: -cms.contenttypes.ui.ref_number=Ref Number: -cms.contenttypes.ui.reference=Reference: -cms.contenttypes.ui.reference_code=Reference Code: -cms.contenttypes.ui.salary=Salary: -cms.contenttypes.ui.services_provided=Services Provided: -cms.contenttypes.ui.start_date=Start Date: -cms.contenttypes.ui.start_time=Start Time: -cms.contenttypes.ui.subject_items=Subject Items: -cms.contenttypes.ui.summary=Description: -cms.contenttypes.ui.there_are_no_events=There are no events -cms.contenttypes.ui.title=Title: -cms.contenttypes.ui.view_image=view image - - -# Package com.arsdigita.cms.dispatcher -# ===================================== -cms.dispatcher.cannot_find_domain_object=cannot find domain object -cms.dispatcher.could_not_find_imageasset=Could not find ImageAsset: -cms.dispatcher.failed_to_retrieve_imageasset=Failed to retrieve ImageAsset: -cms.dispatcher.no_permission_to_access_resource=no permission to access resource -cms.dispatcher.not_implemented=not implemented -cms.dispatcher.unknown_context=Unknown context: - - -# Package com.arsdigita.cms.formbuilder -# ===================================== -cms.formbuilder.cannot_create_acsobject=cannot create ACSObject -cms.formbuilder.cannot_instantiate_object=cannot instantiate object -cms.formbuilder.no_such_form=no such form -cms.formbuilder.roll_me_back=Revert changes -cms.formbuilder.css=Cascading Style Sheet (CSS) Class Attribute - - -# Package com.arsdigita.cms.installer -# ===================================== -cms.installer.approval=Approval -cms.installer.article=Article -cms.installer.authoring=Authoring -cms.installer.cannot_find_cms_package_type=cannot find CMS package type -cms.installer.cannot_find_content_type=cannot find content type -cms.installer.cannot_find_file=cannot find file -cms.installer.cannot_find_group_for_email=Cannot find group for email -cms.installer.cannot_read_line_of_data=Cannot read line of data -cms.installer.cannot_set_template_text=Cannot set template text -cms.installer.could_not_load_section=Could not load ContentSection named '{0}' -cms.installer.deploy=Deploy -cms.installer.failed_to_update_the_default_content_section=Failed to update the default content section. -cms.installer.formbuilder.form=Form -cms.installer.formbuilder.form_section=Form Section -cms.installer.production_workflow=Production Workflow -cms.installer.root_folder=Root Folder -cms.installer.root_site_node_missing=Root site node missing -cms.installer.simple_publication=Simple Publication -cms.installer.template=Template - - -# Package com.arsdigita.cms.lifecycle -# =================================== -cms.lifecycle.could_not_fetch_lifecycle=Could not fetch lifecycle: -cms.lifecycle.could_not_fetch_phase=Could not fetch phase: - -# Package com.arsdigita.cms.publishToFile -# ======================================= -cms.publishToFile.cannot_find_file=cannot find file -cms.publishToFile.cannot_find_item_class=cannot find item class -cms.publishToFile.cannot_find_server=cannot find server -cms.publishToFile.cannot_get_sequence_value=cannot get sequence value -cms.publishToFile.cannot_read_template_text=cannot read template text -cms.publishToFile.could_not_get_object_for_oid=Could not get object for oid -cms.publishToFile.error_executing=Error executing '{0}' : -cms.publishToFile.exit_value_was=Exit value was -cms.publishToFile.interrupted_when_doing=interrupted when doing '{0}' -cms.publishToFile.invalid_brokenlinkaction=Invalid BrokenLinkAction: -cms.publishToFile.invalid_reference_target_type=Invalid reference target type: -cms.publishToFile.malformed_url=Malformed URL: -cms.publishToFile.not_found_in_servers_list= not found in servers list -cms.publishToFile.publish_to_file_listener_could_not_be_created=Publish to file listener could not be created: -cms.publishToFile.publish_to_file_setlocalrequestpassword_could_not_be_created=Publish to file SetLocalRequestPassword could not be created: -cms.publishToFile.publishsource_sourcebase_must_end_in_=PublishSource sourceBase must end in '/' -cms.publishToFile.server=server -cms.publishToFile.unable_to_find_closing_for_tag=Unable to find closing '>' for tag. -cms.publishToFile.unable_to_get_contentitem=Unable to get contentItem: - -# cms.tasks.ui.anyone=Anyone -# cms.tasks.ui.assigned_to=Assigned To: -# cms.tasks.ui.assignment_info=Assignment Info -# cms.tasks.ui.content_center=Content Center -# cms.tasks.ui.create=Create -# cms.tasks.ui.description=Description -# cms.tasks.ui.disabled=Disabled -# cms.tasks.ui.due_on=Due On -# cms.tasks.ui.enabled=Enabled -# cms.tasks.ui.entered_by=Entered By: -# cms.tasks.ui.finished=Finished -# cms.tasks.ui.mark_task_as_finished=Mark task as finished -# cms.tasks.ui.me=Me -# cms.tasks.ui.no_assignees=No Assignees -# cms.tasks.ui.status=Status: -# cms.tasks.ui.task_type=Task Type -# cms.tasks.ui.title=Title -# cms.tasks.ui.workflow=Workflow - - - -# Package com.arsdigita.cms.ui -# ============================ -cms.ui.action=Action -cms.ui.actions=Actions -cms.ui.all_items=All Items -cms.ui.assigned_categories=Assigned Categories: -cms.ui.attention=Attention -cms.ui.Authoring=Authoring -cms.ui.available_categories=Available Categories: -cms.ui.browse=Browse -cms.ui.browse_items_by_category=Browse items by category -cms.ui.cancel=Cancel -cms.ui.cancel_hit=Cancel hit -cms.ui.cancelled=cancelled -cms.ui.cannot_assign_groups_to_owner=cannot assign groups to owner -cms.ui.categories=Categories -cms.ui.choose_target_folder=Choose target folder -cms.ui.content_center=Content center -cms.ui.content_item=Content item -cms.ui.content_section=Content section -cms.ui.content_section_configuration=

Content Section Configuration

-cms.ui.content_types=Content types -cms.ui.contents_of=Contents of -cms.ui.create=Create -cms.ui.cse=Soon Expired -cms.ui.default_locale=Default Locale: -cms.ui.delete=Delete -cms.ui.description=Description -cms.ui.edit=Edit -cms.ui.edit_folder=Rename the current folder -cms.ui.email=Email -cms.ui.enter_a_keyword=Enter a keyword: -cms.ui.enter_first_name_last_name_andor_email_address=Enter first name, last name, and/or email address: -cms.ui.enter_first_name_last_name_email_address_andor_group_name=Enter first name, last name, email address and/or Group Name: -cms.ui.failed_to_create_new_dp_item=Failed to create a new DP Item. -cms.ui.failed_to_fetch_content_section_for_item=Failed to fetch the content section for the item: -cms.ui.failed_to_fetch_content_type=Failed to fetch content type for -cms.ui.failed_to_find_java_class_for_authoring_component=Failed to find the Java class for this authoring step component: -cms.ui.failed_to_generate_new_id=Failed to generate a new sequence ID. -cms.ui.failed_to_instantiate_authoring_component=Failed to instantiate this authoring step component: -cms.ui.failed_to_retrieve=Failed to retrieve: -cms.ui.failed_to_validate_title_uniqueness=Failed to validate title uniqueness -cms.ui.file=File: -cms.ui.finish=Finish -cms.ui.folder_browser=Folder Browser -cms.ui.for=for -cms.ui.help=Help -cms.ui.History=History -cms.ui.history.history=History -cms.ui.history.no_history=No History -cms.ui.history.preview=Preview -cms.ui.history.rollback=Rollback -cms.ui.insufficient_privileges=Insufficient Privileges -cms.ui.invalid_item_id=Invalid item id:{0} -cms.ui.item=Content item -cms.ui.item_name_already_in_folder=That title is already in use by another item in this folder: -cms.ui.label=Label -cms.ui.label_prompt=Label: -cms.ui.language.field=Language: -cms.ui.language.header=Language -cms.ui.language_instance.change=Change the language -cms.ui.language_instance.new=New Language Instance -cms.ui.language_instances=Language Instances -cms.ui.lifecycles=Lifecycles -cms.ui.locales=Locales: -cms.ui.logout_failed=Logout failed -cms.ui.matches=Matches -cms.ui.max_launch=Maximum Launch Date -cms.ui.min_launch=Minimum Launch Date -cms.ui.my_workspace=My Portal -cms.ui.name=Name -cms.ui.name_prompt=Name: -cms.ui.need_category_map_privilege=Need categorize items privilege on that category -cms.ui.new_folder=Create new folder -cms.ui.new_item=New Item -cms.ui.no=No -cms.ui.no_content_section_for_page=No content section for page -cms.ui.no_items_matched_the_search=No items matched the search -cms.ui.none=None -cms.ui.parent=Parent -cms.ui.permissions=Permissions -cms.ui.preview=Preview -cms.ui.primary_instance=Primary Instance -cms.ui.Publishing=Publishing -cms.ui.remove=Remove -cms.ui.reports=Reports -cms.ui.restore_default_permissions=Restore Default Permissions -cms.ui.roles=Roles -cms.ui.save=Save -cms.ui.search=Search -cms.ui.search_prompt=Search to add new members -cms.ui.search_to_add_new_members=Search to Add New Members -cms.ui.search_errors.empty_terms=Please enter some search terms -cms.ui.search_errors.bad_terms=Your search terms contain illegal words or characters -cms.ui.search_no_results=Sorry. Your search returned 0 results. -cms.ui.select_one=--select one-- -cms.ui.sign_out=Sign out -cms.ui.submission_cancelled=Submission Cancelled -cms.ui.Summary=Summary -cms.ui.tasks_due_date=Due date -cms.ui.tasks_status_no_colon=Status -cms.ui.template=Template -cms.ui.Templates=Templates -cms.ui.the_model_is_empty=The model is empty -cms.ui.there_are_no_items=There are no items. -cms.ui.there_was_no_one_matching_the_search_criteria=There was no one matching the search criteria. -cms.ui.this_should_never_happen=This should never happen -cms.ui.types=Content types -cms.ui.unknown=unknown -cms.ui.upload_new_content=Upload new content -cms.ui.use_custom_permissions=Use Custom Permissions -cms.ui.user=User -cms.ui.user_admin=User administration -cms.ui.user_not_found=User not found -cms.ui.util.=  -# cms.ui.view_all_enabled_tasks=View all enabled tasks //currently not used// -# cms.ui.view_all_enabled_tasks=View all {0} enabled tasks //currently not used// -cms.ui.view_tasks_sorted_by_due_date=View tasks sorted by due date -cms.ui.viewers=Viewers -cms.ui.welcome=Welcome CMS USER -cms.ui.workflow=Workflow -cms.ui.workflows=Workflows -cms.ui.workflow_profile_exists_on_selected_folder=Workflow Profile exists on selected folder -cms.ui.yes=Yes -cms.ui.you_do_not_have_sufficient_privileges_to_access_this_page=You do not have sufficient privileges to access this page. - -cms.ui.item_search.page_title=Item Search -cms.ui.item_search.browse=Browse -cms.ui.item_search.search=Search - - -# Package com.arsdigita.cms.ui.authoring -# ====================================== -cms.ui.authoring.an_item_with_this_name_already_exists=An item with this name already exists -cms.ui.authoring.bad_getblob_datatype=Bad getBlob datatype -cms.ui.authoring.bad_getclob_datatype=Bad getClob datatype -cms.ui.authoring.body=Body: -cms.ui.authoring.caption=Caption: -cms.ui.authoring.content_type=Content Type: -cms.ui.authoring.couldnt_create_contentpage=Couldn't create ContentPage -cms.ui.authoring.edit_body_text=Edit Body Text: -cms.ui.authoring.edit_caption=Edit caption -cms.ui.authoring.file_action=File Action -cms.ui.authoring.file_upload.auto_detect=(Auto-detect) -cms.ui.authoring.file_upload.file_type=File Type: -cms.ui.authoring.image_action=Image Action -cms.ui.authoring.invalid_create_component=Creation component for parent content type is invalid. -cms.ui.authoring.missing_content_type=Missing content type -cms.ui.authoring.missing_item_id=Missing item id -cms.ui.authoring.name=Name: -cms.ui.authoring.name_url=Name (URL): -cms.ui.authoring.no_asset=No asset -cms.ui.authoring.no_content_types_were_found=No content types were found -cms.ui.authoring.no_current_wizard=No current wizard -cms.ui.authoring.none=none -cms.ui.authoring.not_implemented=Not Implemented -cms.ui.authoring.page_launch_date=Launch Date: -cms.ui.authoring.page_title=Page Title: -cms.ui.authoring.remove_image=Remove image -cms.ui.authoring.select_an_existing_image=Select an existing image -cms.ui.authoring.sql_error_in_getting_byte_content=SQL Error in getting byte content! -cms.ui.authoring.sqle=SQLE -cms.ui.authoring.steps=Authoring steps -cms.ui.authoring.submission_cancelled=Submission Cancelled -cms.ui.authoring.text_type=Text Type: -cms.ui.authoring.this_article_does_not_have_an_image=This article does not have an image. -cms.ui.authoring.title=Title: -cms.ui.authoring.unable_to_load_file=Unable to load file: -cms.ui.authoring.upload_a_new_image=Upload a new image -cms.ui.authoring.upload_image=Upload Image: -cms.ui.authoring.upload_image=Upload Image: -cms.ui.authoring.workflow=Select a Workflow - - -# Package com.arsdigita.cms.ui.authoringkit -# ========================================= -cms.ui.authoringkit.authoring_kit_for=Authoring Kit for -cms.ui.authoringkit.authoring_kit_has_more_than_one_step=This authoring kit has more than one step: -cms.ui.authoringkit.authoring_kit_has_no_steps=This authoring kit has no steps: -cms.ui.authoringkit.component=Component: -cms.ui.authoringkit.content_type_id=Content Type ID# -cms.ui.authoringkit.create_component=Create Component: -cms.ui.authoringkit.createcomponent=CreateComponent: -cms.ui.authoringkit.current_row_does_not_exists=Current row does not exists -cms.ui.authoringkit.description=Description: -cms.ui.authoringkit.description_bundle=Description Bundle -cms.ui.authoringkit.description_key=Description Key -cms.ui.authoringkit.do_you_really_want_to_delete_this_authoring_step=Do you really want to delete this authoring step? -cms.ui.authoringkit.label=Label: -cms.ui.authoringkit.label_bundle=Label Bundle -cms.ui.authoringkit.label_key=Label Key -cms.ui.authoringkit.ordering=Ordering: -cms.ui.authoringkit.submission_cancelled=Submission Cancelled - - -# Package com.arsdigita.cms.ui.category -# ===================================== -cms.ui.category.add=Add category -cms.ui.category.add_index_item=Set index item -cms.ui.category.add_use_context=Add Use Context -cms.ui.category.assigned_purposes=Assigned Purposes: -cms.ui.category.available_purposes=Available Purposes: -cms.ui.category.back= (back)  -cms.ui.category.batch_categorized_objects=Batch Order Items in This Category -cms.ui.category.batch_order_objects_order=Priority -cms.ui.category.batch_order_objects_title=Title -cms.ui.category.categorized_objects=Order Live Objects in This Category -cms.ui.category.category_current=Current category -cms.ui.category.change_index_item=Change index item -cms.ui.category.content_item=Content Item -cms.ui.category.delete=Delete category -cms.ui.category.delete_prompt=Are you sure you want to delete this category? -cms.ui.category.descriptionn=Description:\n -cms.ui.category.details=Category details -cms.ui.category.edit=Edit category -cms.ui.category.edit_index_item=Edit index item -cms.ui.category.edit_a_category=Edit a Category -cms.ui.category.edit_purposes=Edit purposes -cms.ui.category.index_item.select=Select an index item for this category -cms.ui.category.index_item=Index item -cms.ui.category.intro=Select a category -cms.ui.category.is_abstract=Is abstract? -cms.ui.category.is_enabled=Is enabled? -cms.ui.category.is_not_abstract=Can you place objects in this category? -cms.ui.category.item.none=There are no items in this category -cms.ui.category.item=Categorized item -cms.ui.category.labeln=Label:\n -cms.ui.category.linked=Linked categories -cms.ui.category.linked_add=Add or remove linked categories -cms.ui.category.linked_none=This category has no linked categories -cms.ui.category.localizations=Category Localizations -cms.ui.category.localization_action=Action -cms.ui.category.localization_add=Add localization -cms.ui.category.localization_confirm_delete=Delete this localization? -cms.ui.category.localization_description=Description -cms.ui.category.localization_edit=Edit -cms.ui.category.localization_error_locale=Please select a locale -cms.ui.category.localization_locale=Language -cms.ui.category.localization_name=Name -cms.ui.category.localization_none=This category has no localizations -cms.ui.category.localization_url=URL -cms.ui.category.name_not_unique=There is already a category with this name -cms.ui.category.no_categorized_objects=There are no categorized objects -cms.ui.category.no_category_purposes=No Category Purposes -cms.ui.category.no_linked_categories=No linked categories -cms.ui.category.no_subcategories=No subcategories -cms.ui.category.purpose_add=Add or remove category purposes -cms.ui.category.purpose_assigned=Assigned purposes -cms.ui.category.purpose_available=Available purposes -cms.ui.category.purpose_none=This category has no assigned purposes -cms.ui.category.purposes=Category purposes -cms.ui.category.return=Return -cms.ui.category.select_index_item=Select index item for category -cms.ui.category.subcategories=Subcategories -cms.ui.category.subcategory.none=This category has no subcategories -cms.ui.category.templates=Category templates -cms.ui.category.templates.assigned=Assigned templates -cms.ui.category.there_are_no_items_in_this_category=There are no items in this category -cms.ui.category.url=URL -cms.ui.category.use_context=Use Context -cms.ui.category.use_contexts=Use Contexts -cms.ui.category.use_context_must_be_unique=Use context must be unique within a Content Section. -cms.ui.category.view_index_item=View index item - - -# Package com.arsdigita.cms.ui.cse -# ================================ -cms.ui.cse.authorName=Author -cms.ui.cse.itemName=Name -cms.ui.cse.view=View -cms.ui.cse.viewLink=view -cms.ui.cse.edit=Edit -cms.ui.cse.editLink=edit -cms.ui.cse.endDateTime=Live Until - - -# Package com.arsdigita.cms.ui.folder -# =================================== -cms.ui.folder.cancelled=cancelled -cms.ui.folder.cannot_find_a_root_folder=Cannot find a root folder. -cms.ui.folder.na=N/A -cms.ui.folder.no_source_items_specified=No source items specified. -cms.ui.folder.parent=Parent Folder -cms.ui.folder.rename=Rename folder - - -# Package com.arsdigita.cms.ui.formbuilder -# ======================================== -cms.ui.formbuilder.description=Description: -cms.ui.formbuilder.name=Name: -cms.ui.formbuilder.oh_no_you_dont=Oh no you don't -cms.ui.formbuilder.title=Title: - - -# Package com.arsdigita.cms.ui.item -# ================================= -cms.ui.item.access_denied=Access denied. -cms.ui.item.apply_a_lifecycle=Apply a Lifecycle -cms.ui.item.authoring=Authoring -cms.ui.item.categories.assigned=Assigned categories -cms.ui.item.categories.available=Available categories -cms.ui.item.current_row_does_not_exist=Current row does not exist -cms.ui.item.days=days -cms.ui.item.edit_lifecycle=Edit Lifecycle -cms.ui.item.end_date=End date:   -cms.ui.item.end_time=End time:   -cms.ui.item.end_time_incomplete=End time incomplete -cms.ui.item.history=History -cms.ui.item.hours=hours -cms.ui.item.invalid_end_date_please_try_again=Invalid end date, please try again -cms.ui.item.invalid_start_date_please_try_again=Invalid start date, please try again -cms.ui.item.language.add=Add language -cms.ui.item.language.change=Change language -cms.ui.item.languages=Languages - -cms.ui.item.lifecycle.apply=Select a lifecycle to apply -cms.ui.item.lifecycle.end_date=End date -cms.ui.item.lifecycle.end_time=End time -cms.ui.item.lifecycle.end_date_before_start_date=The end date must not be before the start date -cms.ui.item.lifecycle.intro=This item is not currently published -cms.ui.item.lifecycle.publish=Publish content item -cms.ui.item.lifecycle.republish=Republish content item -cms.ui.item.lifecycle.republish_and_reset=Republish and Restart Lifecycle -cms.ui.item.lifecycle.start_date=Start date -cms.ui.item.lifecycle.start_time=Start time -cms.ui.item.lifecycle.start_date_in_past=The start date must not be in the past -cms.ui.item.lifecycle.unpublish=Unpublish content item -cms.ui.item.lifecycle=Lifecycle -cms.ui.item.lifecycles=Publishing - -cms.ui.item.notification_period=Notify in advance: -cms.ui.item.notification_period_before_start=The period for advance notification must not be longer than the publishing period. -cms.ui.item.preview=Preview -cms.ui.item.reapply_a_lifecycle=Re-apply a Lifecycle -cms.ui.item.revision.added=Added To -cms.ui.item.revision.current=Current revision -cms.ui.item.revision.difference_show=Show difference -cms.ui.item.revision.first=Initial revision -cms.ui.item.revision.from=From -cms.ui.item.revision.from_is_null=The 'from' revision is required -cms.ui.item.revision.none=This item has no revisions -cms.ui.item.revision.nothing=nothing -cms.ui.item.revision.operation.change=Change -cms.ui.item.revision.operation.new_value=New value -cms.ui.item.revision.operation.none=There are no operations -cms.ui.item.revision.operation.object=Object -cms.ui.item.revision.operation.old_value=Old value -cms.ui.item.revision.operation.property=Property -cms.ui.item.revision.operation.value=Value -cms.ui.item.revision.operation=Operation -cms.ui.item.revision.operations=Operations -cms.ui.item.revision.removed=Removed From -cms.ui.item.revision.return=Return to revisions -cms.ui.item.revision.rollback=Rollback -cms.ui.item.revision.rolled_back=Rolled back -cms.ui.item.revision.to=To -cms.ui.item.revision.to_is_null=The 'to' revision is required -cms.ui.item.revision.view=View -cms.ui.item.revision=Revision -cms.ui.item.revisions=Revisions -cms.ui.item.start_date=Start date:   -cms.ui.item.start_time=Start time:   -cms.ui.item.start_time_incomplete=Start time incomplete -cms.ui.item.submission_cancelled=Submission Cancelled -cms.ui.item.summary=Summary -cms.ui.item.templates=Templates -cms.ui.item.the_current_row_does_not_exists=The current row does not exists -cms.ui.item.workflow=Workflow -cms.ui.item.workflow.start=Start workflow -cms.ui.item.workflow.stop=Stop workflow - - -# Package com.arsdigita.cms.ui.lifecycle -# ====================================== -cms.ui.lifecycle.add=Create new lifecycle -cms.ui.lifecycle.add_a_phase=Add a Phase -cms.ui.lifecycle.create_a_lifecycle=Create a Lifecycle -cms.ui.lifecycle.days=Days -cms.ui.lifecycle.delete_prompt=Are you sure you want to delete this lifecycle? -cms.ui.lifecycle.delete=Delete lifecycle -cms.ui.lifecycle.description=Description -cms.ui.lifecycle.details=Lifecycle details -cms.ui.lifecycle.duration=Duration -cms.ui.lifecycle.edit=Edit lifecycle -cms.ui.lifecycle.forever=Forever -cms.ui.lifecycle.hours=Hours -cms.ui.lifecycle.intro=Select an existing lifecycle or create a new one -cms.ui.lifecycle.label=Label: -cms.ui.lifecycle.lifecycle_information=Lifecycle Information -cms.ui.lifecycle.lifecycles=Lifecycles -cms.ui.lifecycle.mins=Mins -cms.ui.lifecycle.name=Name -cms.ui.lifecycle.name_not_unique=There is already a lifecycle with this name -cms.ui.lifecycle.no_lifecycles_defined_for_this_section=No lifecycles defined for this section. -cms.ui.lifecycle.no_phases=This lifecycle has no phases -cms.ui.lifecycle.phase_add=Add phase -cms.ui.lifecycle.phase_days=Days -cms.ui.lifecycle.phase_delay=Delay -cms.ui.lifecycle.phase_delete=Delete phase -cms.ui.lifecycle.phase_description=Description -cms.ui.lifecycle.phase_duration=Duration -cms.ui.lifecycle.phase_duration_negative=The duration must be greater than zero -cms.ui.lifecycle.phase_edit=Edit phase -cms.ui.lifecycle.phase_hours=Hours -cms.ui.lifecycle.phase_mins=Mins -cms.ui.lifecycle.phase_name=Name -cms.ui.lifecycle.phase_name_not_unique=There is already a phase with this name -cms.ui.lifecycle.phase_none=This lifecycle has no phases -cms.ui.lifecycle.phase_start_delay=Start delay -cms.ui.lifecycle.phases=Phases -cms.ui.lifecycle.start_delay=Start Delay: - - -# Package com.arsdigita.cms.ui.permissions -# ======================================== -cms.ui.permissions.add_administrator=Add administrator -cms.ui.permissions.cannot_add_user=cannot add user -cms.ui.permissions.cannot_retrieve_party=Cannot retrieve party -cms.ui.permissions.column_index=Column index -cms.ui.permissions.could_not_find_this_object=Could not find this Object -cms.ui.permissions.current_object_is_null=current Object is null! -cms.ui.permissions.no_users_were_selected=No users were selected. -cms.ui.permissions.not_an_object_adminstrator=not an object adminstrator -cms.ui.permissions.out_of_bounds= out of bounds -cms.ui.permissions.remove=remove -cms.ui.permissions.return_to_object_info=Return to object info -cms.ui.permissions.these_are_the_current_permissions_for_this_folder=These are the current permissions for this folder. -cms.ui.permissions.these_are_the_custom_permissions_that_have_been_granted_on_this_object=These are the custom permissions that have been granted on this object. - - -# Package com.arsdigita.cms.ui.portlet -# ==================================== -cms.ui.portlet.tasks.no_assigned_tasks=You currently have no assigned tasks. -cms.ui.portlet.tasks.no_user_logged_in=There is no user logged in, so there are no tasks to display. - - -# Package com.arsdigita.cms.ui.reports -# ==================================== -cms.ui.reports.header=Reports -cms.ui.reports.intro=Please select a report. -# Columns for ContentSectionSummary report -cms.ui.reports.css.emptyResult=No matching content items found. -cms.ui.reports.css.reportName=Content Section Summary -cms.ui.reports.css.contentSection=Content Section -cms.ui.reports.css.folder=Folder -cms.ui.reports.css.subfolderCount=Subfolders -cms.ui.reports.css.contentType=Content Type -cms.ui.reports.css.draft=Draft -cms.ui.reports.css.live=Live - -# Package com.arsdigita.cms.ui.role -# ================================= -cms.ui.role.add=Add role -cms.ui.role.admin.add=Add administrator -cms.ui.role.admin.email=Email -cms.ui.role.admin.name=Name -cms.ui.role.admin.none=This role has no administrators -cms.ui.role.admin.remove=Remove administrator -cms.ui.role.admins=Administrators -cms.ui.role.delete=Delete role -cms.ui.role.delete_prompt=Are you sure want to delete this role? -cms.ui.role.description=Description -cms.ui.role.details=Role details -cms.ui.role.edit=Edit role -cms.ui.role.intro=Select a staff or viewer role or create a new role -cms.ui.role.member.add=Add member -cms.ui.role.member.email=Email -cms.ui.role.member.name=Name -cms.ui.role.member.none=This role has no members -cms.ui.role.member.remove=Remove member -cms.ui.role.members=Members -cms.ui.role.name_not_unique=A role with this name already exists -cms.ui.role.no_party_selected=No user or group was selected -cms.ui.role.privilege.none=This role has no privileges -cms.ui.role.privileges=Privileges -cms.ui.role.staff.add=Add a staff role -cms.ui.role.staff=Staff roles -cms.ui.role.viewer.add=Add a viewer role -cms.ui.role.viewers=Viewer roles - -# Package com.arsdigita.cms.ui.staff -# ================================== -cms.ui.staff.add_member=Add member -cms.ui.staff.add_role=Create new role -cms.ui.staff.create_a_role=Create a role -cms.ui.staff.delete_confirmation_prompt=Are you sure you want to delete this role? -cms.ui.staff.description=Description -cms.ui.staff.edit_a_role=Edit a Role -cms.ui.staff.edit_role=Edit role -cms.ui.staff.label=Label -cms.ui.staff.no_roles_defined=No roles are defined for this section -cms.ui.staff.privileges=Privileges -cms.ui.staff.remove=Remove -cms.ui.staff.role_description=Description -cms.ui.staff.role_details=Role details -cms.ui.staff.role_intro=Select an existing role or create a new one -cms.ui.staff.role_members=Role members -cms.ui.staff.role_name=Name -cms.ui.staff.roles=Roles -cms.ui.staff.there_are_no_administrators_for_this_role=There are no administrators for this role - - -# Package com.arsdigita.cms.ui.templates -# ====================================== -cms.ui.templates.assign_a_template_to=Assign a template to -cms.ui.templates.assign_template=Assign Template -cms.ui.templates.assign_this_template=Assign this template -cms.ui.templates.assigned_templates=Assigned templates -cms.ui.templates.default=Default -cms.ui.templates.dummy=dummy -cms.ui.templates.label=Label: -cms.ui.templates.name=Name: -cms.ui.templates.no_templates=No Templates -cms.ui.templates.not_implemented=Not Implemented -cms.ui.templates.preview=Preview -cms.ui.templates.remove=Remove -cms.ui.templates.set_as_default=Set as Default -cms.ui.templates.use_context=Use Context: - - -# Package com.arsdigita.cms.ui.type -# ================================= -cms.ui.type.add=Add content type -cms.ui.type.authoringkit=Authoring kit details -cms.ui.type.select=Select Content Type -cms.ui.type.define=Define a New Content Type -cms.ui.type.select.none=There are no available types to select -cms.ui.type.association_content_type=Association content type -cms.ui.type.available_types=Available content types -cms.ui.type.class_name=Java class name -cms.ui.type.data_entry_method=Data entry method -cms.ui.type.default_date=Default date -cms.ui.type.delete=Delete type -cms.ui.type.delete_prompt=Are you sure you want to delete this content type? -cms.ui.type.details=Content type details -cms.ui.type.edit=Edit content type -cms.ui.type.element.delete=Delete element -cms.ui.type.element.type=Element type -cms.ui.type.element.value_required=Value required? -cms.ui.type.elements=Elements -cms.ui.type.from=From -cms.ui.type.intro=Select a content type or create a new one -cms.ui.type.invalid=Invalid content type -cms.ui.type.label=Label -cms.ui.type.lifecycle.none=This content type has no default lifecycle -cms.ui.type.lifecycle=Default lifecycle -cms.ui.type.maximum_length=Maximum length -cms.ui.type.name_has_whitespace=The name must not contain any whitespace characters -cms.ui.type.name_not_alphanumeric=The name may have only letters and numbers, no punctutation -cms.ui.type.name_not_unique=This content type already has an element with this name -cms.ui.type.duplicate_type=There is already a type named "{0}" -cms.ui.type.object_type=Object type -cms.ui.type.parent.none=This content type has no parent -cms.ui.type.parent=Parent content type -cms.ui.type.template.add=Add template -cms.ui.type.templates=Templates -cms.ui.type.title=Title -cms.ui.type.to=To -cms.ui.type.workflow.none=This content type has no default workflow -cms.ui.type.workflow=Default workflow -cms.ui.type.year_is_negative=The year cannot be negative -cms.ui.type.year_range=Year range -cms.ui.type.year_range_not_balanced=One of the years in the range is missing -cms.ui.type.year_range_too_great=The range specified is too great -cms.ui.type.year_range_wrong_order=The years in the range are out of order -cms.ui.type.year_too_anachronistic=The range dates appear abnormal - - -# Package com.arsdigita.cms.ui.worfklow -# ===================================== -cms.ui.worfklow.task_roles=Assigned roles -cms.ui.workflow.add=Add workflow -cms.ui.workflow.add_a_new_task_to=Add a new Task to -cms.ui.workflow.add_task=Add Task -cms.ui.workflow.assign_roles_for=Assign Roles for -cms.ui.workflow.cancel_hit=Cancel hit -cms.ui.workflow.comment=Comment -cms.ui.workflow.current_state=Current state -cms.ui.workflow.delete=Delete workflow -cms.ui.workflow.delete_prompt=Are you sure you want to delete this workflow? -cms.ui.workflow.delete_user=delete user -cms.ui.workflow.delete_workflow=Delete workflow -cms.ui.workflow.description=Description -cms.ui.workflow.details=Workflow details -cms.ui.workflow.edit=Edit workflow -cms.ui.workflow.edit_task_in=Edit Task in -cms.ui.workflow.insufficient_privileges=You have insufficient privileges -cms.ui.workflow.intro=Select a workflow or add a new one -cms.ui.workflow.lock_tasks=Lock my tasks for this content item -cms.ui.workflow.no_users_were_selected=No users were selected. -cms.ui.workflow.num_tasks=Number of tasks -cms.ui.workflow.restart_stopped_workflow=Restart stopped workflow -cms.ui.workflow.stop_workflow=Stop workflow -cms.ui.workflow.task.add=Add task -cms.ui.workflow.task.approve=Approve -cms.ui.workflow.task.approve_prompt=Approve this work? -cms.ui.workflow.task.assigned.lock_all=Lock all my tasks for this item -cms.ui.workflow.task.assigned.none=You have no assigned tasks -cms.ui.workflow.task.assigned.unlock_all=Unlock all my tasks for this item -cms.ui.workflow.task.assigned=Your assigned tasks -cms.ui.workflow.task.comment.add=Add comment -cms.ui.workflow.task.delete=Delete task -cms.ui.workflow.task.delete_prompt=Are you sure you want to delete this task? -cms.ui.workflow.task.dependencies=Dependencies -cms.ui.workflow.task.details=Task details -cms.ui.workflow.task.edit=Edit task -cms.ui.workflow.task.finish=Finish task -cms.ui.workflow.task.lock=Lock task -cms.ui.workflow.task.locked=Locked? -cms.ui.workflow.task.none=This workflow has no tasks -cms.ui.workflow.task.reject=Reject -cms.ui.workflow.task.return=Return to workflow -cms.ui.workflow.task.role.add=Add role -cms.ui.workflow.task.role.delete=Delete role -cms.ui.workflow.task.role.none=This task has no roles -cms.ui.workflow.task.roles=Task roles -cms.ui.workflow.task.state=Task state -cms.ui.workflow.task.takeover=Take over -cms.ui.workflow.task.type=Task type -cms.ui.workflow.task.unlock=Unlock task -cms.ui.workflow.task.user.add=Assign user -cms.ui.workflow.task.user.delete=Unassign user -cms.ui.workflow.task.user.none=This task has no assigned users -cms.ui.workflow.task.users=Assigned users -cms.ui.workflow.tasks=Tasks -cms.ui.workflow.task.view_locked=View your locked tasks -cms.ui.workflow.task.view_unlocked=View unlocked tasks -cms.ui.workflow.task.view_all=View all tasks -cms.ui.workflow.task.item_title=Item Title -cms.ui.workflow.task.locking_user=Locking User -cms.ui.workflow.unlock_tasks=Unlock my tasks for this content item -cms.ui.workflow.your_tasks=Your assigned tasks - - -# Email messages -# ============== -# For all subject and body email text below, the substitutions are as follows: -# {0}: Item title (display name) -# {1}: a numeric value identifying the type of Task that was completed: 1 for authoring, 2 for approval, 3 for publishing -# {2}: The finish-URL for the task (if the operation is "enable"), or the URL of the authoring page for the item -# {3}: The siteName -# {4}: The system administrator email -# {5}: The date of the event -# {6}: The text of the last comment added to the Task -# {7}: The name of the person who added the last comment -# {8}: The start date of the Task - -cms.ui.workflow.email.subject.enable="{0}" is {1,choice,1#ready for authoring|2#waiting for approval|3#waiting for deployment} -cms.ui.workflow.email.body.enable=\ -"{0}" is {1,choice,1#ready for authoring|2#waiting for approval|3#waiting for deployment} on {3}. \n\ -You can complete this task by opening this link in your web browser:\n\ -\n\ -{2}\n\ -\n\ -If you have any questions, please contact the system adminstrator at {4}.\n\ -Thank you for using {3}.\n - -cms.ui.workflow.email.subject.finish={1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" has been completed -cms.ui.workflow.email.body.finish=\ -{1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" was completed on {5,date,long} at {5,time,short}.\n\ -You can view the item opening this link in your web browser:\n\ -\n\ -{2}\n\ -\n\ -If you have any questions, please contact the system adminstrator at {4}.\n\ -Thank you for using {3}.\n - -cms.ui.workflow.email.subject.rollback={1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" has been rolled back -cms.ui.workflow.email.body.rollback=\ -{1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" was rolled back on {5,date,long} at {5,time,short}.\n\ -The last comment on this workflow, by {7}, was:\n\ -\n\ -{6}\n\ -\n\ -You can view the item and perform any necessary actions by opening this link \n\ -in your web browser:\n\ -\n\ -{2}\n\ -\n\ -If you have any questions, please contact the system adminstrator at {4}.\n\ -Thank you for using {3}.\n - -cms.ui.workflow.email.subject.disable={1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" has been disabled -cms.ui.workflow.email.body.disable=\ -{1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" was denied on {5,date,long} at {5,time,short}.\n\ -The last comment on this workflow, by {7}, was:\n\ -\n\ -{6}\n\ -\n\ -You can view the item and perform any necessary actions by opening this link \n\ -in your web browser:\n\ -\n\ -{2}\n\ -\n\ -If you have any questions, please contact the system adminstrator at {4}.\n\ -Thank you for using {3}.\n - -# Subject and body for the Unfinished Task emails -# =============================================== -cms.ui.workflow.email.subject.unfinished={1,choice,1#Authoring|2#Approval|3#Deployment} of "{0}" is unfinished -cms.ui.workflow.email.body.unfinished=\ -"{0}" is {1,choice,1#ready for authoring|2#waiting for approval|3#waiting for deployment} on {3}. \n\ -This task has been waiting for action since {8,date,long} at {8,time,short}.\n\ -Please complete this task as soon as possible.\n\ -You can complete this task by opening this link in your web browser:\n\ -\n\ -{2}\n\ -\n\ -If you have any questions, please contact the system adminstrator at {4}.\n\ -Thank you for using {3}.\n - - -# Subject and body for the Content check emails -# =============================================== -cms.ui.content_check_alert.subject=Content Check Alert -cms.ui.content_check_alert.body=Dear Author\n\nYou are listed as the Content Owner for the following {0} web page(s). Please check if they need amending or updating in any way:\n\n{1}\nIf you have any amendments or questions please email the appropriate web editor:\n\nsally.editor@aplaws.org (Council & Democracy, Environment, Education)\njohn.editor@aplaws.org (Community & Living, Business, Social Care)\nfrank.editor@aplaws.org (Council & Democracy, Environment, Education)\n\nYou can contact webmanager@aplaws.org with any questions about this email\n - -cms.contenttypes.ui.address.email.desc=eMail -cms.contenttypes.ui.address.uri=URL -cms.contenttypes.ui.address.uri.desc=URL -cms.tasks.ui.anyone=Anyone -cms.tasks.ui.assigned_to=Assigned to -cms.tasks.ui.assignment_info=Assignment info -cms.tasks.ui.content_center=Content Center -cms.tasks.ui.create=Create -cms.tasks.ui.description=Description -cms.tasks.ui.disabled=Disabled -cms.tasks.ui.due_date=Due date -cms.tasks.ui.due_on=Due on -cms.tasks.ui.enabled=Enabled -cms.tasks.ui.entered_by=Entered by: -cms.tasks.ui.finished=Finished -cms.tasks.ui.mark_task_as_finished=Mark task as finished -cms.tasks.ui.me=Me -cms.tasks.ui.no_assigned_tasks=No assigned tasks yet. -cms.tasks.ui.no_assignees=No Assignees -cms.tasks.ui.no_user_logged_in=No user logged in, no task to show. -cms.tasks.ui.status=Status: -cms.tasks.ui.status_no_colon=Status -cms.tasks.ui.task_type=Task type -cms.tasks.ui.title=Title -cms.tasks.ui.workflow=Arbeitsablauf -cms.ui.authoring_kit_has_more_than_one_step=This authoring kit has more than one step: -cms.ui.authoring_kit_has_no_steps=This authoring kit has no steps: -cms.ui.category._back= (back)  -cms.ui.category.add_a_subcategory=Add a subcategory -cms.ui.category.category.current=Current category -cms.ui.category.category_information=Category information -cms.ui.category.category_purposes=Category purpose -cms.ui.category.current_category=Current category -cms.ui.category.delete_category=Delete category -cms.ui.category.edit_links=Edit links -cms.ui.category.extreme_actions=Extreme action -cms.ui.category.linked.add=Add or remove linked categories -cms.ui.category.linked.none=This category has no linked categories -cms.ui.category.linked_categories=Linked categories -cms.ui.category.localization.action=Action -cms.ui.category.localization.add=Add language version -cms.ui.category.localization.confirm_delete=Really delete this language version? -cms.ui.category.localization.description=Description -cms.ui.category.localization.error_locale=Please choose a language -cms.ui.category.localization.locale=Language -cms.ui.category.localization.name=Name -cms.ui.category.localization.none=This category has no language versions -cms.ui.category.localization.url=URL -cms.ui.category.purpose.add=Add or remove category purposes -cms.ui.category.purpose.assigned=Assigned purposes -cms.ui.category.purpose.available=Available purposes -cms.ui.category.purpose.none=This category has no assigned purposes -cms.ui.category.restore_default_permissions=Restore default permissions -cms.ui.category.return_to_category_info=Return to category info -cms.ui.contents_for=Contents for -cms.ui.item.republish=Republish -cms.ui.item.revision.difference.show=Show difference -cms.ui.item.unpublish=Unpublish -cms.ui.Lifecycle=Lifecycle -cms.ui.lifecycle.add_phase=Add phase -cms.ui.lifecycle.phase.add=Add a phase -cms.ui.lifecycle.phase.days=Days -cms.ui.lifecycle.phase.delay=Delay -cms.ui.lifecycle.phase.delete=Delete -cms.ui.lifecycle.phase.duration=Duration -cms.ui.lifecycle.phase.duration_negative=The duration must be greater than 0 -cms.ui.lifecycle.phase.edit=Edit -cms.ui.lifecycle.phase.hours=Hours -cms.ui.lifecycle.phase.mins=Minutes -cms.ui.lifecycle.phase.name_not_unique=There is already a phase with this name -cms.ui.lifecycle.phase.none=No phases -cms.ui.lifecycle.phase.start_delay=Start delay -cms.ui.lifecycle_date_error_msg=Start date must be before the end date. -cms.ui.staff.add_administrator=Add administrator -cms.ui.staff.back=Back -cms.ui.staff.cancel_hit=Cancel hit -cms.ui.staff.cannot_add_user=Cannot add user -cms.ui.staff.cannot_retrieve_party=Cannot retrieve party -cms.ui.staff.column_index=Index -cms.ui.staff.current_party_is_not_a_user=Current party is not a user -cms.ui.staff.delete_role=Delete role -cms.ui.staff.invalid_role=Invalid role -cms.ui.staff.no_roles_defined_for_this_section=No roles defined for this section. -cms.ui.staff.no_users_were_selected=No users were selected -cms.ui.staff.no_usersgroups_were_selected=No usersgroups were selected -cms.ui.staff.not_a_role_adminstrator=Not a role administrator -cms.ui.staff.not_an_administrator_for_roles=Not a role administrator -cms.ui.staff.not_an_administrator_for_this_role=Not an administrator for this role. -cms.ui.staff.out_of_bounds=Out of bounds -cms.ui.staff.return_to_role_info=Back to role information -cms.ui.staff.there_are_no_roles_to_display=There are no roles to display -cms.ui.type.access_denied=Access denied -cms.ui.type.add_a_template=Add a template -cms.ui.type.available_content_types=Available content types -cms.ui.type.content_type_already_exists_for_this_content_section_please_choose_a_different_name=Key already exists -cms.ui.type.current_row_does_not_exist=Current row does not exist -cms.ui.type.default_lifecycle=Default lifecycle -cms.ui.type.default_workflow=Default workflow -cms.ui.type.define_a_new_content_type=Define a new Contenttype -cms.ui.type.description=Description -cms.ui.type.element_type=Type -cms.ui.type.if_yes_please_choose_a_default_date=Choose default date -cms.ui.type.invalid_content_type=Invalid content type -cms.ui.type.is_a_value_required=Is a value required -cms.ui.type.maximum_value=Maximum value -cms.ui.type.minimum_number_of_values_bigger_than_maximum_number_of_values=Minimum number of values bigger than maximum number of values -cms.ui.type.minimum_value=Minimum value -cms.ui.type.minimummaximum_number_of_values_cannot_be_negative=Minimum maximum number of values canno _be negative -cms.ui.type.name=Name -cms.ui.type.not_implemented=Not implemented -cms.ui.type.number_of_decimal_places=Number of decimal places -cms.ui.type.parent_content_type=Parent content type -cms.ui.view_all_enabled_tasks=Show all {0} enabled tasks -cms.ui.type.remove=Remove -cms.ui.type.the_range_is_too_wide_to_be_displayed=Range to wide to display -cms.ui.workflow.workflow_information=Workflow information -cms.ui.type.please_select_a_content_type_to_view_its_details=Pleas select a contenttype to view details -cms.ui.workflow.your_active_tasks=Your active tasks -cms.ui.workflow.depends_on=Depends on -cms.ui.type.submission_cancelled=Cancelled -cms.ui.workflow.name=Name -cms.ui.workflow.task=Task -cms.ui.workflow.you_are_assigned_to_this_item=Assigned to you -cms.ui.workflow.roles=Roles -cms.ui.workflow.approve_this_content=Approve -cms.ui.unknownRole=Unknown role -cms.ui.unknownStatus=Unknown status -cms.contenttypes.ui.genericorgaunit.persons.status=Status -cms.ui.edit_assoc=Edit association -cms.ui.type.permissions=Permissions (Create new items of this type) -cms.ui.type.permissions.role=Role -cms.ui.type.permissions_can_use=Use this type -cms.ui.type.permission.action=Action -cms.ui.type.permissions.can_use.yes=Yes -cms.ui.type.permissions.actions.restrict_to_this_role=Restrict to this role -cms.ui.type.permissions.can_use.grant=Grant permissions to this role -cms.ui.type.permissions.actions.revoke=Revoke permission -cms.ui.type.permissions.can_use.no=No -cms.contenttypes.ui.person.set_alias=Set former name -cms.contenttypes.ui.person.delete_alias=Remove former name -cms.contenttypes.ui.person.alias.none=No former name -cms.contenttypes.ui.person.alias=Former name -cms.contenttypes.ui.person.alias.select=Select former name -cms.contenttypes.ui.contact.alias.select.add=Select former name -cms.contenttypes.person.alias.select.wrong_type=No person selected -cms.contenttypes.person.alias.select.same_as_person=Selected person is the same as the current person. Alias and person can't be identical. -cms.contenttypes.person.alias.select.no_suitable_language_variant=The selected item has no suitable language variant. -cms.ui.item.lifecycle.do=Execute -cms.ui.item.lifecycle.do.not_authorized=Your not authorized to publish this item. -cms.ui.item.lifecycle.publish_locked=This content item is being (re-)published -cms.ui.item.lifecycle.publish_locked.update=Update -cms.ui.lifecycle.publish.error=An error occured while publishing this item.The system administrator has been notified about this problem. This item will stay locked until the lock is removed by the system administrator manually. -cms.ui.delete_confirmation=Permanently delete this item? -cms.ui.lifecycle.details.last_published=Item last (re-)published -cms.ui.item_search.flat.filter=Filter list -cms.ui.item_search.flat.no_items=No items matching the filter found -cms.ui.item_search.flat.title=Title -cms.ui.item_search.flat.place=Place -cms.ui.item_search.flat.type=Type -cms.ui.item_search.flatBrowse=Select item -cms.ui.category.undeletable=This category can't be deleted. -cms.ui.item_search.flat.filter.submit=Filter -cms.ui.item_search.selected=Selected content item (id) -cms.ui.item_search.create=Create new -cms.ui.item_search.create.folder_select=Select folder -cms.ui.image_library=Image Library -cms.ui.image_upload=Upload Image -cms.ui.images=Images -cms.ui.search.create.select_close=Select item and close -cms.ui.search.create.select_edit=Select item and edit - -cms.ui.clear=Clear -cms.ui.item_search.create.folder_missing=No folder selected -cms.ui.images_links= -cms.contenttypes.ui.person.alias.delete.label=Delete -cms.ui.contentcenter.mainpage.search=Search -cms.ui.contentcenter.mainpage.taskssections=Tasks/Sections -cms.ui.contentcenter.section=Section -cms.ui.contentcenter.action=Action -cms.ui.set_home_folder=Set as home folder -cms.ui.go_to_home_folder=Go to home folder -cms.ui.no_home_folder_selected=No home folder selected diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties index 1e99fcd02..30a9b3dcf 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -55,7 +55,6 @@ cms.contenttypes.ui.person.alias.delete.label=Delete cms.ui.contentcenter.mainpage.search=Search cms.ui.contentcenter.mainpage.taskssections=Tasks/Sections cms.ui.contentcenter.section=Section -cms.ui.contentcenter.action=Action cms.ui.set_home_folder=Set as home folder cms.ui.go_to_home_folder=Go to home folder cms.ui.no_home_folder_selected=No home folder selected diff --git a/ccm-cms/src/com/arsdigita/cms/dispatcher/SimpleXMLGenerator.java b/ccm-cms/src/com/arsdigita/cms/dispatcher/SimpleXMLGenerator.java index b0514815a..a3da3e224 100755 --- a/ccm-cms/src/com/arsdigita/cms/dispatcher/SimpleXMLGenerator.java +++ b/ccm-cms/src/com/arsdigita/cms/dispatcher/SimpleXMLGenerator.java @@ -19,7 +19,9 @@ package com.arsdigita.cms.dispatcher; import com.arsdigita.bebop.PageState; +import com.arsdigita.caching.CacheTable; import com.arsdigita.cms.CMS; +import com.arsdigita.cms.CMSConfig; import com.arsdigita.cms.ContentItem; import com.arsdigita.cms.ContentItemXMLRenderer; import com.arsdigita.cms.ExtraXMLGenerator; @@ -40,11 +42,11 @@ import com.arsdigita.persistence.OID; import com.arsdigita.persistence.metadata.Property; import com.arsdigita.util.UncheckedWrapperException; import com.arsdigita.xml.Element; -import java.util.HashMap; import org.apache.log4j.Logger; import java.util.Iterator; import java.util.LinkedHashMap; +import java.util.List; import java.util.Map; /** @@ -83,8 +85,13 @@ public class SimpleXMLGenerator implements XMLGenerator { */ private String itemElemName = "cms:item"; private String itemElemNs = CMS.CMS_XML_NS; - private static final Map cache = new HashMap(); - private static final boolean USE_CACHE = false; + private static final CacheTable CACHE = new CacheTable( + SimpleXMLGenerator.class.getName() + "Cache", + CMSConfig.getInstance().getXmlCacheSize(), + CMSConfig.getInstance().getXmlCacheAge(), + true); + //private static final Map cache = new HashMap(); + //private static final boolean USE_CACHE = false; // Register general purpose adaptor for all content items static { @@ -189,8 +196,8 @@ public class SimpleXMLGenerator implements XMLGenerator { // This is the preferred method //final Element content = startElement(useContext, parent); final Element content; - if (USE_CACHE && cache.containsKey(item.getOID())) { - content = cache.get(item.getOID()); + if (CMSConfig.getInstance().getEnableXmlCache() && (CACHE.get(item.getOID().toString()) != null)) { + content = (Element) CACHE.get(item.getOID().toString()); } else { content = startElement(useContext); @@ -212,7 +219,23 @@ public class SimpleXMLGenerator implements XMLGenerator { //parent.addContent(content); - /* + //Only cache published items +// if (item.isLiveVersion()) { +// final Element cachedElem = startElement(useContext); +// final Iterator entries = content.getAttributes().entrySet().iterator(); +// Map.Entry entry; +// while (entries.hasNext()) { +// entry = (Map.Entry) entries.next(); +// cachedElem.addAttribute((String) entry.getKey(), (String) entry.getValue()); +// } +// final Iterator childs = content.getChildren().iterator(); +// while (childs.hasNext()) { +// cachedElem.newChildElement((Element) childs.next()); +// } +// CACHE.put(item.getOID().toString(), cachedElem); +// } + //} + /* * 2011-08-27 jensp: Introduced to remove the annoying special templates * for MultiPartArticle, SiteProxy and others. The method called * here was already definied but not used. @@ -229,10 +252,21 @@ public class SimpleXMLGenerator implements XMLGenerator { } // System.out. // printf("Rendered ExtraXML in %d ms\n", (System.nanoTime() - extraXMLStart) / 1000000); -// System.out.printf(" -----\n"); +// System.out.printf(" -----\n"); - if (USE_CACHE) { - cache.put(item.getOID(), content); + if (CMSConfig.getInstance().getEnableXmlCache() && item.isLiveVersion()) { + final Element cachedElem = startElement(useContext); + final Iterator entries = content.getAttributes().entrySet().iterator(); + Map.Entry entry; + while (entries.hasNext()) { + entry = (Map.Entry) entries.next(); + cachedElem.addAttribute((String) entry.getKey(), (String) entry.getValue()); + } + final Iterator childs = content.getChildren().iterator(); + while (childs.hasNext()) { + cachedElem.newChildElement((Element) childs.next()); + } + CACHE.put(item.getOID().toString(), cachedElem); } } diff --git a/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java b/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java index 49661c768..f83de4a1c 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java @@ -85,7 +85,7 @@ public abstract class NewItemForm extends Form { m_emptyLabel.setIdAttr("empty_label"); panel.add(m_emptyLabel); - m_createLabel = new Label((String)globalize("cms.ui.authoring.create_new").localize(), false); + m_createLabel = new Label(globalize("cms.ui.authoring.create_new"), false); m_createLabel.setIdAttr("create_label"); panel.add(m_createLabel); diff --git a/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle.java b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle.java index 8d43b57bd..a94f559a5 100755 --- a/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle.java +++ b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle.java @@ -21,6 +21,7 @@ package com.arsdigita.cms.util; import com.arsdigita.globalization.ChainedResourceBundle; import java.util.PropertyResourceBundle; +import java.util.ResourceBundle; /** * Main ResourceBundle for CMS UI. @@ -29,11 +30,13 @@ import java.util.PropertyResourceBundle; * - putBundle - to override keys already in CMSResources e.g. to customize * notification email text */ -public class CMSResourceBundle extends ChainedResourceBundle - implements CMSGlobalized { - +public class CMSResourceBundle extends ChainedResourceBundle implements CMSGlobalized { + public CMSResourceBundle() { super(); - addBundle((PropertyResourceBundle)getBundle(BUNDLE_NAME)); + addBundle((PropertyResourceBundle) getBundle(BUNDLE_NAME, + ResourceBundle.Control.getNoFallbackControl( + ResourceBundle.Control.FORMAT_DEFAULT))); } + } diff --git a/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_de.java b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_de.java new file mode 100644 index 000000000..1fd809bf5 --- /dev/null +++ b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_de.java @@ -0,0 +1,10 @@ +package com.arsdigita.cms.util; + +/** + * + * @author Jens Pelzetter + * @version $Id$ + */ +public class CMSResourceBundle_de extends CMSResourceBundle { + +} diff --git a/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_en_GB.java b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_en_GB.java new file mode 100644 index 000000000..a46e69062 --- /dev/null +++ b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_en_GB.java @@ -0,0 +1,10 @@ +package com.arsdigita.cms.util; + +/** + * + * @author Jens Pelzetter + * @version $Id$ + */ +public class CMSResourceBundle_en_GB extends CMSResourceBundle { + +} diff --git a/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_fr.java b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_fr.java new file mode 100644 index 000000000..c0edadc50 --- /dev/null +++ b/ccm-cms/src/com/arsdigita/cms/util/CMSResourceBundle_fr.java @@ -0,0 +1,10 @@ +package com.arsdigita.cms.util; + +/** + * + * @author Jens Pelzetter + * @version $Id$ + */ +public class CMSResourceBundle_fr extends CMSResourceBundle { + +} diff --git a/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java b/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java index 6243cb1dd..d98fa6f68 100755 --- a/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java +++ b/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java @@ -31,11 +31,9 @@ import com.arsdigita.globalization.GlobalizedMessage; */ public class GlobalizationUtil { - /** Name of the Java class to handle CMS's globalisation. */ -// public static String s_bundleName = -// "com.arsdigita.cms.util.CMSResourceBundle"; - public static String s_bundleName = - "com.arsdigita.cms.CMSResources"; + /** Name of the Java class to handle CMS's globalisation. */ + //public static String s_bundleName = "com.arsdigita.cms.util.CMSResourceBundle"; + public static String s_bundleName = "com.arsdigita.cms.CMSResources"; /** * This returns a globalized message using the package specific bundle, @@ -71,5 +69,5 @@ public class GlobalizationUtil { public static void internalSetBundleName(String bundleName) { s_bundleName = bundleName; } - + }