Commit b7b4d161 authored by Zolghadr, Mahan's avatar Zolghadr, Mahan
Browse files

Internationalization for select and close buttons #409

parent 43ed24cb
......@@ -119,8 +119,8 @@ public class QuestionAnswerPanel extends CustomComponent
deleteButtonAnswer.addClickListener( this::doDeleteAnswer );
translateButtonAnswer.addClickListener( this::openAnswerTranslate );
MButton selectButton = new MButton( "Auswählen" );
MButton closeButton = new MButton( "Schließen" );
MButton selectButton = new MButton( I18N.get("QuestionWindow.answer.select") );
MButton closeButton = new MButton( I18N.get("QuestionWindow.answer.close") );
MLabel separator = new MLabel();
MHorizontalLayout answersButtonLayout = new MHorizontalLayout();
......
......@@ -971,8 +971,8 @@ public class QuestionWindow extends BaseStoreCancelWindow implements Translatabl
}
} );
MButton selectButton = new MButton( "Auswählen" );
MButton closeButton = new MButton( "Schließen" );
MButton selectButton = new MButton( I18N.get("QuestionWindow.answer.select"));
MButton closeButton = new MButton( I18N.get("QuestionWindow.answer.close") );
MLabel separator = new MLabel();
MHorizontalLayout interviewerButtonLayout = new MHorizontalLayout();
......
......@@ -1089,6 +1089,8 @@ SelectionView.menuItem.contact=Kontakt
InterviewerInstructionForm.translate=Übersetzen
QuestionAnswerPanel.translate=Übersetzen
QuestionWindow.answer.select=Auswählen
QuestionWindow.answer.close=Schließen
......
......@@ -1083,3 +1083,6 @@ SelectionView.menuItem.studyGroup=Study group
SelectionView.menuItem.contact=Contact
InterviewerInstructionForm.translate=Translate
QuestionAnswerPanel.translate=Translate
QuestionWindow.answer.select=Select
QuestionWindow.answer.close=Close
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