Commit 00d7f2d
committed
Bump version to 0.9.1
Fixed:
– Translations wouldn't load in Chrome 72*
---
Исправлено:
— Переводы не загружались в Chrome 72
* chrome.extension.getURL return value changed:
In Chrome 71, `chrome.extension.getURL( '_locales/{{lng}}/messages.json' )` would return
"chrome-extension://EXTENSION_ID/_locales/{{lng}}/messages.json"
In Chrome 72, it returns
"chrome-extension://EXTENSION_ID/_locales/%7B%7Blng%7D%7D/messages.json"
chrome.runtime.getURL( '_locales/{{lng}}/messages.json' ) behaves the same way in both:
"chrome-extension://EXTENSION_ID/_locales/{{lng}}/messages.json"
Since extension.getURL is deprecated, it's now replaced with runtime.getURL.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getURL
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getURL1 parent 82c497b commit 00d7f2d
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
0 commit comments