diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Dict.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Dict.java index 391ba3770e9cd520c12e357373a604e047c13a8e..adc8a2a55eb8326ace6b99470e66d3e4fdf49ad5 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Dict.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Dict.java @@ -37,6 +37,8 @@ public abstract class Dict // Can not be instantiated. } + public static final String SPRING_APPLICATION_NAME = "springApplicationName"; + public static final String APPLICATION_NAME = "applicationName"; public static final String OPENBIS_INSTANCE = "openbis_instance"; @@ -314,7 +316,7 @@ public abstract class Dict public static final String EXPERIMENT = "experiment"; public static final String EXPERIMENTS = "experiments"; - + public static final String EXPERIMENT_IDENTIFIER = "experiment_identifier"; public static final String PART_OF = "part_of"; diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java index 17b448cdef4f8984914b263ff7843d25bf49d2c4..eb37b76e1e0e9fa6305302eb74218ee9afe60809 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java @@ -17,6 +17,7 @@ package ch.systemsx.cisd.openbis.generic.client.web.client.application; import com.google.gwt.core.client.GWT; +import com.google.gwt.i18n.client.Dictionary; import ch.systemsx.cisd.openbis.generic.shared.basic.AttachmentDownloadConstants; @@ -40,7 +41,7 @@ public final class GenericConstants */ public static final String ID_PREFIX = "openbis_"; - private static final String APPLICATION_NAME = "openbis"; + private static final String APPLICATION_NAME = Dictionary.getDictionary("common").get(Dict.SPRING_APPLICATION_NAME); public static final String COMMON_SERVER_NAME = createServicePath("common"); diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/common-dictionary.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/common-dictionary.js index 85c9cf91b8e485151fa811f31fe641382cc50948..52a18e9704d4fc65a705f7e7f7258b0a945eb083 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/common-dictionary.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/common-dictionary.js @@ -7,7 +7,8 @@ entityTypes.experiment = "Experiment"; entityTypes.experiments = entityTypes.experiment + "s"; var common = { - + + springApplicationName: "openbis", applicationName: "openBIS", openbis_instance: "", footer: "openBIS (Version {0})",