Bläddra i källkod

fix(rn, chat): localize the chat button label

master
Werner Fleischer 3 år sedan
förälder
incheckning
def3c76e10
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      react/features/chat/components/native/ChatButton.js

+ 2
- 1
react/features/chat/components/native/ChatButton.js Visa fil

@@ -1,6 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import { CHAT_ENABLED, getFeatureFlag } from '../../../base/flags';
4
+import { translate } from '../../../base/i18n';
4 5
 import { IconChat, IconChatUnread } from '../../../base/icons';
5 6
 import { connect } from '../../../base/redux';
6 7
 import {
@@ -76,4 +77,4 @@ function _mapStateToProps(state, ownProps) {
76 77
     };
77 78
 }
78 79
 
79
-export default connect(_mapStateToProps)(ChatButton);
80
+export default translate(connect(_mapStateToProps)(ChatButton));

Laddar…
Avbryt
Spara