From 35cb24dc84712d0d453ccb2306d29340506231b2 Mon Sep 17 00:00:00 2001 From: Mürsel Türk Date: Thu, 31 Dec 2020 18:01:04 +0100 Subject: [client] I18n of search in description feature Feature #3691 --- .../src/main/java/org/openslx/dozmod/gui/control/ImageListViewer.java | 3 ++- .../org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java | 3 ++- dozentenmodul/src/main/properties/i18n/control.properties | 1 + dozentenmodul/src/main/properties/i18n/control_de_DE.properties | 1 + dozentenmodul/src/main/properties/i18n/control_tr_TR.properties | 1 + dozentenmodul/src/main/properties/i18n/window_layout.properties | 1 + dozentenmodul/src/main/properties/i18n/window_layout_de_DE.properties | 1 + dozentenmodul/src/main/properties/i18n/window_layout_tr_TR.properties | 1 + 8 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/ImageListViewer.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/ImageListViewer.java index b013e816..3d82e2c9 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/ImageListViewer.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/control/ImageListViewer.java @@ -138,7 +138,8 @@ public class ImageListViewer extends QLabel { filterPanel.add(cboFilter); // search in description - chkSearchInDescription = new JCheckBox("Suche in Beschreibung"); + chkSearchInDescription = new JCheckBox( + I18n.CONTROL.getString("ImageListViewer.CheckBox.searchInDescription.text")); filterPanel.add(chkSearchInDescription); // Panel for itemCount diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java index 90c1b47f..42fb8a2a 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java @@ -67,7 +67,8 @@ public abstract class LectureListWindowLayout extends CompositePage { filterPanel.add(cboFilter); // search in description - chkSearchInDescription = new JCheckBox("Suche in Beschreibung"); + chkSearchInDescription = new JCheckBox( + I18n.WINDOW_LAYOUT.getString("LectureList.CheckBox.searchInDescription.text")); filterPanel.add(chkSearchInDescription); // Panel for itemCount diff --git a/dozentenmodul/src/main/properties/i18n/control.properties b/dozentenmodul/src/main/properties/i18n/control.properties index f82dc4e6..349d51be 100644 --- a/dozentenmodul/src/main/properties/i18n/control.properties +++ b/dozentenmodul/src/main/properties/i18n/control.properties @@ -71,6 +71,7 @@ ImageListViewer.FilterType.editable=Show editable only ImageListViewer.FilterType.templates=Show templates only ImageListViewer.TitledBorder.filterPanel.title=Search ImageListViewer.Label.imageCount.text=Visible: +ImageListViewer.CheckBox.searchInDescription.text=Search in Description # PersonLabel PersonLabel.Label.toolTipText=Click to send a mail to this person \ No newline at end of file diff --git a/dozentenmodul/src/main/properties/i18n/control_de_DE.properties b/dozentenmodul/src/main/properties/i18n/control_de_DE.properties index bbb24041..cf46b7c5 100644 --- a/dozentenmodul/src/main/properties/i18n/control_de_DE.properties +++ b/dozentenmodul/src/main/properties/i18n/control_de_DE.properties @@ -71,6 +71,7 @@ ImageListViewer.FilterType.editable=Nur editierbare anzeigen ImageListViewer.FilterType.templates=Nur Vorlagen zeigen ImageListViewer.TitledBorder.filterPanel.title=Suchen ImageListViewer.Label.imageCount.text=Sichtbar: +ImageListViewer.CheckBox.searchInDescription.text=Suche in Beschreibung # PersonLabel PersonLabel.Label.toolTipText=Klicken, um eine Mail an diese Person zu senden \ No newline at end of file diff --git a/dozentenmodul/src/main/properties/i18n/control_tr_TR.properties b/dozentenmodul/src/main/properties/i18n/control_tr_TR.properties index d284613a..1158685f 100644 --- a/dozentenmodul/src/main/properties/i18n/control_tr_TR.properties +++ b/dozentenmodul/src/main/properties/i18n/control_tr_TR.properties @@ -71,6 +71,7 @@ ImageListViewer.FilterType.editable=Yalnızca düzenlenebilir olanları göster ImageListViewer.FilterType.templates=Yalnızca şablonları göster ImageListViewer.TitledBorder.filterPanel.title=Arama ImageListViewer.Label.imageCount.text=Görüntülenen: +ImageListViewer.CheckBox.searchInDescription.text=Açıklamada ara # PersonLabel PersonLabel.Label.toolTipText=Bu kişiye e-posta göndermek için tıklayın \ No newline at end of file diff --git a/dozentenmodul/src/main/properties/i18n/window_layout.properties b/dozentenmodul/src/main/properties/i18n/window_layout.properties index 6590cd00..2d3db37b 100644 --- a/dozentenmodul/src/main/properties/i18n/window_layout.properties +++ b/dozentenmodul/src/main/properties/i18n/window_layout.properties @@ -163,6 +163,7 @@ LectureList.Button.deleteLecture.text=Delete LectureList.Button.deleteLecture.description=Delete Lecture LectureList.Button.switchView.text=Show VMs LectureList.Button.switchView.description=Switch +LectureList.CheckBox.searchInDescription.text=Search in Description # LocationSelectionWindowLayout LocationSelection.Label.info.text=Here you can select the rooms \ diff --git a/dozentenmodul/src/main/properties/i18n/window_layout_de_DE.properties b/dozentenmodul/src/main/properties/i18n/window_layout_de_DE.properties index 458d1f41..7ce847c5 100644 --- a/dozentenmodul/src/main/properties/i18n/window_layout_de_DE.properties +++ b/dozentenmodul/src/main/properties/i18n/window_layout_de_DE.properties @@ -163,6 +163,7 @@ LectureList.Button.deleteLecture.text=Löschen LectureList.Button.deleteLecture.description=Veranstaltung löschen LectureList.Button.switchView.text=VMs zeigen LectureList.Button.switchView.description=Wechseln +LectureList.CheckBox.searchInDescription.text=Suche in Beschreibung # LocationSelectionWindowLayout LocationSelection.Label.info.text=Hier können Sie die Räume auswählen, \ diff --git a/dozentenmodul/src/main/properties/i18n/window_layout_tr_TR.properties b/dozentenmodul/src/main/properties/i18n/window_layout_tr_TR.properties index 55a51e17..57fe904e 100644 --- a/dozentenmodul/src/main/properties/i18n/window_layout_tr_TR.properties +++ b/dozentenmodul/src/main/properties/i18n/window_layout_tr_TR.properties @@ -163,6 +163,7 @@ LectureList.Button.deleteLecture.text=Sil LectureList.Button.deleteLecture.description=Etkinliği sil LectureList.Button.switchView.text=Sanal makineleri göster LectureList.Button.switchView.description=Sanal makine görünümüne geç +LectureList.CheckBox.searchInDescription.text=Açıklamada ara # LocationSelectionWindowLayout LocationSelection.Label.info.text=Burada, bu etkinliğin görünür \ -- cgit v1.2.3-55-g7522