Merge pull request #2774 from matakuka/language
Change the language selector to the languages' own names
This commit is contained in:
commit
deb5c5f4b3
@ -125,12 +125,12 @@ angular.module('OpenSlidesApp.core', [
|
|||||||
var current = gettextCatalog.getCurrentLanguage();
|
var current = gettextCatalog.getCurrentLanguage();
|
||||||
// Define here new languages...
|
// Define here new languages...
|
||||||
var languages = [
|
var languages = [
|
||||||
{ code: 'en', name: gettext('English') },
|
{ code: 'en', name: 'English' },
|
||||||
{ code: 'de', name: gettext('German') },
|
{ code: 'de', name: 'Deutsch' },
|
||||||
{ code: 'fr', name: gettext('French') },
|
{ code: 'fr', name: 'Français' },
|
||||||
{ code: 'es', name: gettext('Spanish') },
|
{ code: 'es', name: 'Español' },
|
||||||
{ code: 'pt', name: gettext('Portuguese') },
|
{ code: 'pt', name: 'Português' },
|
||||||
{ code: 'cs', name: gettext('Czech') },
|
{ code: 'cs', name: 'Čeština'},
|
||||||
];
|
];
|
||||||
angular.forEach(languages, function (language) {
|
angular.forEach(languages, function (language) {
|
||||||
if (language.code == current)
|
if (language.code == current)
|
||||||
|
Loading…
Reference in New Issue
Block a user