Przeglądaj źródła

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

master
Werner Fleischer 3 lat temu
rodzic
commit
def3c76e10

+ 2
- 1
react/features/chat/components/native/ChatButton.js Wyświetl plik

@@ -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));

Ładowanie…
Anuluj
Zapisz