plugin.getLocaleMsg
The 'getLocaleMsg' function retrieves a localized message by a message ID.
- Prototype: plugin.getLocaleMsg(sMsgID, sDefMsg);
- Parameters:
- sMsgID: a message ID.
- sDefMsg: specifies a default value in case that the given ID not found in the language file.
- Return Value: a localized message.
- Example: var sMsg=plugin.getLocaleMsg('Prompt.Warn.ReadonlyDb', 'Cannot modify a readonly database.');