Commit 1aba2304 authored by rinpatch's avatar rinpatch

Use native language names in the language picker

This seems more intuitive to me and is what I've seen in most other
language pickers.
parent fdfb8810
Pipeline #33339 passed with stages
in 8 minutes and 38 seconds
......@@ -61,11 +61,10 @@ export default {
methods: {
getLanguageName (code) {
const specialLanguageNames = {
'ja': 'Japanese (日本語)',
'ja_easy': 'Japanese (やさしいにほんご)',
'zh': 'Chinese (简体中文)'
'ja_easy': 'やさしいにほんご',
'zh': '简体中文'
return specialLanguageNames[code] || ISO6391.getName(code)
return specialLanguageNames[code] || ISO6391.getNativeName(code)
Markdown is supported
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