( language )
| 14 | }, {} ); |
| 15 | |
| 16 | export const getLanguageSettings = ( language ) => { |
| 17 | const settings = Object.assign( {}, defaultLanguageSettings ); |
| 18 | |
| 19 | if ( language in languageSettings ) { |
| 20 | Object.assign( settings, languageSettings[ language ] ); |
| 21 | } |
| 22 | |
| 23 | return settings; |
| 24 | }; |
| 25 | |
| 26 | export const languageChoices = Object.keys( languages ).reduce( ( choices, key ) => { |
| 27 | choices.push( { |
no outgoing calls
no test coverage detected