Placeholder module for translator. It is meant to be overwritten by a translator used in your app.
- Source:
Methods
(static) t(key, optionsopt) → {string}
- Source:
Meant to be replaced by a real translator in the app that consumes enketo-core
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
key |
string | Translation key |
|
options |
object |
<optional> |
Translation options object |
Returns:
Translation output
- Type
- string