浏览代码

fix(misc) typos

Found via `codespell -q 3 -S ./lang`
master
luz paz 4 年前
父节点
当前提交
817d54b0b9

+ 1
- 1
ios/app/src/AppDelegate.m 查看文件

51
   if ([FIRUtilities appContainsRealServiceInfoPlist]) {
51
   if ([FIRUtilities appContainsRealServiceInfoPlist]) {
52
         NSLog(@"Enabling Firebase");
52
         NSLog(@"Enabling Firebase");
53
         [FIRApp configure];
53
         [FIRApp configure];
54
-        // Crashlytics defaults to disabled wirth the FirebaseCrashlyticsCollectionEnabled Info.plist key.
54
+        // Crashlytics defaults to disabled with the FirebaseCrashlyticsCollectionEnabled Info.plist key.
55
         [[FIRCrashlytics crashlytics] setCrashlyticsCollectionEnabled:![jitsiMeet isCrashReportingDisabled]];
55
         [[FIRCrashlytics crashlytics] setCrashlyticsCollectionEnabled:![jitsiMeet isCrashReportingDisabled]];
56
     }
56
     }
57
 
57
 

+ 1
- 1
ios/ci/build-ipa.sh 查看文件

35
 
35
 
36
 echo "PR_REPO_SLUG=${PR_REPO_SLUG} PR_BRANCH=${PR_BRANCH}"
36
 echo "PR_REPO_SLUG=${PR_REPO_SLUG} PR_BRANCH=${PR_BRANCH}"
37
 
37
 
38
-# do the marge and git log
38
+# do the merge and git log
39
 
39
 
40
 if [ $PR_BRANCH != "master" ]; then
40
 if [ $PR_BRANCH != "master" ]; then
41
     echo "Will merge ${PR_REPO_SLUG}/${PR_BRANCH} into master"
41
     echo "Will merge ${PR_REPO_SLUG}/${PR_BRANCH} into master"

+ 1
- 1
ios/ci/setup-certificates.sh 查看文件

90
 security import ${CERT_DIR}/dev-key.p12 -k ios-build.keychain -P $IOS_SIGNING_CERT_PASSWORD -A
90
 security import ${CERT_DIR}/dev-key.p12 -k ios-build.keychain -P $IOS_SIGNING_CERT_PASSWORD -A
91
 
91
 
92
 echo "will set-key-partition-list"
92
 echo "will set-key-partition-list"
93
-# Fix for OS X Sierra that hungs in the codesign step
93
+# Fix for OS X Sierra that hangs in the codesign step
94
 security set-key-partition-list -S apple-tool:,apple: -s -k $ENCRYPTION_PASSWORD ios-build.keychain > /dev/null
94
 security set-key-partition-list -S apple-tool:,apple: -s -k $ENCRYPTION_PASSWORD ios-build.keychain > /dev/null
95
 echo "done set-key-partition-list"
95
 echo "done set-key-partition-list"
96
 
96
 

+ 1
- 1
ios/sdk/src/JitsiMeetView.m 查看文件

184
     // conference. However, React and, respectively,
184
     // conference. However, React and, respectively,
185
     // appProperties/initialProperties are declarative expressions i.e. one and
185
     // appProperties/initialProperties are declarative expressions i.e. one and
186
     // the same URL will not trigger an automatic re-render in the JavaScript
186
     // the same URL will not trigger an automatic re-render in the JavaScript
187
-    // source code. The workaround implemented bellow introduces imperativeness
187
+    // source code. The workaround implemented below introduces imperativeness
188
     // in React Component props by defining a unique value per invocation.
188
     // in React Component props by defining a unique value per invocation.
189
     props[@"timestamp"] = @(mach_absolute_time());
189
     props[@"timestamp"] = @(mach_absolute_time());
190
 
190
 

+ 1
- 1
ios/sdk/src/callkit/JMCallKitEmitter.swift 查看文件

76
 
76
 
77
         // Avoid mute actions ping-pong: if the mute action was caused by
77
         // Avoid mute actions ping-pong: if the mute action was caused by
78
         // the JS side (we requested a transaction) don't call the delegate
78
         // the JS side (we requested a transaction) don't call the delegate
79
-        // method. If it was called by the provder itself (when the user presses
79
+        // method. If it was called by the provider itself (when the user presses
80
         // the mute button in the CallKit view) then call the delegate method.
80
         // the mute button in the CallKit view) then call the delegate method.
81
         //
81
         //
82
         // NOTE: don't try to be clever and remove this. Been there, done that.
82
         // NOTE: don't try to be clever and remove this. Been there, done that.

+ 1
- 1
ios/sdk/src/picture-in-picture/PiPViewCoordinator.swift 查看文件

29
 /// when is presented in Picure in Picture mode.
29
 /// when is presented in Picure in Picture mode.
30
 public class PiPViewCoordinator {
30
 public class PiPViewCoordinator {
31
 
31
 
32
-    /// Limits the boundries of view position on screen when minimized
32
+    /// Limits the boundaries of view position on screen when minimized
33
     public var dragBoundInsets: UIEdgeInsets = UIEdgeInsets(top: 25,
33
     public var dragBoundInsets: UIEdgeInsets = UIEdgeInsets(top: 25,
34
                                                             left: 5,
34
                                                             left: 5,
35
                                                             bottom: 5,
35
                                                             bottom: 5,

+ 1
- 1
ios/travis-ci/build-ipa.sh 查看文件

60
 
60
 
61
 echo "PR_REPO_SLUG=${PR_REPO_SLUG} PR_BRANCH=${PR_BRANCH}"
61
 echo "PR_REPO_SLUG=${PR_REPO_SLUG} PR_BRANCH=${PR_BRANCH}"
62
 
62
 
63
-# do the marge and git log
63
+# do the merge and git log
64
 
64
 
65
 if [ $PR_BRANCH != "master" ]; then
65
 if [ $PR_BRANCH != "master" ]; then
66
     echo "Will merge ${PR_REPO_SLUG}/${PR_BRANCH} into master"
66
     echo "Will merge ${PR_REPO_SLUG}/${PR_BRANCH} into master"

+ 1
- 1
modules/API/external/external_api.js 查看文件

197
  * @param {any} value - The value to be parsed.
197
  * @param {any} value - The value to be parsed.
198
  * @returns {string|undefined} The parsed value that can be used for setting
198
  * @returns {string|undefined} The parsed value that can be used for setting
199
  * sizes through the style property. If invalid value is passed the method
199
  * sizes through the style property. If invalid value is passed the method
200
- * retuns undefined.
200
+ * returns undefined.
201
  */
201
  */
202
 function parseSizeParam(value) {
202
 function parseSizeParam(value) {
203
     let parsedValue;
203
     let parsedValue;

+ 4
- 4
modules/UI/authentication/AuthHandler.js 查看文件

63
 
63
 
64
 /**
64
 /**
65
  * Redirect the user to the token authentication service for the login to be
65
  * Redirect the user to the token authentication service for the login to be
66
- * performed. Once complete it is expected that the service wil bring the user
66
+ * performed. Once complete it is expected that the service will bring the user
67
  * back with "?jwt={the JWT token}" query parameter added.
67
  * back with "?jwt={the JWT token}" query parameter added.
68
  * @param {string} [roomName] the name of the conference room.
68
  * @param {string} [roomName] the name of the conference room.
69
  */
69
  */
76
 /**
76
 /**
77
  * Initializes 'message' listener that will wait for a JWT token to be received
77
  * Initializes 'message' listener that will wait for a JWT token to be received
78
  * from the token authentication service opened in a popup window.
78
  * from the token authentication service opened in a popup window.
79
- * @param room the name fo the conference room.
79
+ * @param room the name of the conference room.
80
  */
80
  */
81
 function initJWTTokenListener(room) {
81
 function initJWTTokenListener(room) {
82
     /**
82
     /**
108
                     roomName, APP.conference._getConferenceOptions());
108
                     roomName, APP.conference._getConferenceOptions());
109
 
109
 
110
                 // Authenticate from the new connection to get
110
                 // Authenticate from the new connection to get
111
-                // the session-ID from the focus, which wil then be used
111
+                // the session-ID from the focus, which will then be used
112
                 // to upgrade current connection's user role
112
                 // to upgrade current connection's user role
113
 
113
 
114
                 newRoom.room.moderator.authenticate()
114
                 newRoom.room.moderator.authenticate()
116
                     connection.disconnect();
116
                     connection.disconnect();
117
 
117
 
118
                     // At this point we'll have session-ID stored in
118
                     // At this point we'll have session-ID stored in
119
-                    // the settings. It wil be used in the call below
119
+                    // the settings. It will be used in the call below
120
                     // to upgrade user's role
120
                     // to upgrade user's role
121
                     room.room.moderator.authenticate()
121
                     room.room.moderator.authenticate()
122
                         .then(() => {
122
                         .then(() => {

+ 1
- 1
modules/UI/shared_video/SharedVideo.js 查看文件

498
      * Receives events for local audio mute/unmute by local user.
498
      * Receives events for local audio mute/unmute by local user.
499
      * @param muted boolena whether it is muted or not.
499
      * @param muted boolena whether it is muted or not.
500
      * @param {boolean} indicates if this mute was a result of user interaction,
500
      * @param {boolean} indicates if this mute was a result of user interaction,
501
-     * i.e. pressing the mute button or it was programatically triggerred
501
+     * i.e. pressing the mute button or it was programmatically triggered
502
      */
502
      */
503
     onLocalAudioMuted(muted, userInteraction) {
503
     onLocalAudioMuted(muted, userInteraction) {
504
         if (!this.player) {
504
         if (!this.player) {

+ 1
- 1
modules/UI/util/UIUtil.js 查看文件

37
      * @param {string} url - The redirect URL.
37
      * @param {string} url - The redirect URL.
38
      * NOTE: Currently used to redirect to 3rd party location for
38
      * NOTE: Currently used to redirect to 3rd party location for
39
      * authentication. In most cases redirectWithStoredParams action must be
39
      * authentication. In most cases redirectWithStoredParams action must be
40
-     * used instead of this method in order to preserve curent URL params.
40
+     * used instead of this method in order to preserve current URL params.
41
      */
41
      */
42
     redirect(url) {
42
     redirect(url) {
43
         window.location.href = url;
43
         window.location.href = url;

+ 3
- 3
modules/UI/videolayout/SmallVideo.js 查看文件

350
     }
350
     }
351
 
351
 
352
     /**
352
     /**
353
-     * Initalizes any browser specific properties. Currently sets the overflow
353
+     * Initializes any browser specific properties. Currently sets the overflow
354
      * property for Qt browsers on Windows to hidden, thus fixing the following
354
      * property for Qt browsers on Windows to hidden, thus fixing the following
355
      * problem:
355
      * problem:
356
      * Some browsers don't have full support of the object-fit property for the
356
      * Some browsers don't have full support of the object-fit property for the
428
     _shouldTriggerPin(event) {
428
     _shouldTriggerPin(event) {
429
         // TODO Checking the classes is a workround to allow events to bubble into
429
         // TODO Checking the classes is a workround to allow events to bubble into
430
         // the DisplayName component if it was clicked. React's synthetic events
430
         // the DisplayName component if it was clicked. React's synthetic events
431
-        // will fire after jQuery handlers execute, so stop propogation at this
431
+        // will fire after jQuery handlers execute, so stop propagation at this
432
         // point will prevent DisplayName from getting click events. This workaround
432
         // point will prevent DisplayName from getting click events. This workaround
433
-        // should be removeable once LocalVideo is a React Component because then
433
+        // should be removable once LocalVideo is a React Component because then
434
         // the components share the same eventing system.
434
         // the components share the same eventing system.
435
         const $source = $(event.target || event.srcElement);
435
         const $source = $(event.target || event.srcElement);
436
 
436
 

+ 3
- 3
modules/UI/videolayout/VideoContainer.js 查看文件

46
         videoSpaceWidth,
46
         videoSpaceWidth,
47
         videoSpaceHeight) {
47
         videoSpaceHeight) {
48
     if (videoWidth === 0 || videoHeight === 0 || videoSpaceWidth === 0 || videoSpaceHeight === 0) {
48
     if (videoWidth === 0 || videoHeight === 0 || videoSpaceWidth === 0 || videoSpaceHeight === 0) {
49
-        // Avoid NaN values caused by devision by 0.
49
+        // Avoid NaN values caused by division by 0.
50
         return [ 0, 0 ];
50
         return [ 0, 0 ];
51
     }
51
     }
52
 
52
 
94
         videoSpaceHeight,
94
         videoSpaceHeight,
95
         videoLayoutFit) {
95
         videoLayoutFit) {
96
     if (videoWidth === 0 || videoHeight === 0 || videoSpaceWidth === 0 || videoSpaceHeight === 0) {
96
     if (videoWidth === 0 || videoHeight === 0 || videoSpaceWidth === 0 || videoSpaceHeight === 0) {
97
-        // Avoid NaN values caused by devision by 0.
97
+        // Avoid NaN values caused by division by 0.
98
         return [ 0, 0 ];
98
         return [ 0, 0 ];
99
     }
99
     }
100
 
100
 
411
         const [ width, height ] = this._getVideoSize(containerWidth, containerHeight);
411
         const [ width, height ] = this._getVideoSize(containerWidth, containerHeight);
412
 
412
 
413
         if (width === 0 || height === 0) {
413
         if (width === 0 || height === 0) {
414
-            // We don't need to set 0 for width or height since the visibility is controled by the visibility css prop
414
+            // We don't need to set 0 for width or height since the visibility is controlled by the visibility css prop
415
             // on the largeVideoElementsContainer. Also if the width/height of the video element is 0 the attached
415
             // on the largeVideoElementsContainer. Also if the width/height of the video element is 0 the attached
416
             // stream won't be played. Normally if we attach a new stream we won't resize the video element until the
416
             // stream won't be played. Normally if we attach a new stream we won't resize the video element until the
417
             // stream has been played. But setting width/height to 0 will prevent the video from playing.
417
             // stream has been played. But setting width/height to 0 will prevent the video from playing.

+ 1
- 1
modules/UI/videolayout/VideoLayout.js 查看文件

596
         localVideoThumbnail && localVideoThumbnail.updateDOMLocation();
596
         localVideoThumbnail && localVideoThumbnail.updateDOMLocation();
597
         VideoLayout.resizeVideoArea();
597
         VideoLayout.resizeVideoArea();
598
 
598
 
599
-        // Rerender the thumbnails since they are dependant on the layout because of the tooltip positioning.
599
+        // Rerender the thumbnails since they are dependent on the layout because of the tooltip positioning.
600
         localVideoThumbnail && localVideoThumbnail.rerender();
600
         localVideoThumbnail && localVideoThumbnail.rerender();
601
         Object.values(remoteVideos).forEach(remoteVideoThumbnail => remoteVideoThumbnail.rerender());
601
         Object.values(remoteVideos).forEach(remoteVideoThumbnail => remoteVideoThumbnail.rerender());
602
     },
602
     },

正在加载...
取消
保存