You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 9, 2023. It is now read-only.
This will load the file for the specified language (replacing ${language} with "en" in the path) and return the value.
Note: This will load the file on each request. To have values cached, use the cp.strings module and specify a plist as a source.
| Signature | cp.strings.source.plist:context([context]) -> table | self |
| -----------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| Type | Method |
| Description | Gets or sets a context to be set for the source. This typically includes a language, which |
| Parameters |
context - A table with values which may be used by the source.
|
| Returns |
If a new context is provided, the cp.string.source is returned, otherwise the current context table is returned.