Skip to content

Commit 2f95ad4

Browse files
committed
chore(changelog, codeowner): update
1 parent 8b4df11 commit 2f95ad4

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# code owner will automatically be PR reviewer for specific code
22
# ref: https://help.github.com/articles/about-codeowners/
33

4-
* @liuderchi
4+
* @juggernautjp @liuderchi
55

66
def/ar/*.cson @AmrIKhudair @atefBB
77

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.26.1 - Bug fix, chores
2+
3+
- Not localized Menu Context-Menu #322
4+
- bump deps
5+
16
## 0.26.0 - Malay support
27

38
- ms i18n #313

lib/preference/util.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ export default class PreferencesUtil {
6868
const sv = document.querySelector('.settings-view');
6969
for (var btn of sv.querySelectorAll('.meta-controls .install-button')) {
7070
if (!this.isAlreadyLocalized(btn)) {
71-
var version;
71+
const version = btn.textContent.substr(9);
7272
const buttonText = btn.textContent.startsWith('Update to')
73-
? this.defS['control-btns'].update +
74-
(version = btn.textContent.substr(9))
73+
? this.defS['control-btns'].update + version
7574
: this.defS['control-btns'].install;
7675
this.applyTextWithOrg(btn, buttonText);
7776
}

0 commit comments

Comments
 (0)