Parcourir la source

fix(PageReloadOverlay): changes text and adjusts style

j8
paweldomas il y a 8 ans
Parent
révision
a615649933

+ 1
- 0
css/main.scss Voir le fichier

@@ -38,6 +38,7 @@
38 38
 @import 'toastr';
39 39
 @import 'base';
40 40
 @import 'overlay/overlay';
41
+@import 'reload_overlay/reload_overlay';
41 42
 @import 'modals/dialog';
42 43
 @import 'modals/feedback/feedback';
43 44
 @import 'videolayout_default';

+ 17
- 0
css/reload_overlay/_reload_overlay.scss Voir le fichier

@@ -0,0 +1,17 @@
1
+.reload_overlay_title {
2
+    display: block;
3
+    font-size: 16px;
4
+    line-height: 20px;
5
+}
6
+
7
+.reload_overlay_msg {
8
+    display: block;
9
+    font-size: 12px;
10
+    line-height: 30px;
11
+}
12
+
13
+#reloadProgressBar {
14
+    width: 180px;
15
+    margin: 5px auto;
16
+}
17
+

+ 2
- 1
lang/main.json Voir le fichier

@@ -202,7 +202,8 @@
202 202
         "detectext": "Error when trying to detect desktopsharing extension.",
203 203
         "failtoinstall": "Failed to install desktop sharing extension",
204 204
         "failedpermissions": "Failed to obtain permissions to use the local microphone and/or camera.",
205
-        "conferenceReloadMsg": "Something went wrong we'll try to reload the conference in...",
205
+        "conferenceReloadTitle": "Unfortunately, something went wrong",
206
+        "conferenceReloadMsg": "We're trying to fix this",
206 207
         "conferenceReloadTimeLeft": "__seconds__ sec.",
207 208
         "maxUsersLimitReached": "The limit for maximum number of participants in the conference has been reached. The conference is full. Please try again later!",
208 209
         "lockTitle": "Lock failed",

+ 4
- 4
modules/UI/reload_overlay/PageReloadOverlay.js Voir le fichier

@@ -32,15 +32,15 @@ class PageReloadOverlayImpl extends Overlay{
32 32
      */
33 33
     _buildOverlayContent() {
34 34
         return `
35
-            <span data-i18n='dialog.serviceUnavailable' 
36
-                  class='overlay_text_small'></span>
35
+            <span data-i18n='dialog.conferenceReloadTitle' 
36
+                  class='reload_overlay_title'></span>
37 37
             <span data-i18n='dialog.conferenceReloadMsg' 
38
-                  class='overlay_text_small'></span>
38
+                  class='reload_overlay_msg'></span>
39 39
             <div>
40 40
                 <div id='reloadProgressBar' class="aui-progress-indicator">
41 41
                     <span class="aui-progress-indicator-value"></span>
42 42
                 </div>
43
-                <span id='reloadSecRemaining' class='overlay_text_small'>
43
+                <span id='reloadSecRemaining' class='reload_overlay_msg'>
44 44
                 </span>
45 45
             </div>`;
46 46
     }

Chargement…
Annuler
Enregistrer