summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java
diff options
context:
space:
mode:
authorMürsel Türk2020-12-31 19:34:10 +0100
committerMürsel Türk2020-12-31 19:34:10 +0100
commit2ea3a39910575c7773e8a378d25b07688aa6922b (patch)
treebe7f1cff821dbfe6effc56bceae491a17e5225ef /dozentenmodul/src/main/java
parent[client] I18n of search in description feature (diff)
downloadtutor-module-2ea3a39910575c7773e8a378d25b07688aa6922b.tar.gz
tutor-module-2ea3a39910575c7773e8a378d25b07688aa6922b.tar.xz
tutor-module-2ea3a39910575c7773e8a378d25b07688aa6922b.zip
[client] I18n of LocationSelector
Diffstat (limited to 'dozentenmodul/src/main/java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java5
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/I18n.java2
2 files changed, 4 insertions, 3 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java
index 863028f0..706a7d13 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/LocationSelector.java
@@ -26,6 +26,7 @@ import org.openslx.dozmod.gui.changemonitor.AbstractControlWrapper;
import org.openslx.dozmod.gui.changemonitor.DialogChangeMonitor;
import org.openslx.dozmod.gui.control.JCheckBoxTree.CheckChangeEventListener;
import org.openslx.dozmod.gui.helper.GridManager;
+import org.openslx.dozmod.gui.helper.I18n;
import org.openslx.dozmod.thrift.Session;
import org.openslx.dozmod.thrift.cache.MetaDataCache;
import org.openslx.thrifthelper.Comparators;
@@ -70,9 +71,9 @@ public class LocationSelector extends JPanel {
*/
public LocationSelector() {
btnLimitToLocations = new JRadioButton(
- "Veranstaltung ausschließlich in den ausgewählten Räumen anzeigen");
+ I18n.CONTROL.getString("LocationSelector.RadioButton.limitToLocations.text"));
btnPrioritizeInLocations = new JRadioButton(
- "Veranstaltung mit höherer Priorität in den ausgewählten Räumen anzeigen");
+ I18n.CONTROL.getString("LocationSelector.RadioButton.prioritizeInLocations.text"));
btnPrioritizeInLocations.setSelected(true);
grpLocationExclusive = new ButtonGroup();
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/I18n.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/I18n.java
index b69aa8d6..7c76d870 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/I18n.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/helper/I18n.java
@@ -36,7 +36,7 @@ public enum I18n {
/**
* Returns i18n value for a given key and format the output at the appropriate places for (a) given parameter(s).
- * If no key is found, return the key.
+ * If no value found for the given key, return the key.
* @param key to get value
* @param params to get formatted output
* @return value represented by key or key on error