diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties index 9f4afc955..5405e9cfb 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources.properties @@ -95,3 +95,4 @@ ui.invalid_term=Invalid term ui.folder.deletion_while_not_empty=Folders must be empty before they can be deleted ui.error.unexpected=An unexpected error occurred ui.authoring.file_option_null=File option was null +ui.unspecified_search_parameters=At least one search parameter must be specified diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties index 9f4afc955..5405e9cfb 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/DMResources_en.properties @@ -95,3 +95,4 @@ ui.invalid_term=Invalid term ui.folder.deletion_while_not_empty=Folders must be empty before they can be deleted ui.error.unexpected=An unexpected error occurred ui.authoring.file_option_null=File option was null +ui.unspecified_search_parameters=At least one search parameter must be specified diff --git a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/SearchPane.java b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/SearchPane.java index bf3bb941a..208a1139b 100755 --- a/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/SearchPane.java +++ b/ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/SearchPane.java @@ -25,6 +25,7 @@ import com.arsdigita.cms.docmgr.Document; import com.arsdigita.cms.docmgr.search.LuceneSearcher; import com.arsdigita.cms.docmgr.search.SearchResults; import com.arsdigita.cms.docmgr.search.SearchUtils; +import com.arsdigita.cms.docmgr.util.GlobalizationUtil; import com.arsdigita.kernel.Kernel; import com.arsdigita.kernel.User; import com.arsdigita.kernel.permissions.PermissionDescriptor; @@ -219,7 +220,8 @@ class SearchPane extends SimpleContainer implements DMConstants { && workspaceID == null) { m_emptyLabel.setVisible(state, true); m_validated.set(state, new Boolean(false)); - throw new FormProcessException("At least one search parameter must be specified"); + throw new FormProcessException(GlobalizationUtil.globalize( + "ui.unspecified_search_parameters")); } m_validated.set(state, new Boolean(true)); }