From dfc96360314523b211857bee1a7e04d42f86c151 Mon Sep 17 00:00:00 2001 From: jensp Date: Sat, 29 Jan 2011 10:15:45 +0000 Subject: [PATCH] Label der Titelfelder in den Formularen im SciOrga Modul an den Contenttyp angepasst (z.B. 'Bezeichnung der Abteilung' statt 'Titel der Seite'). git-svn-id: https://svn.libreccm.org/ccm/trunk@720 8810af33-2d31-482b-a856-94f89814c4df --- .../cms/contenttypes/ui/SciDepartmentPropertyForm.java | 6 +++++- .../cms/contenttypes/ui/SciOrganizationPropertyForm.java | 6 ++++++ .../contenttypes/ui/SciOrganizationResources.properties | 3 +++ .../ui/SciOrganizationResources_de.properties | 3 +++ .../cms/contenttypes/ui/SciProjectPropertyForm.java | 8 +++++++- 5 files changed, 24 insertions(+), 2 deletions(-) diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciDepartmentPropertyForm.java b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciDepartmentPropertyForm.java index 89b4aa8fc..9a46d0131 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciDepartmentPropertyForm.java +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciDepartmentPropertyForm.java @@ -97,7 +97,11 @@ public class SciDepartmentPropertyForm init(fse); } + } - + @Override + protected String getTitleLabel() { + return (String) SciOrganizationGlobalizationUtil.globalize( + "sciorganizations.ui.department.title").localize(); } } diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationPropertyForm.java b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationPropertyForm.java index ca514d68a..4c877c57e 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationPropertyForm.java +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationPropertyForm.java @@ -98,4 +98,10 @@ public class SciOrganizationPropertyForm organization.save(); } } + + @Override + public String getTitleLabel() { + return (String) SciOrganizationGlobalizationUtil.globalize( + "sciorganizations.ui.organization.title").localize(); + } } diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources.properties b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources.properties index 52d2224df..e0fb59260 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources.properties +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources.properties @@ -135,3 +135,6 @@ sciorganization.ui.project.subproject..confirm_remove=Are you sure to remove thi sciorganization.ui.project.superproject..confirm_remove=Are you sure to remove the superior project? sciorganization.ui.project.add_member=Add member sciorganization.ui.department.publications=Publications of the department +sciorganizations.ui.department.title=Name of the department +sciorganizations.ui.organization.title=Name of the organization +sciorganizations.ui.project.title=Name of the project diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources_de.properties b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources_de.properties index d32a8b974..faa7e6634 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources_de.properties +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciOrganizationResources_de.properties @@ -135,3 +135,6 @@ sciorganization.ui.project.subproject..confirm_remove=Sind sie sicher das sie di sciorganization.ui.project.superproject..confirm_remove=Wollen sie dieses \u00fcbergeordnete Projekt wirklich entfernen? sciorganization.ui.project.add_member=Mitglied hinzuf\u00fcgen sciorganization.ui.department.publications=Publikationen der Abteilung +sciorganizations.ui.department.title=Bezeichnung der Abteilung +sciorganizations.ui.organization.title=Name der Organisation +sciorganizations.ui.project.title=Name des Projektes diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciProjectPropertyForm.java b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciProjectPropertyForm.java index 4751d8f36..19e410963 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciProjectPropertyForm.java +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/ui/SciProjectPropertyForm.java @@ -85,7 +85,7 @@ public class SciProjectPropertyForm TextArea shortDesc = new TextArea(shortDescParam); shortDesc.setCols(75); shortDesc.setRows(5); - add(shortDesc); + add(shortDesc); } @Override @@ -122,4 +122,10 @@ public class SciProjectPropertyForm init(fse); } } + + @Override + public String getTitleLabel() { + return (String) PublicationGlobalizationUtil.globalize( + "sciorganizations.ui.project.title").localize(); + } }