Files: f9488a78d8a66bae742cb045d50658b67d4fd5a8 / translations / sync.js
401 bytesRaw
1 | const nest = require('depnest') |
2 | const merge = require('lodash/merge') |
3 | |
4 | exports.gives = nest('translations.sync.strings') |
5 | |
6 | const en = require('./en.js') |
7 | const ch = require('./ch_ma.js') |
8 | |
9 | exports.create = (api) => { |
10 | // return nest('translations.sync.strings', () => en) |
11 | return nest('translations.sync.strings', () => { |
12 | const chWithFallback = merge({}, en, ch) |
13 | return chWithFallback |
14 | }) |
15 | } |
16 | |
17 | |
18 |
Built with git-ssb-web