Commit c567eea0 authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Added round management messages to internationalization.

Task #14410
parent 445fbc22
......@@ -417,6 +417,18 @@
IMPORT_IOS_NOTIFICATION: "Ein Import kann auf iOS Geräten nicht durchgeführt werden",
IMPORT_NOT_SUPPORTED: "Der Session Import wird für Ihren Browser nicht unterstützt.",
/*Round managmenet*/
POLL_MANAGEMENT: "Abstimmungsverwaltung",
ROUND_MANAGEMENT: "Rundenverwaltung",
START_FIRST_ROUND: "Starte Runde 1",
START_SECOND_ROUND: "Starte Runde 2",
END_ROUND_IMMEDIATELY: "Runde sofort beenden",
END_ROUND: "Beenden der Abstimmungsrunde",
END_ROUND_WARNING: "Wenn die Runde beendet wird, sind keine Abstimmungen mehr möglich bis eine neue Runde gestartet wird oder die Frage manuell entsperrt wird. Möchten Sie fortfahren?",
FIRST_ROUND: "Runde 1",
SECOND_ROUND: "Runde 2",
BOTH_ROUNDS: "Runde 1/2",
/*Public pool*/
SESSIONPOOL_LEVEL: "Niveau",
SESSIONPOOL_CLONE: "Kopieren",
......@@ -932,6 +944,16 @@
IMPORT_IOS_NOTIFICATION: "An import can not be performed on iOS devices.",
IMPORT_NOT_SUPPORTED: "Session Import is not supported for your browser.",
/*Round managmenet*/
POLL_MANAGEMENT: "Polling Management",
ROUND_MANAGEMENT: "Round Management",
END_ROUND_IMMEDIATELY: "Close round immediately",
END_ROUND: "Close polling round",
END_ROUND_WARNING: "If the current polling round is closed, no more polls are possible until a new round is started or the question is unlocked manually. Would you like to continue?",
FIRST_ROUND: "Round 1",
SECOND_ROUND: "Round 2",
BOTH_ROUNDS: "Round 1/2",
/*Public pool*/
SESSIONPOOL_LEVEL: "Level",
SESSIONPOOL_CLONE: "Copy",
......
......@@ -234,13 +234,13 @@ Ext.define('ARSnova.view.speaker.QuestionStatisticChart', {
},
hidden: true,
items: [{
text: 'Round 1',
text: Messages.FIRST_ROUND,
itemId: '1'
}, {
text: 'Round 2',
text: Messages.SECOND_ROUND,
itemId: '2'
}, {
text: 'Round 1/2',
text: Messages.BOTH_ROUNDS,
itemId: '3'
}
],
......
......@@ -20,7 +20,7 @@ Ext.define('ARSnova.view.speaker.RoundManagementPanel', {
extend: 'Ext.Panel',
config: {
title: "Round-Mangement",
title: Messages.ROUND_MANAGEMENT,
iconCls: 'icon-timer',
fullscreen: true,
scrollable: {
......@@ -55,7 +55,7 @@ Ext.define('ARSnova.view.speaker.RoundManagementPanel', {
});
this.startRoundButton = Ext.create('Ext.Button', {
text: 'Erste Runde starten',
text: Messages.START_FIRST_ROUND,
style: 'margin: 0 auto;',
ui: 'confirm',
width: 220,
......@@ -68,14 +68,14 @@ Ext.define('ARSnova.view.speaker.RoundManagementPanel', {
});
this.endRoundButton = Ext.create('Ext.Button', {
text: 'Runde sofort beenden',
text: Messages.END_ROUND_IMMEDIATELY,
style: 'margin: 0 auto;',
ui: 'decline',
hidden: true,
width: 220,
scope: this,
handler: function() {
Ext.Msg.confirm('Beenden der Abstimmungsrunde', 'Wenn die Runde beendet wird, sind keine Abstimmungen mehr möglich bis eine neue Runde gestartet wird oder die Frage manuell entsperrt wird. Möchten Sie fortfahren?', function(id) {
Ext.Msg.confirm(Messages.END_ROUND, Messages.END_ROUND_WARNING, function(id) {
if(id === 'yes') {
this.countdownTimer.stop();
this.startNewPiRound();
......@@ -91,7 +91,7 @@ Ext.define('ARSnova.view.speaker.RoundManagementPanel', {
});
this.roundManagementContainer = Ext.create('Ext.form.FieldSet', {
title: 'Abstimmungsverwaltung',
title: Messages.POLL_MANAGEMENT,
cls: 'centerFormTitle',
items: [
this.countdownTimer,
......@@ -195,11 +195,11 @@ Ext.define('ARSnova.view.speaker.RoundManagementPanel', {
if(!questionObj.piRoundActive) {
if(questionObj.piRound === 1) {
if(!questionObj.piRoundFinished) {
this.startRoundButton.setText('Erste Runde starten');
this.startRoundButton.setText(Messages.START_FIRST_ROUND);
this.countdownTimer.slider.show();
this.startRoundButton.show();
} else if(questionObj.piRoundFinished) {
this.startRoundButton.setText('Zweite Runde starten');
this.startRoundButton.setText(Messages.START_SECOND_ROUND);
this.countdownTimer.slider.show();
this.startRoundButton.show();
}
......
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