summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java
diff options
context:
space:
mode:
authorMürsel Türk2020-07-07 12:03:34 +0200
committerMürsel Türk2020-07-07 12:03:34 +0200
commitcfaeb9beb9041208d8cc1657d3d22eea77ea43a7 (patch)
tree63c1c5a8779ff8aa27c9e9c501971d6caeda56aa /dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java
parent[client] Add resource bundle files for configurator classes. Update the confi... (diff)
downloadtutor-module-cfaeb9beb9041208d8cc1657d3d22eea77ea43a7.tar.gz
tutor-module-cfaeb9beb9041208d8cc1657d3d22eea77ea43a7.tar.xz
tutor-module-cfaeb9beb9041208d8cc1657d3d22eea77ea43a7.zip
[client] Add resource bundle files for control classes. Update the control classes accordingly.
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java20
1 files changed, 13 insertions, 7 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java
index 30994eae..3eb56748 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/table/NetshareTable.java
@@ -3,19 +3,25 @@ package org.openslx.dozmod.gui.control.table;
import org.openslx.bwlp.thrift.iface.NetShare;
import org.openslx.bwlp.thrift.iface.NetShareAuth;
import org.openslx.dozmod.gui.configurator.NetshareConfigurator;
+import org.openslx.dozmod.gui.helper.I18n;
import org.openslx.dozmod.thrift.Sorters;
import org.openslx.dozmod.util.FormatHelper;
@SuppressWarnings("serial")
public class NetshareTable extends CheckListTable<NetShare> {
- public static final ListTableColumn COL_NAME = new ListTableColumn("Name");
- public static final ListTableColumn COL_MOUNT = new ListTableColumn("Ziel");
- public static final ListTableColumn COL_PATH = new ListTableColumn("Pfad");
- public static final ListTableColumn COL_AUTH = new ListTableColumn("Authentifizierung",
- Sorters.netShareAuth);
- public static final ListTableColumn COL_USER = new ListTableColumn("Username");
- public static final ListTableColumn COL_PASSWORD = new ListTableColumn("Passwort");
+ public static final ListTableColumn COL_NAME = new ListTableColumn(
+ I18n.CONTROL.getString("NetShareTable.ListTableColumn.name.colName"));
+ public static final ListTableColumn COL_MOUNT = new ListTableColumn(
+ I18n.CONTROL.getString("NetShareTable.ListTableColumn.mount.colName"));
+ public static final ListTableColumn COL_PATH = new ListTableColumn(
+ I18n.CONTROL.getString("NetShareTable.ListTableColumn.path.colName"));
+ public static final ListTableColumn COL_AUTH = new ListTableColumn(
+ I18n.CONTROL.getString("NetShareTable.ListTableColumn.auth.colName"), Sorters.netShareAuth);
+ public static final ListTableColumn COL_USER = new ListTableColumn(
+ I18n.CONTROL.getString("NetShareTable.ListTableColumn.user.colName"));
+ public static final ListTableColumn COL_PASSWORD = new ListTableColumn(
+ I18n.CONTROL.getString("NetShareTable.ListTableColumn.password.colName"));
public NetshareTable() {
super(COL_NAME, COL_PATH, COL_MOUNT, COL_AUTH, COL_USER, COL_PASSWORD);