Skip to content

Commit

Permalink
chore(changelog, codeowner): update
Browse files Browse the repository at this point in the history
  • Loading branch information
liuderchi committed Sep 20, 2021
1 parent 8b4df11 commit 2f95ad4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions lib/preference/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2f95ad4

Please sign in to comment.