Parcourir la source

fix(deep-linking): do not accept native app name as raw html

There is no need to display the native app name as
raw html.
j8
Leonard Kim il y a 5 ans
Parent
révision
1409d6fb5e

+ 2
- 7
react/features/deep-linking/components/DeepLinkingMobilePage.web.js Voir le fichier

4
 import { connect } from '../../base/redux';
4
 import { connect } from '../../base/redux';
5
 
5
 
6
 import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
6
 import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
7
-import { translate, translateToHTML } from '../../base/i18n';
7
+import { translate } from '../../base/i18n';
8
 import { Platform } from '../../base/react';
8
 import { Platform } from '../../base/react';
9
 import { DialInSummary } from '../../invite';
9
 import { DialInSummary } from '../../invite';
10
 
10
 
109
                             : null
109
                             : null
110
                     }
110
                     }
111
                     <p className = { `${_SNS}__text` }>
111
                     <p className = { `${_SNS}__text` }>
112
-                        {
113
-                            translateToHTML(
114
-                                t,
115
-                                `${_TNS}.appNotInstalled`,
116
-                                { app: NATIVE_APP_NAME })
117
-                        }
112
+                        { t(`${_TNS}.appNotInstalled`, { app: NATIVE_APP_NAME }) }
118
                     </p>
113
                     </p>
119
                     <a
114
                     <a
120
                         href = { this._generateDownloadURL() }
115
                         href = { this._generateDownloadURL() }

Chargement…
Annuler
Enregistrer