mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-13 16:34:45 +00:00
11 lines
194 B
JavaScript
11 lines
194 B
JavaScript
import find from 'lodash/find'
|
|
|
|
const helpers = {
|
|
locales: require('../../webapp/locales'),
|
|
getLangByName: name => {
|
|
return find(helpers.locales, { name })
|
|
}
|
|
}
|
|
|
|
export default helpers
|