mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
populate the language setting from the TAPi18n object
This commit is contained in:
parent
92b5ee7ceb
commit
5cfc0c6b02
1 changed files with 10 additions and 1 deletions
|
@ -157,7 +157,16 @@ settingsSchemaObject = {
|
|||
optional: true,
|
||||
autoform: {
|
||||
group: 'general',
|
||||
instructions: 'The two-letter code for the app\'s language. Defaults to "en".'
|
||||
instructions: 'The app\'s language. Defaults to English.',
|
||||
options: function () {
|
||||
var languages = _.map(TAPi18n.languages_available_for_project, function (item, key) {
|
||||
return {
|
||||
value: key,
|
||||
label: item[0]
|
||||
}
|
||||
});
|
||||
return languages
|
||||
}
|
||||
}
|
||||
},
|
||||
backgroundCSS: {
|
||||
|
|
Loading…
Add table
Reference in a new issue