Przeglądaj źródła

Fixes wrong i18n key for somebody.

master
damencho 8 lat temu
rodzic
commit
08e1cf1b7e
2 zmienionych plików z 2 dodań i 3 usunięć
  1. 1
    1
      lang/main.json
  2. 1
    2
      modules/UI/UI.js

+ 1
- 1
lang/main.json Wyświetl plik

@@ -203,7 +203,7 @@
203 203
         "focus": "Conference focus",
204 204
         "focusFail": "__component__ not available - retry in __ms__ sec",
205 205
         "grantedTo": "Moderator rights granted to __to__!",
206
-        "grantedToUnknown": "Moderator rights granted to $t(somebody)!",
206
+        "grantedToUnknown": "Moderator rights granted to $t(notify.somebody)!",
207 207
         "muted": "You have started the conversation muted.",
208 208
         "mutedTitle": "You're muted!",
209 209
         "raisedHand": "Would like to speak."

+ 1
- 2
modules/UI/UI.js Wyświetl plik

@@ -564,8 +564,7 @@ UI.updateUserRole = user => {
564 564
     } else {
565 565
         messageHandler.notify(
566 566
             '', 'notify.somebody',
567
-            'connected', 'notify.grantedToUnknown', {}
568
-        );
567
+            'connected', 'notify.grantedToUnknown');
569 568
     }
570 569
 };
571 570
 

Ładowanie…
Anuluj
Zapisz