瀏覽代碼

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

master
Werner Fleischer 3 年之前
父節點
當前提交
def3c76e10
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      react/features/chat/components/native/ChatButton.js

+ 2
- 1
react/features/chat/components/native/ChatButton.js 查看文件

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

Loading…
取消
儲存