Commit 615a3906 authored by Zolghadr, Mahan's avatar Zolghadr, Mahan
Browse files

add internationalization for edit variable dropdown menu #412

parent 904fefd2
Pipeline #15113 passed with stage
in 2 minutes and 26 seconds
......@@ -77,10 +77,8 @@ public class QuestionVariableWindow extends BaseStoreCancelWindow
private void initComponents()
{
List<String> access = new ArrayList<>();
access.add( "Frei" );
access.add( "Nutzungsvertrag" );
access.add( "Secure Data Center" );
String [] access;
access = I18N.get("QuestionVariableWindow.variable.access").split("_#_");
nameTf.withWidth( "160px" );
nameLb.withWidth( "180px" );
......@@ -88,7 +86,7 @@ public class QuestionVariableWindow extends BaseStoreCancelWindow
labelLb.withWidth( "110px" );
accessibilityLb.withWidth( "110px" );
accessibilityCb.setItems( access );
accessibilityCb.setSelectedItem( "Frei" );
accessibilityCb.setSelectedItem( access[0] );
accessibilityCb.setTextInputAllowed( false );
accessibilityCb.setEmptySelectionAllowed( false );
accessibilityCb.setWidth( "160px" );
......
......@@ -1097,6 +1097,9 @@ QuestionWindow.answer.select=Auswählen
QuestionWindow.answer.close=Schließen
QuestionWindow.add.item=Item hinzufügen
QuestionVariableWindow.variable.access=Frei_#_Nutzungsvertrag_#_Secure Data Center
......@@ -1091,3 +1091,5 @@ QuestionAnswerPanel.translate=Translate
QuestionWindow.answer.select=Select
QuestionWindow.answer.close=Close
QuestionWindow.add.item=Add item
QuestionVariableWindow.variable.access=Free_#_License agreement_#_Secure Data Center
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment