View | Details | Raw Unified | Return to bug 28665
Collapse All | Expand All

(-)de.po (-2 / +13 lines)
 Lines 946-957    Link Here 
946
"Benutzermenü oben rechts importieren."
946
"Benutzermenü oben rechts importieren."
947
947
948
#: umc/dialog/LoginDialog.js:395
948
#: umc/dialog/LoginDialog.js:395
949
msgid "Your Browser is outdated"
949
msgid "Your browser is outdated"
950
msgstr "Ihr Browser ist veraltet"
950
msgstr "Ihr Browser ist veraltet"
951
951
952
#: umc/dialog/LoginDialog.js:396
952
#: umc/dialog/LoginDialog.js:396
953
msgid ""
953
msgid ""
954
"Your Browser is outdated and should be updated. You may continue to use "
954
"Your browser is outdated and should be updated. You may continue to use "
955
"Univention Management Console but you may experience performance issues and "
955
"Univention Management Console but you may experience performance issues and "
956
"other problems."
956
"other problems."
957
msgstr ""
957
msgstr ""
 Lines 959-964    Link Here 
959
"Univention Management Console benutzen, aber es kann zu Geschwindigkeits- "
959
"Univention Management Console benutzen, aber es kann zu Geschwindigkeits- "
960
"und anderen Problemen kommen."
960
"und anderen Problemen kommen."
961
961
962
#: umc/dialog/LoginDialog.js:418
963
msgid "Cookies disabled"
964
msgstr "Cookies deaktiviert"
965
966
#: umc/dialog/LoginDialog.js:419
967
msgid ""
968
"Please enable cookies in your browser to use Univention Management Console."
969
msgstr ""
970
"Bitte aktivieren sie Cookies in Ihrem Browser um Univention Management Console"
971
" nutzen zu können."
972
962
#: umc/dialog/LoginDialog.js:402
973
#: umc/dialog/LoginDialog.js:402
963
msgid "Your session has been closed due to inactivity. Please login again."
974
msgid "Your session has been closed due to inactivity. Please login again."
964
msgstr ""
975
msgstr ""
(-)dialog/LoginDialog.js (-3 / +19 lines)
 Lines 74-79    Link Here 
74
74
75
		open: false,
75
		open: false,
76
76
77
		noCookieMsg: {
78
			title: _('Cookies disabled'),
79
			msg: _('Please enable cookies in your browser to use Univention Management Console.')
80
		},
81
77
		postMixInProperties: function() {
82
		postMixInProperties: function() {
78
			this.inherited(arguments);
83
			this.inherited(arguments);
79
			this._currentResult = {};
84
			this._currentResult = {};
 Lines 202-208    Link Here 
202
			// if username is specified, we need to auto fill the username
207
			// if username is specified, we need to auto fill the username
203
			if (tools.status('username')) {
208
			if (tools.status('username')) {
204
				attr.set('umcLoginUsername', 'value', tools.status('username'));
209
				attr.set('umcLoginUsername', 'value', tools.status('username'));
205
			};
210
			}
206
		},
211
		},
207
212
208
		_watchFormSubmits: function() {
213
		_watchFormSubmits: function() {
 Lines 210-215    Link Here 
210
				var form = dom.byId(name);
215
				var form = dom.byId(name);
211
				on(form, 'submit', lang.hitch(this, function(evt) {
216
				on(form, 'submit', lang.hitch(this, function(evt) {
212
					evt.preventDefault();
217
					evt.preventDefault();
218
					if (!navigator.cookieEnabled) {
219
						require(['umc/dialog'], lang.hitch(this, function(umcDialog) {
220
							umcDialog.alert(this.noCookieMsg.msg, this.noCookieMsg.title);
221
						}));
222
						return;
223
					}
213
					if (name == 'umcLoginForm') {
224
					if (name == 'umcLoginForm') {
214
						this._submitFakeForm();
225
						this._submitFakeForm();
215
					}
226
					}
 Lines 410-419    Link Here 
410
			// Chrome has no long term support version. Chromium 37 is supported through
421
			// Chrome has no long term support version. Chromium 37 is supported through
411
			// Ubuntu 12.04 LTS (2016-01-27).
422
			// Ubuntu 12.04 LTS (2016-01-27).
412
			// Apple has no long term support for safari. The latest version is 9 (2016-01-27)
423
			// Apple has no long term support for safari. The latest version is 9 (2016-01-27)
413
				title = _('Your Browser is outdated') + ((title == '') ? title : '<br>' + title);
424
				title = _('Your browser is outdated') + ((title === '') ? title : '<br>' + title);
414
				msg = _('Your Browser is outdated and should be updated. You may continue to use Univention Management Console but you may experience performance issues and other problems.') + ((msg == '') ? msg : '<br>' + msg);
425
				msg = _('Your browser is outdated and should be updated. You may continue to use Univention Management Console but you may experience performance issues and other problems.') + ((msg === '') ? msg : '<br>' + msg);
415
			}
426
			}
416
427
428
			if (!navigator.cookieEnabled) {
429
				title = this.noCookieMsg.title;
430
				msg = this.noCookieMsg.msg;
431
			}
432
417
			if (tools.status('setupGui')) {
433
			if (tools.status('setupGui')) {
418
				// user has already logged in before, show message for relogin
434
				// user has already logged in before, show message for relogin
419
				title = _('Session timeout');
435
				title = _('Session timeout');

Return to bug 28665