Skip to content

Commit 7cd3468

Browse files
authored
Merge pull request #4350 from cerdo03/issues-fix-surya
issue number 2074 resolved
2 parents 2f5ba54 + 9bafc01 commit 7cd3468

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contentcuration/contentcuration/frontend/shared/views/LanguageDropdown.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@
106106
},
107107
methods: {
108108
languageText(item) {
109-
return this.$tr('languageItemText', { language: item.native_name, code: item.id });
109+
const firstNativeName = item.native_name.split(',')[0].trim();
110+
return this.$tr('languageItemText', { language: firstNativeName, code: item.id });
110111
},
111112
},
112113
$trs: {

0 commit comments

Comments
 (0)