Repository URL to install this package:
|
Version:
4.2.0 ▾
|
| .. |
| api.js |
| api.spec.js |
| diff.js |
| diff.spec.js |
| extract.js |
| extract.spec.js |
| index.js |
| index.spec.js |
| transform.js |
| transform.spec.js |
| translations.js |
| translations.spec.js |
| utils.js |
| utils.spec.js |
| README.md |
Kind: module
Get combined configuration from parameters, .oneskyrc and environment variables
Kind: static method of onesky
| Param | Type |
|---|---|
| options | object |
| options.credentials | Credentials |
| options.projectId | string |
| options.dependentProjectIds | Array.<string> |
Download all translation files for all defined languages of multiple OneSky projects
Kind: static method of onesky
| Param | Type |
|---|---|
| options | object |
| options.credentials | Credentials |
| options.projectId | string |
| options.dependentProjectIds | Array.<string> |
Upload directly the translation from the default messages defined in the source code
Kind: static method of onesky
| Param | Type |
|---|---|
| options | object |
| options.credentials | Credentials |
| options.projectId | string |
| options.dependentProjectIds | Array.<string> |
Unflatten a messages object
Kind: static method of onesky Returns: object - a hierarchical messages object
| Param | Type | Description |
|---|---|---|
| messages | object | a flat messages object |
Flatten a messages object
Kind: static method of onesky Returns: object - a flat messages object
| Param | Type | Description |
|---|---|---|
| messages | object | hierarchical object |
Legacy credentials object interface
Kind: global typedef Properties
| Name | Type |
|---|---|
| key | string |
| secret | string |