* Translate a string with the i18n API. * * @param {string} string Name of the attribute used for localization
(string)
| 272 | * @param {string} string Name of the attribute used for localization |
| 273 | */ |
| 274 | function translate(string) |
| 275 | { |
| 276 | return browser.i18n.getMessage(string); |
| 277 | } |
| 278 | |
| 279 | function handleError(error) { |
| 280 | console.log(`Error: ${error}`); |
no outgoing calls
no test coverage detected