The ScriptStrings object is returned by the DOpus.strings property. It lets you access any strings defined via string resources.
Property Name | Return Type | Description |
---|---|---|
langs |
object:Vector |
Returns a Vector of strings representing the languages that strings have been defined for. |
Method Name | Arguments | Return Type | Description |
---|---|---|---|
Get |
<string:name> |
string |
Returns the text of a string specified by name. The name must match the name used in the string resources. |
HasLanguage |
<string:language> |
bool |
Returns True if strings in the specified language are defined in the resources. |