* Translate a string with the i18n API. * * @param {string} string Name of the attribute used for localization
(string)
| 157 | * @param {string} string Name of the attribute used for localization |
| 158 | */ |
| 159 | function translate(string) |
| 160 | { |
| 161 | return browser.i18n.getMessage(string); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Set the text for the UI. |
no outgoing calls
no test coverage detected