Skip to content

Commit

Permalink
* (bluefox) Better i18n support
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Oct 25, 2022
1 parent 4d70e19 commit 7860e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See here: https://github.com/ioBroker/ioBroker.vis-2-widgets-react-template
-->

## Changelog
### 0.3.4 (2022-10-25)
### **WORK IN PROGRESS**
* (bluefox) Better i18n support

### 0.3.3 (2022-10-11)
Expand Down
2 changes: 1 addition & 1 deletion src/visRxWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class visRxWidget extends React.Component {
}

static t(key) {
return I18n.t(`${visRxWidget.getI18nPrefix()}${key}`);
return I18n.t(`${this.getI18nPrefix()}${key}`);
}

static getLanguage() {
Expand Down

0 comments on commit 7860e06

Please sign in to comment.