seek-oss-ci
released this
30 Oct 02:32
·
106 commits
to master
since this release
Minor Changes
-
161d698
#170 Thanks @jasoncheng-jora! -vocab push
andvocab pull
can support global keys mapping. When you want certain translations to use a specific/custom key in Phrase, add theglobalKey
to the structure.EXAMPLE USAGE:
// translations.json { "Hello": { "message": "Hello", "globalKey": "hello" }, "Goodbye": { "message": "Goodbye", "globalKey": "app.goodbye.label" } }
In the above example,
vocab push
will push thehello
andapp.goodbye.label
keys to Phrase.vocab pull
will pull translations from Phrase and map them to thehello
andapp.goodbye.label
keys.