Parcourir la source

improve "open in app" page

master
Felix C. Stegerman il y a 5 ans
Parent
révision
63ca419e76

+ 3
- 1
lang/main-de.json Voir le fichier

@@ -123,8 +123,10 @@
123 123
         "description": "Nichts passiert? Wir haben versucht, die Konferenz in {{app}} zu öffnen. Versuchen Sie es erneut oder treten Sie der Konferenz in {{app}} im Web bei.",
124 124
         "descriptionWithoutWeb": "Ist nichts passiert? Wir haben versucht, Ihre Besprechung in der „{{app}}“-Desktop-App zu starten.",
125 125
         "downloadApp": "App herunterladen",
126
+        "ifDoNotHaveApp": "Wenn Sie die App noch nicht haben:",
127
+        "ifHaveApp": "Wenn Sie die App bereits haben:",
128
+        "joinInApp": "An dem Meeting teilnehmen mit der App",
126 129
         "launchWebButton": "Im Web öffnen",
127
-        "openApp": "In der App fortfahren",
128 130
         "title": "Die Konferenz wird in {{app}} geöffnet...",
129 131
         "tryAgainButton": "Erneut mit der nativen Applikation versuchen"
130 132
     },

+ 3
- 1
lang/main-enGB.json Voir le fichier

@@ -120,8 +120,10 @@
120 120
         "description": "Nothing happened? We tried launching your meeting in the {{app}} desktop app. Try again or launch it in the {{app}} web app.",
121 121
         "descriptionWithoutWeb": "",
122 122
         "downloadApp": "Download the app",
123
+        "ifDoNotHaveApp": "If you don't have the app yet:",
124
+        "ifHaveApp": "If you already have the app:",
125
+        "joinInApp": "Join this meeting using the app",
123 126
         "launchWebButton": "Launch in web",
124
-        "openApp": "Continue to the app",
125 127
         "title": "Launching your meeting in {{app}}…",
126 128
         "tryAgainButton": "Try again in desktop"
127 129
     },

+ 3
- 1
lang/main-ja.json Voir le fichier

@@ -104,8 +104,10 @@
104 104
         "description": "何も起こりませんでしたか? {{app}} デスクトップアプリで会議を開始しようとしました。 再度試してみるか、{{app}} Webアプリで起動してください。",
105 105
         "descriptionWithoutWeb": "",
106 106
         "downloadApp": "アプリをダウンロードする",
107
+        "ifDoNotHaveApp": "まだアプリを持っていない場合は、",
108
+        "ifHaveApp": "すでにアプリを持っている場合は、",
109
+        "joinInApp": "アプリで会議に参加する",
107 110
         "launchWebButton": "Webで起動する",
108
-        "openApp": "アプリで続く",
109 111
         "title": "{{app}} で会議を開始する…",
110 112
         "tryAgainButton": "デスクトップでもう一度お試しください"
111 113
     },

+ 4
- 2
lang/main-nl.json Voir le fichier

@@ -113,9 +113,11 @@
113 113
         "appNotInstalled": "U hebt de mobiele app {{app}} nodig om op uw telefoon aan deze vergadering deel te nemen.",
114 114
         "description": "Gebeurt er niets? Er is geprobeerd uw vergadering te starten in de desktop-app {{app}}. Probeer het opnieuw of start de vergadering in de web-app {{app}}.",
115 115
         "descriptionWithoutWeb": "",
116
-        "downloadApp": "De app downloaden",
116
+        "downloadApp": "Download de app",
117
+        "ifDoNotHaveApp": "Als u de app nog niet heeft:",
118
+        "ifHaveApp": "Als u de app al heeft:",
119
+        "joinInApp": "Neem deel aan de vergadering met de app",
117 120
         "launchWebButton": "Starten via web",
118
-        "openApp": "Doorgaan naar de app",
119 121
         "title": "Uw vergadering wordt gestart in {{app}}…",
120 122
         "tryAgainButton": "Opnieuw proberen op desktop"
121 123
     },

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

@@ -138,8 +138,10 @@
138 138
         "description": "Nothing happened? We tried launching your meeting in the {{app}} desktop app. Try again or launch it in the {{app}} web app.",
139 139
         "descriptionWithoutWeb": "Nothing happened? We tried launching your meeting in the {{app}} desktop app.",
140 140
         "downloadApp": "Download the app",
141
+        "ifDoNotHaveApp": "If you don't have the app yet:",
142
+        "ifHaveApp": "If you already have the app:",
143
+        "joinInApp": "Join this meeting using the app",
141 144
         "launchWebButton": "Launch in web",
142
-        "openApp": "Continue to the app",
143 145
         "title": "Launching your meeting in {{app}}...",
144 146
         "tryAgainButton": "Try again in desktop"
145 147
     },

+ 16
- 10
react/features/deep-linking/components/DeepLinkingMobilePage.web.js Voir le fichier

@@ -121,24 +121,30 @@ class DeepLinkingMobilePage extends Component<Props> {
121 121
                     <p className = { `${_SNS}__text` }>
122 122
                         { t(`${_TNS}.appNotInstalled`, { app: NATIVE_APP_NAME }) }
123 123
                     </p>
124
+                    <p className = { `${_SNS}__text` }>
125
+                        { t(`${_TNS}.ifHaveApp`) }
126
+                    </p>
124 127
                     <a
125 128
                         { ...onOpenLinkProperties }
126
-                        href = { this._generateDownloadURL() }
127
-                        onClick = { this._onDownloadApp }
129
+                        className = { `${_SNS}__href` }
130
+                        href = { generateDeepLinkingURL() }
131
+                        onClick = { this._onOpenApp }
128 132
                         target = '_top'>
129
-                        <button className = { downloadButtonClassName }>
130
-                            { t(`${_TNS}.downloadApp`) }
133
+                        <button className = { `${_SNS}__button ${_SNS}__button_primary` }>
134
+                            { t(`${_TNS}.joinInApp`) }
131 135
                         </button>
132 136
                     </a>
137
+                    <p className = { `${_SNS}__text` }>
138
+                        { t(`${_TNS}.ifDoNotHaveApp`) }
139
+                    </p>
133 140
                     <a
134 141
                         { ...onOpenLinkProperties }
135
-                        className = { `${_SNS}__href` }
136
-                        href = { generateDeepLinkingURL() }
137
-                        onClick = { this._onOpenApp }
142
+                        href = { this._generateDownloadURL() }
143
+                        onClick = { this._onDownloadApp }
138 144
                         target = '_top'>
139
-                        {/* <button className = { `${_SNS}__button` }> */}
140
-                        { t(`${_TNS}.openApp`) }
141
-                        {/* </button> */}
145
+                        <button className = { downloadButtonClassName }>
146
+                            { t(`${_TNS}.downloadApp`) }
147
+                        </button>
142 148
                     </a>
143 149
                     { renderPromotionalFooter() }
144 150
                     <DialInSummary

Chargement…
Annuler
Enregistrer