feat: translations (wip)
This commit is contained in:
@@ -28,6 +28,7 @@ module.exports = async (localeCode) => {
|
||||
let lcObj = {}
|
||||
_.forEach(strings, row => {
|
||||
if (_.includes(row.key, '::')) { return }
|
||||
if (_.isEmpty(row.value)) { row.value = row.key }
|
||||
_.set(lcObj, row.key.replace(':', '.'), row.value)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user