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:
@@ -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' });
|
||||
|
||||
Reference in New Issue
Block a user