瀏覽代碼

fix(shortcuts): reactions description translations (#13504)

* fix(shortscuts): reactions description translations

* fix lint
factor2
Gabriel Borlea 1 年之前
父節點
當前提交
ca8c055a58
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      react/features/toolbox/components/web/Toolbox.tsx

+ 2
- 2
react/features/toolbox/components/web/Toolbox.tsx 查看文件

@@ -303,7 +303,7 @@ class Toolbox extends Component<IProps> {
303 303
      * @returns {void}
304 304
      */
305 305
     componentDidMount() {
306
-        const { _toolbarButtons, t, dispatch, _reactionsEnabled, _gifsEnabled, _isSpeakerStatsDisabled } = this.props;
306
+        const { _toolbarButtons, dispatch, _reactionsEnabled, _gifsEnabled, _isSpeakerStatsDisabled } = this.props;
307 307
 
308 308
         const KEYBOARD_SHORTCUTS = [
309 309
             isToolbarButtonEnabled('videoquality', _toolbarButtons) && {
@@ -370,7 +370,7 @@ class Toolbox extends Component<IProps> {
370 370
                 return {
371 371
                     character: REACTIONS[key].shortcutChar,
372 372
                     exec: onShortcutSendReaction,
373
-                    helpDescription: t(`toolbar.reaction${key.charAt(0).toUpperCase()}${key.slice(1)}`),
373
+                    helpDescription: `toolbar.reaction${key.charAt(0).toUpperCase()}${key.slice(1)}`,
374 374
                     altKey: true
375 375
                 };
376 376
             });

Loading…
取消
儲存