mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V2.0 to HEAD
5178: WCM-336, checkin performance 5182: Missing OpenSearch strings 5183: AR-1126 5185: OpenSearch externalized strings 5190: Schema and xforms 5191: WCM-343 5205: NTML using incorrect auth component 5210: No virtual server start 5211: WCM-352, WCM-353 5212: Manage Task Dialog issues git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5332 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -115,48 +115,49 @@ public class UIOpenSearch extends SelfRenderingComponent
|
||||
out.write("', '");
|
||||
out.write(engine.getUrl());
|
||||
out.write("');\n");
|
||||
|
||||
// pass in NLS strings
|
||||
out.write(clientId);
|
||||
out.write(".setMsgNoResults(\"");
|
||||
out.write(Application.getMessage(context, "no_results"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgOf(\"");
|
||||
out.write(Application.getMessage(context, "of"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgFailedGenerateUrl(\"");
|
||||
out.write(Application.getMessage(context, "failed_gen_url"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgFailedSearch(\"");
|
||||
out.write(Application.getMessage(context, "failed_search"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgFirstPage(\"");
|
||||
out.write(Application.getMessage(context, "first_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgPreviousPage(\"");
|
||||
out.write(Application.getMessage(context, "prev_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgNextPage(\"");
|
||||
out.write(Application.getMessage(context, "next_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgLastPage(\"");
|
||||
out.write(Application.getMessage(context, "last_page"));
|
||||
out.write("\");\n");
|
||||
}
|
||||
|
||||
// pass in NLS strings
|
||||
out.write(clientId);
|
||||
out.write(".setMsgNoResults(\"");
|
||||
out.write(Application.getMessage(context, "no_results"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgOf(\"");
|
||||
out.write(Application.getMessage(context, "of"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgFailedGenerateUrl(\"");
|
||||
out.write(Application.getMessage(context, "failed_gen_url"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgFailedSearch(\"");
|
||||
out.write(Application.getMessage(context, "failed_search"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgFirstPage(\"");
|
||||
out.write(Application.getMessage(context, "first_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgPreviousPage(\"");
|
||||
out.write(Application.getMessage(context, "prev_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgNextPage(\"");
|
||||
out.write(Application.getMessage(context, "next_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write(clientId);
|
||||
out.write(".setMsgLastPage(\"");
|
||||
out.write(Application.getMessage(context, "last_page"));
|
||||
out.write("\");\n");
|
||||
|
||||
out.write("</script>\n");
|
||||
|
||||
// write out the HTML
|
||||
|
Reference in New Issue
Block a user