0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 18:12:40 +00:00

add a few more language codes to datalist.

This commit is contained in:
Gazook89
2022-11-20 11:56:35 -06:00
parent c2d79bedb5
commit 0061040cb6

View File

@@ -247,7 +247,7 @@ const MetadataEditor = createClass({
},
renderLanguageDropdown : function(){
const langCodes = ['en', 'de', 'fr', 'ja', 'es', 'it'];
const langCodes = ['en', 'de', 'fr', 'ja', 'es', 'it', 'sv', 'ru', 'zh'];
const listLanguages = ()=>{
return _.map(langCodes.sort(), (code, index)=>{
const languageNames = new Intl.DisplayNames([code], { type: 'language' });