瀏覽代碼

Merge pull request #8293 from jitsi/tavram/update-jaas-rec

fix(jaas) update recording label and hide option for jaas users
master
Avram Tudor 4 年之前
父節點
當前提交
8d813a499c
No account linked to committer's email address
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 1
    0
      lang/main.json
  2. 5
    2
      react/features/recording/components/Recording/StartRecordingDialogContent.js

+ 1
- 0
lang/main.json 查看文件

@@ -601,6 +601,7 @@
601 601
         "pending": "Preparing to record the meeting...",
602 602
         "rec": "REC",
603 603
         "serviceDescription": "Your recording will be saved by the recording service",
604
+        "serviceDescriptionCloud": "Cloud recording",
604 605
         "serviceName": "Recording service",
605 606
         "signIn": "Sign in",
606 607
         "signOut": "Sign out",

+ 5
- 2
react/features/recording/components/Recording/StartRecordingDialogContent.js 查看文件

@@ -162,7 +162,9 @@ class StartRecordingDialogContent extends Component<Props> {
162 162
      * @returns {React$Component}
163 163
      */
164 164
     _renderFileSharingContent() {
165
-        if (!this.props.fileRecordingsServiceSharingEnabled) {
165
+        const { fileRecordingsServiceSharingEnabled, isVpaas } = this.props;
166
+
167
+        if (!fileRecordingsServiceSharingEnabled || isVpaas) {
166 168
             return null;
167 169
         }
168 170
 
@@ -247,6 +249,7 @@ class StartRecordingDialogContent extends Component<Props> {
247 249
                 ) : null;
248 250
 
249 251
         const icon = isVpaas ? ICON_SHARE : JITSI_LOGO;
252
+        const label = isVpaas ? t('recording.serviceDescriptionCloud') : t('recording.serviceDescription');
250 253
 
251 254
         return (
252 255
             <Container
@@ -265,7 +268,7 @@ class StartRecordingDialogContent extends Component<Props> {
265 268
                         ..._dialogStyles.text,
266 269
                         ...styles.title
267 270
                     }}>
268
-                    { t('recording.serviceDescription') }
271
+                    { label }
269 272
                 </Text>
270 273
                 { switchContent }
271 274
             </Container>

Loading…
取消
儲存