diff --git a/config/alfresco/messages/webclient.properties b/config/alfresco/messages/webclient.properties index 604688b257..faa0936697 100644 --- a/config/alfresco/messages/webclient.properties +++ b/config/alfresco/messages/webclient.properties @@ -1,5 +1,46 @@ # I18N message properties +# Multilingual +make_multilingual=Make Multilingual +make_multilingual_tooltip=Make this document multilingual +make_multilingual_description=Transform this document as a multilingual document. +error_make_multilingual_dialog=Unable to make this file multilingual. +add_translation=Add Translation +add_translation_tooltip=Add a translation to this document +add_translation_description=Add a translation to the document. +error_add_translation_dialog=Unable to add a translation. +trad_exists_error=A traduction already exists for this locale. +add_translation_wc=Add Translation Without Content +add_translation_wc_tooltip=Add a translation without content to the document +add_translation_wc_description=Add a translation to the document's properties. +error_add_translation_wc_dialog=Unable to add a translation without content. +create_properties_close=Add new properties when the dialog closes +ml_common_content_properties=Common Multilingual Content Properties +ml_other_options=Other Options +ml_add_trans_when_diag_close=Add translation when this dialog closes. +ml_with_content=With content +ml_just_trans_info=Without content (just translation information) +not_multilingual=This document has no multilinguism aspect. +allow_multilinguism=Allow Multilinguism Aspect +select_language= + + + + + + 2. <%=Application.getMessage(FacesContext.getCurrentInstance(), "click_upload")%> + + + + " /> + + + + <% } %> + + + <% if (fileUploaded) { %> + + + + + + + + + + +
+
+ + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + <%-- language selection drop-down --%> + + + + + + + + + + + + + + <% if (dialog.getOtherPropertiesChoiceVisible()) { %> + + + + +   + + + + + + + + + + + + + + + +
+ + + +
+ + + <% } } %> + + + <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %> + + + + <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "greyround", "#F5F5F5"); %> + + + + + + + +
+ +
+ +
+ <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "greyround"); %> + + + + + + + + <%-- separator row with bottom panel graphics --%> + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/source/web/jsp/ml/add-translation-without-content.jsp b/source/web/jsp/ml/add-translation-without-content.jsp new file mode 100644 index 0000000000..45b57f4b6c --- /dev/null +++ b/source/web/jsp/ml/add-translation-without-content.jsp @@ -0,0 +1,82 @@ +<%-- + * Copyright (C) 2005-2007 Alfresco Software Limited. + + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + * As a special exception to the terms and conditions of version 2.0 of + * the GPL, you may redistribute this Program in connection with Free/Libre + * and Open Source Software ("FLOSS") applications as described in Alfresco's + * FLOSS exception. You should have recieved a copy of the text describing + * the FLOSS exception, and it is also available here: + * http://www.alfresco.com/legal/licensing" +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/web/jsp/ml/edit-ml-container-dialog.jsp b/source/web/jsp/ml/edit-ml-container-dialog.jsp new file mode 100644 index 0000000000..2d5e3e8163 --- /dev/null +++ b/source/web/jsp/ml/edit-ml-container-dialog.jsp @@ -0,0 +1,38 @@ +<%-- + * Copyright (C) 2005-2007 Alfresco Software Limited. + + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR Alan PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + * As a special exception to the terms and conditions of version 2.0 of + * the GPL, you may redistribute this Program in connection with Free/Libre + * and Open Source Software ("FLOSS") applications as described in Alfresco's + * FLOSS exception. You should have recieved a copy of the text describing + * the FLOSS exception, and it is also available here: + * http://www.alfresco.com/legal/licensing" +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + + + + + + diff --git a/source/web/jsp/ml/make-multilingual-dialog.jsp b/source/web/jsp/ml/make-multilingual-dialog.jsp new file mode 100644 index 0000000000..e504455e84 --- /dev/null +++ b/source/web/jsp/ml/make-multilingual-dialog.jsp @@ -0,0 +1,80 @@ +<%-- +Copyright (C) 2005 Alfresco, Inc. + +Licensed under the Mozilla Public License version 1.1 +with a permitted attribution clause. You may obtain a +copy of the License at + +http://www.alfresco.org/legal/license.txt + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, +either express or implied. See the License for the specific +language governing permissions and limitations under the +License. +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + + + + + + + + + + + + + <%-- language selection drop-down --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/web/jsp/ml/ml-container-details.jsp b/source/web/jsp/ml/ml-container-details.jsp new file mode 100644 index 0000000000..6a482fec32 --- /dev/null +++ b/source/web/jsp/ml/ml-container-details.jsp @@ -0,0 +1,247 @@ +<%-- + * Copyright (C) 2005-2007 Alfresco Software Limited. + + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + * As a special exception to the terms and conditions of version 2.0 of + * the GPL, you may redistribute this Program in connection with Free/Libre + * and Open Source Software ("FLOSS") applications as described in Alfresco's + * FLOSS exception. You should have recieved a copy of the text describing + * the FLOSS exception, and it is also available here: + * http://www.alfresco.com/legal/licensing" +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + +<%@ page buffer="64kb" contentType="text/html;charset=UTF-8" %> +<%@ page isELIgnored="false" %> +<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %> + + + + + + + <%-- load a bundle of properties with I18N strings --%> + + + + + <%-- Main outer table --%> + + + <%-- Title bar --%> + + + + + <%-- Main area --%> + + <%-- Shelf --%> + + + <%-- Work Area --%> + + +
+ <%@ include file="../parts/titlebar.jsp" %> +
+ <%@ include file="../parts/shelf.jsp" %> + + + <%-- Breadcrumb --%> + <%@ include file="../parts/breadcrumb.jsp" %> + + <%-- Status and Actions --%> + + + + + + + <%-- separator row with gradient shadow --%> + + + + + + + <%-- Error Messages --%> + + + + + + + <%-- Details --%> + + + + + + + <%-- separator row with bottom panel graphics --%> + + + + + + +
+ + <%-- Status and Actions inner contents table --%> + <%-- Generally this consists of an icon, textual summary and actions for the current object --%> + + + + + +
+ + +
+ '' +
+
+
+
+ <%-- messages tag to show messages not handled by other specific message tags --%> + +
+ + + + +
+ <%-- wrapper comment used by the panel to add additional component facets --%> + + + + + + + + + + + <%-- + Multlingual details + --%> + + <%-- properties for Ml container --%> + + + + + + + + + + + + + + + +
+ + <%-- list of translations --%> + + + + + <%-- Icon details view mode --%> + + + + + + + + <%-- Name Columns --%> + + + + + + + + <%-- Language columns --%> + + + + + + + + <%-- view actions --%> + + + + + + + + + + + + + + + + +
+ + <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "greyround", "#F5F5F5"); %> + + + + +
+ +
+ <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "greyround"); %> + +
+ + <%-- Document Actions --%> + + + +
+
+
+ +
+ +
+ +
\ No newline at end of file diff --git a/source/web/jsp/spaces/edit-space-dialog.jsp b/source/web/jsp/spaces/edit-space-dialog.jsp index 619c645e77..cd9d17add6 100644 --- a/source/web/jsp/spaces/edit-space-dialog.jsp +++ b/source/web/jsp/spaces/edit-space-dialog.jsp @@ -31,8 +31,12 @@ + + + + diff --git a/source/web/jsp/spaces/ml/create-multilingual-properties-dialog.jsp b/source/web/jsp/spaces/ml/create-multilingual-properties-dialog.jsp new file mode 100644 index 0000000000..12ec1e1726 --- /dev/null +++ b/source/web/jsp/spaces/ml/create-multilingual-properties-dialog.jsp @@ -0,0 +1,147 @@ +<%-- +* Copyright (C) 2005-2007 Alfresco Software Limited. + +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. + +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. + +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +* As a special exception to the terms and conditions of version 2.0 of +* the GPL, you may redistribute this Program in connection with Free/Libre +* and Open Source Software ("FLOSS") applications as described in Alfresco's +* FLOSS exception. You should have recieved a copy of the text describing +* the FLOSS exception, and it is also available here: +* http://www.alfresco.com/legal/licensing" +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +
+ + + + + + + + + + + + + <%-- existing properties --%> + + + + +
+ + + + + + + + + + <%-- existing properties --%> + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + +
+ + + diff --git a/source/web/jsp/spaces/ml/create-multilingual-space-dialog.jsp b/source/web/jsp/spaces/ml/create-multilingual-space-dialog.jsp new file mode 100644 index 0000000000..bad6dae316 --- /dev/null +++ b/source/web/jsp/spaces/ml/create-multilingual-space-dialog.jsp @@ -0,0 +1,173 @@ +<%-- +* Copyright (C) 2005-2007 Alfresco Software Limited. + +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. + +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. + +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +* As a special exception to the terms and conditions of version 2.0 of +* the GPL, you may redistribute this Program in connection with Free/Libre +* and Open Source Software ("FLOSS") applications as described in Alfresco's +* FLOSS exception. You should have recieved a copy of the text describing +* the FLOSS exception, and it is also available here: +* http://www.alfresco.com/legal/licensing" +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + +
+
+ + + + + +