Procházet zdrojové kódy

Merge pull request #1413 from jitsi/fix-missing-translation

Fixes wrong i18n key for somebody.
j8
yanas před 8 roky
rodič
revize
6690c269ef
2 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 1
    1
      lang/main.json
  2. 1
    2
      modules/UI/UI.js

+ 1
- 1
lang/main.json Zobrazit soubor

@@ -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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit