diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4969cac..0c5817d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,7 +1,7 @@ # code owner will automatically be PR reviewer for specific code # ref: https://help.github.com/articles/about-codeowners/ -* @liuderchi +* @juggernautjp @liuderchi def/ar/*.cson @AmrIKhudair @atefBB diff --git a/CHANGELOG.md b/CHANGELOG.md index d3faf80..a6d5603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.26.1 - Bug fix, chores + +- Not localized Menu Context-Menu #322 +- bump deps + ## 0.26.0 - Malay support - ms i18n #313 diff --git a/lib/preference/util.js b/lib/preference/util.js index 9d5308c..a221e3e 100644 --- a/lib/preference/util.js +++ b/lib/preference/util.js @@ -68,10 +68,9 @@ export default class PreferencesUtil { const sv = document.querySelector('.settings-view'); for (var btn of sv.querySelectorAll('.meta-controls .install-button')) { if (!this.isAlreadyLocalized(btn)) { - var version; + const version = btn.textContent.substr(9); const buttonText = btn.textContent.startsWith('Update to') - ? this.defS['control-btns'].update + - (version = btn.textContent.substr(9)) + ? this.defS['control-btns'].update + version : this.defS['control-btns'].install; this.applyTextWithOrg(btn, buttonText); }