浏览代码

fix(misc) typos

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

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

@@ -51,7 +51,7 @@
51 51
   if ([FIRUtilities appContainsRealServiceInfoPlist]) {
52 52
         NSLog(@"Enabling Firebase");
53 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 55
         [[FIRCrashlytics crashlytics] setCrashlyticsCollectionEnabled:![jitsiMeet isCrashReportingDisabled]];
56 56
     }
57 57
 

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

@@ -35,7 +35,7 @@ fi
35 35
 
36 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 40
 if [ $PR_BRANCH != "master" ]; then
41 41
     echo "Will merge ${PR_REPO_SLUG}/${PR_BRANCH} into master"

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

@@ -90,7 +90,7 @@ echo "importing dev-key.p12"
90 90
 security import ${CERT_DIR}/dev-key.p12 -k ios-build.keychain -P $IOS_SIGNING_CERT_PASSWORD -A
91 91
 
92 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 94
 security set-key-partition-list -S apple-tool:,apple: -s -k $ENCRYPTION_PASSWORD ios-build.keychain > /dev/null
95 95
 echo "done set-key-partition-list"
96 96
 

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

@@ -184,7 +184,7 @@ static void initializeViewsMap() {
184 184
     // conference. However, React and, respectively,
185 185
     // appProperties/initialProperties are declarative expressions i.e. one and
186 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 188
     // in React Component props by defining a unique value per invocation.
189 189
     props[@"timestamp"] = @(mach_absolute_time());
190 190
 

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

@@ -76,7 +76,7 @@ internal final class JMCallKitEmitter: NSObject, CXProviderDelegate {
76 76
 
77 77
         // Avoid mute actions ping-pong: if the mute action was caused by
78 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 80
         // the mute button in the CallKit view) then call the delegate method.
81 81
         //
82 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,7 +29,7 @@ public protocol PiPViewCoordinatorDelegate: class {
29 29
 /// when is presented in Picure in Picture mode.
30 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 33
     public var dragBoundInsets: UIEdgeInsets = UIEdgeInsets(top: 25,
34 34
                                                             left: 5,
35 35
                                                             bottom: 5,

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

@@ -60,7 +60,7 @@ fi
60 60
 
61 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 65
 if [ $PR_BRANCH != "master" ]; then
66 66
     echo "Will merge ${PR_REPO_SLUG}/${PR_BRANCH} into master"

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

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

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

@@ -63,7 +63,7 @@ function doExternalAuth(room, lockPassword) {
63 63
 
64 64
 /**
65 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 67
  * back with "?jwt={the JWT token}" query parameter added.
68 68
  * @param {string} [roomName] the name of the conference room.
69 69
  */
@@ -76,7 +76,7 @@ function redirectToTokenAuthService(roomName) {
76 76
 /**
77 77
  * Initializes 'message' listener that will wait for a JWT token to be received
78 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 81
 function initJWTTokenListener(room) {
82 82
     /**
@@ -108,7 +108,7 @@ function initJWTTokenListener(room) {
108 108
                     roomName, APP.conference._getConferenceOptions());
109 109
 
110 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 112
                 // to upgrade current connection's user role
113 113
 
114 114
                 newRoom.room.moderator.authenticate()
@@ -116,7 +116,7 @@ function initJWTTokenListener(room) {
116 116
                     connection.disconnect();
117 117
 
118 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 120
                     // to upgrade user's role
121 121
                     room.room.moderator.authenticate()
122 122
                         .then(() => {

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

@@ -498,7 +498,7 @@ export default class SharedVideoManager {
498 498
      * Receives events for local audio mute/unmute by local user.
499 499
      * @param muted boolena whether it is muted or not.
500 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 503
     onLocalAudioMuted(muted, userInteraction) {
504 504
         if (!this.player) {

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

@@ -37,7 +37,7 @@ const UIUtil = {
37 37
      * @param {string} url - The redirect URL.
38 38
      * NOTE: Currently used to redirect to 3rd party location for
39 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 42
     redirect(url) {
43 43
         window.location.href = url;

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

@@ -350,7 +350,7 @@ export default class SmallVideo {
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 354
      * property for Qt browsers on Windows to hidden, thus fixing the following
355 355
      * problem:
356 356
      * Some browsers don't have full support of the object-fit property for the
@@ -428,9 +428,9 @@ export default class SmallVideo {
428 428
     _shouldTriggerPin(event) {
429 429
         // TODO Checking the classes is a workround to allow events to bubble into
430 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 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 434
         // the components share the same eventing system.
435 435
         const $source = $(event.target || event.srcElement);
436 436
 

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

@@ -46,7 +46,7 @@ function computeDesktopVideoSize( // eslint-disable-line max-params
46 46
         videoSpaceWidth,
47 47
         videoSpaceHeight) {
48 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 50
         return [ 0, 0 ];
51 51
     }
52 52
 
@@ -94,7 +94,7 @@ function computeCameraVideoSize( // eslint-disable-line max-params
94 94
         videoSpaceHeight,
95 95
         videoLayoutFit) {
96 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 98
         return [ 0, 0 ];
99 99
     }
100 100
 
@@ -411,7 +411,7 @@ export class VideoContainer extends LargeContainer {
411 411
         const [ width, height ] = this._getVideoSize(containerWidth, containerHeight);
412 412
 
413 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 415
             // on the largeVideoElementsContainer. Also if the width/height of the video element is 0 the attached
416 416
             // stream won't be played. Normally if we attach a new stream we won't resize the video element until the
417 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,7 +596,7 @@ const VideoLayout = {
596 596
         localVideoThumbnail && localVideoThumbnail.updateDOMLocation();
597 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 600
         localVideoThumbnail && localVideoThumbnail.rerender();
601 601
         Object.values(remoteVideos).forEach(remoteVideoThumbnail => remoteVideoThumbnail.rerender());
602 602
     },

正在加载...
取消
保存