Verschiedener Kleinkram, unter anderem Tippfehler und Formatierung
git-svn-id: https://svn.libreccm.org/ccm/trunk@2433 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
0537142e38
commit
ae2d4faad3
|
|
@ -51,7 +51,7 @@ cms.contenttypes.ui.contact.attach_person=Person verkn\u00fcpfen
|
|||
cms.contenttypes.ui.contact.edit_person=Person bearbeiten
|
||||
cms.contenttypes.ui.contact.reattach_person=Person neu verkn\u00fcpfen
|
||||
cms.contenttypes.ui.genericcontact.delete_person=Person l\u00f6schen
|
||||
cms.contenttypes.ui.genericcontact.emptyPerson=Zur Zeit ist keine Person verkn\u00fcft
|
||||
cms.contenttypes.ui.genericcontact.emptyPerson=Zur Zeit ist keine Person verkn\u00fcpft
|
||||
cms.contenttypes.ui.contact.select_person=Bitte w\u00e4hlen Sie einen Content-Item vom Typ Person
|
||||
cms.contenttypes.ui.contact.select_person.add=Verkn\u00fcpfen
|
||||
cms.contenttypes.ui.contact.select_person.change=Ver\u00e4ndern
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ import org.apache.log4j.Logger;
|
|||
* @version $Revision: #17 $ $DateTime: 2004/08/16 18:10:38 $
|
||||
*/
|
||||
public class CategoryTreeModelLite extends DataQueryTreeModel {
|
||||
|
||||
private static final Logger s_log =
|
||||
Logger.getLogger(CategoryTreeModelLite.class);
|
||||
|
||||
String m_order = null;
|
||||
|
||||
/**
|
||||
|
|
@ -44,6 +44,7 @@ public class CategoryTreeModelLite extends DataQueryTreeModel {
|
|||
public CategoryTreeModelLite(Category root) {
|
||||
this(root, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes with the passed in the root Category.
|
||||
*
|
||||
|
|
@ -58,18 +59,20 @@ public class CategoryTreeModelLite extends DataQueryTreeModel {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected DataQueryTreeIterator getDataQueryTreeIterator
|
||||
(DataQueryTreeNode node, String getSubCategories) {
|
||||
protected DataQueryTreeIterator getDataQueryTreeIterator(DataQueryTreeNode node,
|
||||
String getSubCategories) {
|
||||
return new CategoryTreeIterator(node, getSubCategories, m_order);
|
||||
}
|
||||
|
||||
private static class CategoryTreeIterator extends DataQueryTreeIterator {
|
||||
|
||||
public CategoryTreeIterator(DataQueryTreeNode node, String getSubCategories, String order) {
|
||||
super(node, getSubCategories);
|
||||
if (order != null) {
|
||||
addOrder(order);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object next() {
|
||||
DataQueryTreeNode node = (DataQueryTreeNode) super.next();
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ public class SciDepartmentSummaryTab implements GenericOrgaUnitTab {
|
|||
private String getContactTypeName(final String contactTypeKey) {
|
||||
final RelationAttributeCollection relAttrs = new RelationAttributeCollection();
|
||||
relAttrs.addFilter(String.format("attribute = '%s'",
|
||||
"GenericContactTypes"));
|
||||
"GenericOrganizationContactTypes"));
|
||||
relAttrs.addFilter(String.format("attr_key = '%s'", contactTypeKey));
|
||||
relAttrs.addFilter(String.format("lang = '%s'", GlobalizationHelper.
|
||||
getNegotiatedLocale().getLanguage()));
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ public class SciInstituteSummaryTab implements GenericOrgaUnitTab {
|
|||
private String getContactTypeName(final String contactTypeKey) {
|
||||
final RelationAttributeCollection relAttrs = new RelationAttributeCollection();
|
||||
relAttrs.addFilter(String.format("attribute = '%s'",
|
||||
"GenericContactTypes"));
|
||||
"GenericOrganizationContactTypes"));
|
||||
relAttrs.addFilter(String.format("attr_key = '%s'", contactTypeKey));
|
||||
relAttrs.addFilter(String.format("lang = '%s'", GlobalizationHelper.getNegotiatedLocale().
|
||||
getLanguage()));
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ public class SciProjectSummaryTab implements GenericOrgaUnitTab {
|
|||
final RelationAttributeCollection relAttrs =
|
||||
new RelationAttributeCollection();
|
||||
relAttrs.addFilter(String.format("attribute = '%s'",
|
||||
"GenericContactTypes"));
|
||||
"GenericOrganizationContactTypes"));
|
||||
relAttrs.addFilter(String.format("attr_key = '%s'", contactTypeKey));
|
||||
relAttrs.addFilter(String.format("lang = '%s'", GlobalizationHelper.
|
||||
getNegotiatedLocale().getLanguage()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue