diff --git a/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventGlobalizationUtil.java b/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventGlobalizationUtil.java index faaaf0727..585997987 100755 --- a/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventGlobalizationUtil.java +++ b/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventGlobalizationUtil.java @@ -35,7 +35,6 @@ public class EventGlobalizationUtil { /** Name of the Java class to handle Event's globalisation. */ final public static String BUNDLE_NAME = "com.arsdigita.cms.contenttypes.util.EventResourceBundle"; - /** * This returns a globalized message using the type specific bundle, diff --git a/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventResourceBundle.java b/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventResourceBundle.java index 0e429e260..6b8660620 100755 --- a/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventResourceBundle.java +++ b/ccm-cms-types-event/src/com/arsdigita/cms/contenttypes/util/EventResourceBundle.java @@ -29,7 +29,7 @@ import java.util.PropertyResourceBundle; * @author Shashin Shinde (sshinde@redhat.com) */ public class EventResourceBundle extends ChainedResourceBundle - implements CMSGlobalized { + implements CMSGlobalized { public final static String EVENT_BUNDLE_NAME = "com.arsdigita.cms.contenttypes.EventResources"; diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index 64539566a..e0992df9e 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1099,7 +1099,6 @@ cms.ui.image_upload=Bild hochladen cms.ui.images=Bilder cms.ui.search.create.select_close=Item ausw\u00e4hlen und schlie\u00dfen cms.ui.search.create.select_edit=Item ausw\u00e4hlen und weiter bearbeiten - cms.ui.clear=Zur\u00fccksetzen cms.ui.type.minimum_number_of_values_bigger_than_maximum_number_of_values=Maximaler Wert kleiner als minimaler Wert cms.ui.type.minimummaximum_number_of_values_cannot_be_negative=Keine negativen Werte erlaubt diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties new file mode 100755 index 000000000..dc1c6c48e --- /dev/null +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en.properties @@ -0,0 +1,1122 @@ +# 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 ceef61e6e..1e99fcd02 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -1,61 +1,61 @@ cms.tasks.ui.content_center=Content Centre cms.ui.content_center=Content Centre cms.ui.lifecycles=Lifecycles -cms.ui.unknownRole= +cms.ui.unknownRole=Unknown role cms.ui.unknownStatus=Unknown status cms.contenttypes.ui.genericorgaunit.persons.status=Status -cms.contenttypes.shared.basic_properties.title= -cms.ui.edit_assoc= -cms.ui.type.permissions= -cms.ui.type.permissions.role= -cms.ui.type.permissions_can_use= -cms.ui.type.permission.action= -cms.ui.type.permissions.can_use.yes= -cms.ui.type.permissions.actions.restrict_to_this_role= -cms.ui.type.permissions.can_use.grant= -cms.ui.type.permissions.actions.revoke= -cms.ui.type.permissions.can_use.no= -cms.contenttypes.ui.person.set_alias= -cms.contenttypes.ui.person.delete_alias= -cms.contenttypes.ui.person.alias.none= -cms.contenttypes.ui.person.alias= -cms.contenttypes.ui.person.alias.select= -cms.contenttypes.ui.contact.alias.select.add= -cms.contenttypes.person.alias.select.wrong_type= -cms.contenttypes.person.alias.select.same_as_person= -cms.contenttypes.person.alias.select.no_suitable_language_variant= -cms.ui.item.lifecycle.do= -cms.ui.item.lifecycle.do.not_authorized= -cms.ui.item.lifecycle.publish_locked= -cms.ui.item.lifecycle.publish_locked.update= -cms.ui.lifecycle.publish.error= -cms.ui.delete_confirmation= -cms.ui.lifecycle.details.last_published= -cms.ui.item_search.flat.filter= -cms.ui.item_search.flat.no_items= +cms.contenttypes.shared.basic_properties.title=Basic Properties +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= -cms.ui.item_search.flat.filter.submit= -cms.ui.item_search.selected= -cms.ui.item_search.create= -cms.ui.item_search.create.folder_select= +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= -cms.ui.search.create.select_edit= +cms.ui.search.create.select_close=Select item and close +cms.ui.search.create.select_edit=Select item and edit -cms.ui.clear= -cms.ui.item_search.create.folder_missing= +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= -cms.ui.contentcenter.mainpage.search= -cms.ui.contentcenter.mainpage.taskssections= -cms.ui.contentcenter.section= -cms.ui.contentcenter.action= -cms.ui.set_home_folder= -cms.ui.go_to_home_folder= -cms.ui.no_home_folder_selected= +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_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index bc8322c30..27f6c8401 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -535,58 +535,58 @@ yes=Oui cms.contenttypes.ui.address.uri=URL (TRANSLATE THIS cms.contenttypes.ui.address.uri) cms.contenttypes.ui.address.email.desc=Means of contacting someone at this address (TRANSLATE THIS cms.contenttypes.ui.address.email.desc) cms.contenttypes.ui.address.uri.desc=A URL to find more information about this Address (TRANSLATE THIS cms.contenttypes.ui.address.uri.desc) -cms.contenttypes.shared.basic_properties.title= +cms.contenttypes.shared.basic_properties.title=Basic Properties cms.ui.edit_assoc= -cms.ui.type.permissions= -cms.ui.type.permissions.role= -cms.ui.type.permissions_can_use= -cms.ui.type.permission.action= -cms.ui.type.permissions.can_use.yes= -cms.ui.type.permissions.actions.restrict_to_this_role= -cms.ui.type.permissions.can_use.grant= -cms.ui.type.permissions.actions.revoke= -cms.ui.type.permissions.can_use.no= -cms.contenttypes.ui.person.set_alias= -cms.contenttypes.ui.person.delete_alias= -cms.contenttypes.ui.person.alias.none= -cms.contenttypes.ui.person.alias= -cms.contenttypes.ui.person.alias.select= -cms.contenttypes.ui.contact.alias.select.add= -cms.contenttypes.person.alias.select.wrong_type= -cms.contenttypes.person.alias.select.same_as_person= -cms.contenttypes.person.alias.select.no_suitable_language_variant= -cms.ui.item.lifecycle.do= -cms.ui.item.lifecycle.do.not_authorized= -cms.ui.item.lifecycle.publish_locked= -cms.ui.item.lifecycle.publish_locked.update= -cms.ui.lifecycle.publish.error= +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= -cms.ui.lifecycle.details.last_published= -cms.ui.item_search.flat.filter= -cms.ui.item_search.flat.no_items= +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= -cms.ui.item_search.flat.filter.submit= -cms.ui.item_search.selected= -cms.ui.item_search.create= -cms.ui.item_search.create.folder_select= +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= -cms.ui.search.create.select_edit= +cms.ui.search.create.select_close=Select item and close +cms.ui.search.create.select_edit=Select item and edit cms.ui.clear= -cms.ui.item_search.create.folder_missing= +cms.ui.item_search.create.folder_missing=No folder selected cms.ui.images_links= -cms.contenttypes.ui.person.alias.delete.label= +cms.contenttypes.ui.person.alias.delete.label=Delete cms.ui.contentcenter.mainpage.search= cms.ui.contentcenter.mainpage.taskssections= cms.ui.contentcenter.section= cms.ui.contentcenter.action= -cms.ui.set_home_folder= +cms.ui.set_home_folder=Set as home folder cms.ui.go_to_home_folder= -cms.ui.no_home_folder_selected= +cms.ui.no_home_folder_selected=No home folder selected diff --git a/ccm-cms/src/com/arsdigita/cms/ui/BrowsePane.java b/ccm-cms/src/com/arsdigita/cms/ui/BrowsePane.java index ae46e3176..0cee1f9c8 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/BrowsePane.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/BrowsePane.java @@ -86,6 +86,7 @@ public class BrowsePane extends LayoutPanel implements Resettable { (new SubmissionListener()); } + @Override public final void register(Page page) { super.register(page); @@ -93,6 +94,7 @@ public class BrowsePane extends LayoutPanel implements Resettable { page.addActionListener(new TreeListener()); } + @Override public final void reset(PageState state) { super.reset(state); diff --git a/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/MainPage.java b/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/MainPage.java index eab0b28d2..4017e442b 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/MainPage.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/contentcenter/MainPage.java @@ -143,30 +143,50 @@ public class MainPage extends CMSApplicationPage implements ActionListener { * or to add additional tabs after the default CMS tabs are added. **/ protected TabbedPane createTabbedPane() { - TabbedPane pane = new TabbedPane(); - pane.setClassAttr(XSL_CLASS); - //addToPane(pane, "Tasks/Sections", getTasksPane(m_typeSel, m_sectionSel)); - //addToPane(pane, "Search", getSearchPane()); - addToPane(pane, - (String)GlobalizationUtil.globalize("cms.ui.contentcenter.mainpage.taskssections").localize(), + TabbedPane tabbedPane = new TabbedPane(); + tabbedPane.setClassAttr(XSL_CLASS); + Label taskLabel = new Label(GlobalizationUtil + .globalize("cms.ui.contentcenter.mainpage.taskssections")); + Label searchLabel = new Label(GlobalizationUtil + .globalize("cms.ui.contentcenter.mainpage.search")); + addToPane(tabbedPane, + taskLabel, getTasksPane(m_typeSel, m_sectionSel)); - addToPane(pane, - (String)GlobalizationUtil.globalize("cms.ui.contentcenter.mainpage.search").localize(), + addToPane(tabbedPane, + // searchLabel, + new Label(GlobalizationUtil.globalize( + "cms.ui.contentcenter.mainpage.search")), getSearchPane()); - pane.addActionListener(this); - return pane; + tabbedPane.addActionListener(this); + return tabbedPane; } +// /** +// * Adds the specified component, with the specified tab name, to the +// * tabbed pane only if it is not null. +// * +// * @param pane The pane to which to add the tab +// * @param tabName The name of the tab if it's added +// * @param comp The component to add to the pane +// * @deprecated refactor to use addToPane(Label, Component) instead to +// * enable localized tab strips. +// */ +// protected void addToPane(TabbedPane pane, String tabName, Component comp) { +// if (comp != null) { +// pane.addTab(tabName, comp); +// } +// } + /** - * Adds the specified component, with the specified tab name, to the - * tabbed pane only if it is not null. + * Adds the specified component, with the specified Label as tab name, + * to the tabbed pane only if it is not null. * * @param pane The pane to which to add the tab * @param tabName The name of the tab if it's added * @param comp The component to add to the pane - **/ - protected void addToPane(TabbedPane pane, String tabName, Component comp) { + */ + protected void addToPane(TabbedPane pane, Label tabName, Component comp) { if (comp != null) { pane.addTab(tabName, comp); } diff --git a/ccm-cms/src/com/arsdigita/cms/ui/contentsection/MainPage.java b/ccm-cms/src/com/arsdigita/cms/ui/contentsection/MainPage.java index bf3b84e58..6e5966f50 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/contentsection/MainPage.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/contentsection/MainPage.java @@ -250,7 +250,8 @@ public class MainPage extends CMSApplicationPage implements ActionListener { if (m_searchPane == null) { m_searchPane = new LayoutPanel(); m_searchPane.setLeft(new SimpleComponent()); - m_searchPane.setBody(new ItemSearch(ContentItem.DRAFT, CMS.getConfig().limitToContentSection())); + m_searchPane.setBody(new ItemSearch(ContentItem.DRAFT, + CMS.getConfig().limitToContentSection())); } return m_searchPane; } @@ -356,6 +357,12 @@ public class MainPage extends CMSApplicationPage implements ActionListener { } } + /** + * + * @param pane + * @param key + * @param tab + */ private void tab(final TabbedPane pane, final String key, final Component tab) { diff --git a/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java b/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java index ec386b5cd..6243cb1dd 100755 --- a/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java +++ b/ccm-cms/src/com/arsdigita/cms/util/GlobalizationUtil.java @@ -31,31 +31,45 @@ 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"; - public static GlobalizedMessage globalize(String key) { - return new GlobalizedMessage(key, getBundleName()); - } + /** + * This returns a globalized message using the package specific bundle, + * provided by method getBundleName() + */ + public static GlobalizedMessage globalize(String key) { + return new GlobalizedMessage(key, getBundleName()); + } - public static GlobalizedMessage globalize(String key, Object[] args) { - return new GlobalizedMessage(key, getBundleName(), args); - } - - public static String getBundleName() { - return s_bundleName; - } + /** + * Returns a globalized message object, using the package specific bundle, + * provided by method getBundleName(). Also takes in an Object[] of + * arguments to interpolate into the retrieved message using the + * MessageFormat class. + */ + public static GlobalizedMessage globalize(String key, Object[] args) { + return new GlobalizedMessage(key, getBundleName(), args); + } - /* - * Not a part of API. Otherwise it would need to be properly synchronized. - * Only meant be used to override resource keys in CMSResources - * by a custom application, in Initializer. - */ - public static void internalSetBundleName(String bundleName) { - s_bundleName = bundleName; - } + /** + * Returns the name of the package specific resource bundle. + * @return + */ + public static String getBundleName() { + return s_bundleName; + } + + /* + * Not a part of API. Otherwise it would need to be properly synchronized. + * Only meant be used to override resource keys in CMSResources + * by a custom application, in Initializer. + */ + public static void internalSetBundleName(String bundleName) { + s_bundleName = bundleName; + } } diff --git a/ccm-core/src/com/arsdigita/bebop/TabbedPane.java b/ccm-core/src/com/arsdigita/bebop/TabbedPane.java index a4514603a..0ad531299 100755 --- a/ccm-core/src/com/arsdigita/bebop/TabbedPane.java +++ b/ccm-core/src/com/arsdigita/bebop/TabbedPane.java @@ -18,21 +18,18 @@ */ package com.arsdigita.bebop; -import java.util.Iterator; -import java.util.List; -import java.util.ArrayList; - -import java.io.IOException; - - -import javax.servlet.ServletException; - import com.arsdigita.bebop.parameters.IntegerParameter; import com.arsdigita.util.Assert; import com.arsdigita.bebop.event.ActionEvent; import com.arsdigita.bebop.event.ActionListener; import com.arsdigita.xml.Element; +import java.util.Iterator; +import java.util.List; +import java.util.ArrayList; + +import javax.servlet.ServletException; + import org.apache.log4j.Logger; /* FIXME: Add methods for using images in the tab strip */ diff --git a/ccm-core/src/com/arsdigita/globalization/ChainedResourceBundle.java b/ccm-core/src/com/arsdigita/globalization/ChainedResourceBundle.java index ad1855cf2..c275d559e 100755 --- a/ccm-core/src/com/arsdigita/globalization/ChainedResourceBundle.java +++ b/ccm-core/src/com/arsdigita/globalization/ChainedResourceBundle.java @@ -18,32 +18,30 @@ */ package com.arsdigita.globalization; +import java.util.Collections; +import java.util.Enumeration; +import java.util.Iterator; import java.util.LinkedList; import java.util.List; -import java.util.ResourceBundle; -import java.util.PropertyResourceBundle; import java.util.ListResourceBundle; -import java.util.Enumeration; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Iterator; +import java.util.PropertyResourceBundle; +import java.util.ResourceBundle; /** - * This is a ResourceBundle that allows the developer to add additional - * ChainableResourceBundles to it. Then, when the bundle is asked for - * a key, it checks the ChainableResourceBundles in the order that they - * were added. A typical use would be something like this - *

- *  public class EventResourceBundle extends ChainedResourceBundle {
- *    public EventResourceBundle() {
- *        super();
- *        addBundle((PropertyResourceBundle)getBundle("EVENT_BUNDLE_NAME"));
- *        addBundle((PropertyResourceBundle)getBundle("DEFAULT_BUNDLE_NAME"));
- *    }
- *  }
- *
- *  
- **/ + * This is a ResourceBundle that allows the developer to add additional + * ChainableResourceBundles to it. Then, when the bundle is asked for + * a key, it checks the ChainableResourceBundles in the order that they + * were added. A typical use would be something like this + *

+ * public class EventResourceBundle extends ChainedResourceBundle {
+ *   public EventResourceBundle() {
+ *       super();
+ *       addBundle((PropertyResourceBundle)getBundle("EVENT_BUNDLE_NAME"));
+ *       addBundle((PropertyResourceBundle)getBundle("DEFAULT_BUNDLE_NAME"));
+ *   }
+ * }
+ * 
+ */ public class ChainedResourceBundle extends ResourceBundle { private List m_bundles; @@ -92,7 +90,7 @@ public class ChainedResourceBundle extends ResourceBundle { } private void putBundle(ChainableResourceBundle bundle) { - m_bundles.add(0,bundle); + m_bundles.add(0,bundle); Enumeration enu = bundle.getKeys(); List bundleKeys = new LinkedList(); while (enu.hasMoreElements()) { @@ -129,7 +127,8 @@ public class ChainedResourceBundle extends ResourceBundle { * an internal PropertyResourceBundle. */ private class ChainablePropertyResourceBundle - implements ChainableResourceBundle { + implements ChainableResourceBundle { + private PropertyResourceBundle m_wrappedBundle = null; /** @@ -159,7 +158,8 @@ public class ChainedResourceBundle extends ResourceBundle { * an internal PropertyResourceBundle. */ private class ChainableListResourceBundle - implements ChainableResourceBundle { + implements ChainableResourceBundle { + private ListResourceBundle m_wrappedBundle = null; /** diff --git a/ccm-core/src/com/arsdigita/ui/admin/ExistingGroupAddPane.java b/ccm-core/src/com/arsdigita/ui/admin/ExistingGroupAddPane.java index 3b30fb3fc..cec9a5f76 100755 --- a/ccm-core/src/com/arsdigita/ui/admin/ExistingGroupAddPane.java +++ b/ccm-core/src/com/arsdigita/ui/admin/ExistingGroupAddPane.java @@ -16,153 +16,178 @@ import com.arsdigita.bebop.parameters.ParameterModel; import com.arsdigita.bebop.parameters.StringParameter; import com.arsdigita.domain.DataObjectNotFoundException; import com.arsdigita.kernel.Group; -import com.arsdigita.ui.admin.GroupAdministrationTab; /** * Series of screens required for adding existing groups as subgroups - - * based on existing functionality for adding permissions to a folder in content/admin - * @version $Id: ExistingGroupAddPane.java,v 1.4 2004/06/21 11:34:03 cgyg9330 Exp $ by $Author: cgyg9330 $ + * based on existing functionality for adding permissions to a folder in + * content/admin + * @version $Id: ExistingGroupAddPane.java,v 1.4 2004/06/21 11:34:03 cgyg9330 Exp $ */ public class ExistingGroupAddPane extends SimpleContainer implements AdminConstants { - private static final Logger s_log = Logger.getLogger(ExistingGroupAddPane.class); - - private ParameterModel searchString = new StringParameter(SEARCH_QUERY); - - - private GroupSearchForm groupSearchForm; - private SimpleContainer selectGroupsPanel; - private SimpleContainer noResultsPanel; - private Tree groupTree; - private GroupAdministrationTab parentPage; - - private RequestLocal parentGroup = new RequestLocal() { - protected Object initialValue(PageState ps) { - String key = (String) groupTree.getSelectedKey(ps); + private static final Logger s_log = Logger.getLogger(ExistingGroupAddPane.class); - Group group = null; - - if (key != null) { - BigDecimal id = new BigDecimal(key); - - try { - group = new Group(id); - } catch (DataObjectNotFoundException exc) { - // Silently ignore if group does not - // exist. - } - } - return group; - } - }; - - - - public ExistingGroupAddPane(Tree groupTree, GroupAdministrationTab parentPage) { - this.groupTree = groupTree; - this.parentPage = parentPage; - - } + private ParameterModel searchString = new StringParameter(SEARCH_QUERY); - public void register(Page p) { - super.register(p); - add(getGroupSearchForm()); - add(getSelectGroupsPanel()); - add(getNoSearchResultPanel()); + private GroupSearchForm groupSearchForm; + private SimpleContainer selectGroupsPanel; + private SimpleContainer noResultsPanel; + private Tree groupTree; + private GroupAdministrationTab parentPage; - // set initial visibility of components - p.setVisibleDefault(getGroupSearchForm(), true); - p.setVisibleDefault(getSelectGroupsPanel(), false); - p.setVisibleDefault(getNoSearchResultPanel(),false); + /** + * + */ + private RequestLocal parentGroup = new RequestLocal() { + @Override + protected Object initialValue(PageState ps) { + String key = (String) groupTree.getSelectedKey(ps); - p.addGlobalStateParam(searchString); + Group group = null; + + if (key != null) { + BigDecimal id = new BigDecimal(key); + + try { + group = new Group(id); + } catch (DataObjectNotFoundException exc) { + // Silently ignore if group does not + // exist. + } + } + return group; + } + }; + + + + /** + * Constructor. + * @param groupTree + * @param parentPage + */ + public ExistingGroupAddPane(Tree groupTree, GroupAdministrationTab parentPage) { + this.groupTree = groupTree; + this.parentPage = parentPage; + } + + + /** + * + * @param p + */ + @Override + public void register(Page p) { + super.register(p); + add(getGroupSearchForm()); + add(getSelectGroupsPanel()); + add(getNoSearchResultPanel()); + + // set initial visibility of components + p.setVisibleDefault(getGroupSearchForm(), true); + p.setVisibleDefault(getSelectGroupsPanel(), false); + p.setVisibleDefault(getNoSearchResultPanel(),false); + + p.addGlobalStateParam(searchString); - } + } - + + /** + * + * @return + */ + public GroupSearchForm getGroupSearchForm() { + + if (groupSearchForm==null) { + groupSearchForm = new GroupSearchForm(this); + } + return groupSearchForm; + } + + /** + * Returns a panel with a set of checkboxes for groups + * fulfilling search criteria + */ + public SimpleContainer getSelectGroupsPanel() { + if (selectGroupsPanel==null) { + SelectGroups selectGroups = new SelectGroups(this, getGroupSearchForm()); + selectGroupsPanel = selectGroups.getPanel(); + } + return selectGroupsPanel; + } + + /** + * Returns a bebop panel indicating that the user search + * yielded no results. + */ + public SimpleContainer getNoSearchResultPanel() { + if (noResultsPanel==null) { + Label errorMsg = GROUP_NO_RESULTS; + errorMsg.setClassAttr("errorBullet"); + BoxPanel bp = new BoxPanel(); + bp.add(errorMsg); + bp.add(new GroupSearchForm(this)); + noResultsPanel = new SegmentedPanel().addSegment(new Label(" "),bp); + } + return noResultsPanel; + } - public GroupSearchForm getGroupSearchForm() { - if (groupSearchForm==null) { - groupSearchForm = new GroupSearchForm(this); - } - return groupSearchForm; - } + /** + * Shows panel with no results to user search. + */ + public void showNoResults(PageState s) { + getGroupSearchForm().setVisible(s, false); + getSelectGroupsPanel().setVisible(s,false); + getNoSearchResultPanel().setVisible(s, true); + } - /** - * Returns a panel with a set of checkboxes for groups - * fulfilling search criteria - */ - public SimpleContainer getSelectGroupsPanel() { - if (selectGroupsPanel==null) { - SelectGroups selectGroups = new SelectGroups(this, getGroupSearchForm()); - selectGroupsPanel = selectGroups.getPanel(); - } - return selectGroupsPanel; - } + /** + * Show the select groups to add as subgroups panel + */ + public void showGroups(PageState s) { + getGroupSearchForm().setVisible(s, false); + getSelectGroupsPanel().setVisible(s,true); + getNoSearchResultPanel().setVisible(s, false); + } - - /** - * Returns a bebop panel indicating that the user search - * yielded no results. - */ + /** + * + * show the search form + */ + public void showSearch(PageState s) { + getGroupSearchForm().setVisible(s, true); + getSelectGroupsPanel().setVisible(s,false); + getNoSearchResultPanel().setVisible(s, false); + } - public SimpleContainer getNoSearchResultPanel() { - if (noResultsPanel==null) { - Label errorMsg = GROUP_NO_RESULTS; - errorMsg.setClassAttr("errorBullet"); - BoxPanel bp = new BoxPanel(); - bp.add(errorMsg); - bp.add(new GroupSearchForm(this)); - noResultsPanel = new SegmentedPanel().addSegment(new Label(" "),bp); - } - return noResultsPanel; - } + /** + * + * @return + */ + public ParameterModel getSearchString() { + return searchString; + } + /** + * + * @return + */ + public GroupAdministrationTab getParentPage() { + return parentPage; + } - /** - * Shows panel with no results to user search. - */ - - public void showNoResults(PageState s) { - getGroupSearchForm().setVisible(s, false); - getSelectGroupsPanel().setVisible(s,false); - getNoSearchResultPanel().setVisible(s, true); - } - - /** - * Show the select groups to add as subgroups panel - */ - - public void showGroups(PageState s) { - getGroupSearchForm().setVisible(s, false); - getSelectGroupsPanel().setVisible(s,true); - getNoSearchResultPanel().setVisible(s, false); - } - /** - * - * show the search form - */ - public void showSearch(PageState s) { - getGroupSearchForm().setVisible(s, true); - getSelectGroupsPanel().setVisible(s,false); - getNoSearchResultPanel().setVisible(s, false); - } - - public ParameterModel getSearchString() { - return searchString; - } - - public GroupAdministrationTab getParentPage() { - return parentPage; - } - - public Group getParentGroup(PageState ps) { - return (Group) parentGroup.get(ps); - } - + /** + * + * @param ps + * @return + */ + public Group getParentGroup(PageState ps) { + return (Group) parentGroup.get(ps); + } } diff --git a/ccm-core/src/com/arsdigita/ui/admin/GroupAddForm.java b/ccm-core/src/com/arsdigita/ui/admin/GroupAddForm.java index affc393d4..e6dc7ac50 100755 --- a/ccm-core/src/com/arsdigita/ui/admin/GroupAddForm.java +++ b/ccm-core/src/com/arsdigita/ui/admin/GroupAddForm.java @@ -74,7 +74,6 @@ class GroupAddForm extends GroupForm implements AdminConstants, // Parent group does not exist. // This is normal behavior with the new group // been add with no parent. - } } diff --git a/ccm-core/src/com/arsdigita/ui/admin/GroupAdministrationTab.java b/ccm-core/src/com/arsdigita/ui/admin/GroupAdministrationTab.java index f10a25847..632a998da 100755 --- a/ccm-core/src/com/arsdigita/ui/admin/GroupAdministrationTab.java +++ b/ccm-core/src/com/arsdigita/ui/admin/GroupAdministrationTab.java @@ -394,6 +394,7 @@ class GroupAdministrationTab extends BoxPanel private Component buildMemberListPanel(SegmentedPanel main) { BoxPanel body = new BoxPanel() { + @Override public void register(Page p) { p.setVisibleDefault(m_subMemberSearch, false); }