MCPcopy Index your code
hub / github.com/ClearURLs/Addon / translate

Function translate

core_js/log.js:159–162  ·  view source on GitHub ↗

* Translate a string with the i18n API. * * @param {string} string Name of the attribute used for localization

(string)

Source from the content-addressed store, hash-verified

157* @param {string} string Name of the attribute used for localization
158*/
159function translate(string)
160{
161 return browser.i18n.getMessage(string);
162}
163
164/**
165 * Set the text for the UI.

Callers 7

saveOnDiskFunction · 0.70
setTextFunction · 0.70
contextMenuStartFunction · 0.70
eTagFilterFunction · 0.70
watchdog.jsFile · 0.70
removeFieldsFormURLFunction · 0.50
clearUrlFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected