Просмотр исходного кода

chore(typos) fix some typos

factor2
Stefan Weil 2 лет назад
Родитель
Сommit
882d343e8b
Аккаунт пользователя с таким Email не найден

+ 1
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java Просмотреть файл

@@ -206,7 +206,7 @@ public class JitsiMeetView extends FrameLayout {
206 206
         // by leaving the conference. However, React and, respectively,
207 207
         // appProperties/initialProperties are declarative expressions i.e. one
208 208
         // and the same URL will not trigger an automatic re-render in the
209
-        // JavaScript source code. The workaround implemented bellow introduces
209
+        // JavaScript source code. The workaround implemented below introduces
210 210
         // "imperativeness" in React Component props by defining a unique value
211 211
         // per setProps() invocation.
212 212
         props.putLong("timestamp", System.currentTimeMillis());

+ 1
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/RNConnectionService.java Просмотреть файл

@@ -193,7 +193,7 @@ class RNConnectionService extends ReactContextBaseJavaModule {
193 193
      * Called by the JS side to update the call's state.
194 194
      *
195 195
      * @param callUUID - the call's UUID.
196
-     * @param callState - the map which carries infor about the current call's
196
+     * @param callState - the map which carries info about the current call's
197 197
      * state. See static fields in {@link ConnectionService.ConnectionImpl}
198 198
      * prefixed with "KEY_" for the values supported by the Android
199 199
      * implementation.

+ 7
- 7
config.js Просмотреть файл

@@ -733,13 +733,13 @@ var config = {
733 733
     // Holds values related to toolbar visibility control.
734 734
     // toolbarConfig: {
735 735
     //     // Moved from interfaceConfig.INITIAL_TOOLBAR_TIMEOUT
736
-    //     // The initial numer of miliseconds for the toolbar buttons to be visible on screen.
736
+    //     // The initial number of milliseconds for the toolbar buttons to be visible on screen.
737 737
     //     initialTimeout: 20000,
738 738
     //     // Moved from interfaceConfig.TOOLBAR_TIMEOUT
739
-    //     // Number of miliseconds for the toolbar buttons to be visible on screen.
739
+    //     // Number of milliseconds for the toolbar buttons to be visible on screen.
740 740
     //     timeout: 4000,
741 741
     //     // Moved from interfaceConfig.TOOLBAR_ALWAYS_VISIBLE
742
-    //     // Whether toolbar should be always visible or should hide after x miliseconds.
742
+    //     // Whether toolbar should be always visible or should hide after x milliseconds.
743 743
     //     alwaysVisible: false,
744 744
     //     // Indicates whether the toolbar should still autohide when chat is open
745 745
     //     autoHideWhileChatIsOpen: false,
@@ -970,7 +970,7 @@ var config = {
970 970
         // rtcstatsPollInterval: 10000,
971 971
 
972 972
         // This determines if rtcstats sends the SDP to the rtcstats server or replaces
973
-        // all SDPs with an emtpy string instead.
973
+        // all SDPs with an empty string instead.
974 974
         // rtcstatsSendSdp: false,
975 975
 
976 976
         // Array of script URLs to load as lib-jitsi-meet "analytics handlers".
@@ -1065,7 +1065,7 @@ var config = {
1065 1065
     //   maxConferenceSize: 200,
1066 1066
     //
1067 1067
     //   // The maximum number of e2e ping messages per second for the whole conference to aim for.
1068
-    //   // This is used to contol the pacing of messages in order to reduce the load on the backend.
1068
+    //   // This is used to control the pacing of messages in order to reduce the load on the backend.
1069 1069
     //   maxMessagesPerSecond: 250,
1070 1070
     // },
1071 1071
 
@@ -1473,7 +1473,7 @@ var config = {
1473 1473
     //     // - chat: show the GIF as a message in chat
1474 1474
     //     // - all: all of the above. This is the default option
1475 1475
     //     displayMode: 'all',
1476
-    //     // How long the GIF should be displayed on the tile (in miliseconds).
1476
+    //     // How long the GIF should be displayed on the tile (in milliseconds).
1477 1477
     //     tileTime: 5000,
1478 1478
     // },
1479 1479
 
@@ -1483,7 +1483,7 @@ var config = {
1483 1483
     //      defaultLogLevel: 'trace',
1484 1484
     //      // Option to disable LogCollector (which stores the logs on CallStats).
1485 1485
     //      //disableLogCollector: true,
1486
-    //      // Indivual loggers are customizable.
1486
+    //      // Individual loggers are customizable.
1487 1487
     //      loggers: {
1488 1488
     //      // The following are too verbose in their logging with the default level.
1489 1489
     //      'modules/RTC/TraceablePeerConnection.js': 'info',

+ 1
- 1
ios/app/broadcast-extension/SocketConnection.swift Просмотреть файл

@@ -107,7 +107,7 @@ extension SocketConnection: StreamDelegate {
107 107
                 streamHasSpaceAvailable?()
108 108
             }
109 109
         case .errorOccurred:
110
-            print("client stream error occured: \(String(describing: aStream.streamError))")
110
+            print("client stream error occurred: \(String(describing: aStream.streamError))")
111 111
             close()
112 112
             notifyDidClose(error: aStream.streamError)
113 113
 

+ 1
- 1
lang/main-te.json Просмотреть файл

@@ -250,7 +250,7 @@
250 250
         "micNotSendingData": "మీ కంప్యూటర్ అమరికల లోనికి వెళ్ళి మైకుని అమౌనించండి, దాని ధ్వనిస్థాయిని సర్దుబాటుచేయండి",
251 251
         "micNotSendingDataTitle": "మీ కంప్యూటర్ అమరికలు మీ మైకును మౌనించాయి",
252 252
         "micPermissionDeniedError": "You have not granted permission to use your microphone. You can still join the conference but others won't hear you. Use the camera button in the address bar to fix this.",
253
-        "micTimeoutError": "Could not start audio source. Timeout occured!",
253
+        "micTimeoutError": "Could not start audio source. Timeout occurred!",
254 254
         "micUnknownError": "Cannot use microphone for an unknown reason.",
255 255
         "muteEveryoneDialog": "Are you sure you want to mute everyone? You won't be able to unmute them, but they can unmute themselves at any time.",
256 256
         "muteEveryoneElseDialog": "Once muted, you won't be able to unmute them, but they can unmute themselves at any time.",

+ 1
- 1
lang/main.json Просмотреть файл

@@ -299,7 +299,7 @@
299 299
         "micNotSendingData": "Go to your computer's settings to unmute your mic and adjust its level",
300 300
         "micNotSendingDataTitle": "Your mic is muted by your system settings",
301 301
         "micPermissionDeniedError": "You have not granted permission to use your microphone. You can still join the conference but others won't hear you. Use the camera button in the address bar to fix this.",
302
-        "micTimeoutError": "Could not start audio source. Timeout occured!",
302
+        "micTimeoutError": "Could not start audio source. Timeout occurred!",
303 303
         "micUnknownError": "Cannot use microphone for an unknown reason.",
304 304
         "moderationAudioLabel": "Allow attendees to unmute themselves",
305 305
         "moderationVideoLabel": "Allow attendees to start their video",

+ 1
- 1
react/features/base/jwt/functions.js Просмотреть файл

@@ -59,7 +59,7 @@ export function isJwtFeatureEnabled(state: Object, feature: string, ifNoToken: b
59 59
 
60 60
 /**
61 61
  * Checks whether a given timestamp is a valid UNIX timestamp in seconds.
62
- * We convert to miliseconds during the check since `Date` works with miliseconds for UNIX timestamp values.
62
+ * We convert to milliseconds during the check since `Date` works with milliseconds for UNIX timestamp values.
63 63
  *
64 64
  * @param {any} timestamp - A UNIX timestamp in seconds as stored in the jwt.
65 65
  * @returns {boolean} - Whether the timestamp is indeed a valid UNIX timestamp or not.

+ 1
- 1
react/features/base/util/uri.ts Просмотреть файл

@@ -139,7 +139,7 @@ export function getBackendSafeRoomName(room?: string): string|undefined {
139 139
     } catch (e) {
140 140
         // This can happen though if we get an unencoded string and it contains
141 141
         // some characters that look like an encoded entity, but it's not.
142
-        // But in this case we're fine goin on...
142
+        // But in this case we're fine going on...
143 143
     }
144 144
 
145 145
     // Normalize the character set.

+ 1
- 1
react/features/face-landmarks/constants.ts Просмотреть файл

@@ -38,7 +38,7 @@ export const INIT_WORKER = 'INIT_WORKER';
38 38
 export const FACE_BOX_EVENT_TYPE = 'face-box';
39 39
 
40 40
 /**
41
- * Miliseconds interval value for sending new image data to the worker.
41
+ * Milliseconds interval value for sending new image data to the worker.
42 42
  */
43 43
 export const SEND_IMAGE_INTERVAL_MS = 1000;
44 44
 

+ 1
- 1
react/features/face-landmarks/functions.js Просмотреть файл

@@ -218,7 +218,7 @@ export function getVideoObjectPosition(state: Object, id: string) {
218 218
  * Gets the video object position for a participant id.
219 219
  *
220 220
  * @param {Object} state - The redux state.
221
- * @returns {number} - Number of miliseconds for doing face detection.
221
+ * @returns {number} - Number of milliseconds for doing face detection.
222 222
  */
223 223
 export function getDetectionInterval(state: Object) {
224 224
     const { faceLandmarks } = state['features/base/config'];

+ 2
- 2
react/features/filmstrip/components/web/Thumbnail.tsx Просмотреть файл

@@ -784,7 +784,7 @@ class Thumbnail extends Component<Props, State> {
784 784
     }
785 785
 
786 786
     /**
787
-     * Cancel showing popover context menu after x miliseconds if the no. Of miliseconds is not reached yet,
787
+     * Cancel showing popover context menu after x milliseconds if the no. Of milliseconds is not reached yet,
788 788
      * or just clears the timeout.
789 789
      *
790 790
      * @returns {void}
@@ -794,7 +794,7 @@ class Thumbnail extends Component<Props, State> {
794 794
     }
795 795
 
796 796
     /**
797
-     * Cancel showing Context menu after x miliseconds if the number of miliseconds is not reached
797
+     * Cancel showing Context menu after x milliseconds if the number of milliseconds is not reached
798 798
      * before a touch move(drag), or just clears the timeout.
799 799
      *
800 800
      * @returns {void}

+ 1
- 1
react/features/large-video/components/ScreenSharePlaceholder.web.tsx Просмотреть файл

@@ -67,7 +67,7 @@ const useStyles = makeStyles((theme: Theme) => createStyles({
67 67
 }));
68 68
 
69 69
 /**
70
- * Component that displays a placehoder for when the screen is shared.
70
+ * Component that displays a placeholder for when the screen is shared.
71 71
  * * @param {Function} t - Function which translate strings.
72 72
  *
73 73
  * @returns {ReactElement}

+ 1
- 1
react/features/participants-pane/components/native/CollapsibleList.js Просмотреть файл

@@ -25,7 +25,7 @@ type Props = {
25 25
     onLongPress?: Function,
26 26
 
27 27
     /**
28
-     * Collapsable list title.
28
+     * Collapsible list title.
29 29
      */
30 30
     title: Object
31 31
 }

+ 2
- 2
react/features/stream-effects/noise-suppression/NoiseSuppressorWorklet.ts Просмотреть файл

@@ -127,7 +127,7 @@ class NoiseSuppressorWorklet extends AudioWorkletProcessor {
127 127
         }
128 128
 
129 129
         // Determine how much denoised audio is available, if the start index of denoised samples is smaller
130
-        // then _denoisedBufferLength that means a rollover occured.
130
+        // then _denoisedBufferLength that means a rollover occurred.
131 131
         let unsentDenoisedDataLength;
132 132
 
133 133
         if (this._denoisedBufferIndx > this._denoisedBufferLength) {
@@ -150,7 +150,7 @@ class NoiseSuppressorWorklet extends AudioWorkletProcessor {
150 150
             this._denoisedBufferIndx += outData.length;
151 151
         }
152 152
 
153
-        // When the end of the circular buffer has been reached, start from the beggining. By the time the index
153
+        // When the end of the circular buffer has been reached, start from the beginning. By the time the index
154 154
         // starts over, the data from the begging is stale (has already been processed) and can be safely
155 155
         // overwritten.
156 156
         if (this._denoisedBufferIndx === this._circularBufferLength) {

+ 1
- 1
react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js Просмотреть файл

@@ -89,7 +89,7 @@ export default class JitsiStreamPresenterEffect {
89 89
      * @returns {void}
90 90
      */
91 91
     _renderVideo() {
92
-        // adjust the canvas width/height on every frame incase the window has been resized.
92
+        // adjust the canvas width/height on every frame in case the window has been resized.
93 93
         const [ track ] = this._desktopStream.getVideoTracks();
94 94
         const { height, width } = track.getSettings() ?? track.getConstraints();
95 95
 

+ 1
- 1
react/features/toolbox/components/AbstractToolbarButton.js Просмотреть файл

@@ -40,7 +40,7 @@ export type Props = {
40 40
     toggled?: boolean,
41 41
 
42 42
     /**
43
-     * The color underlaying the button.
43
+     * The color underlying the button.
44 44
      */
45 45
     underlayColor?: any
46 46
 };

+ 1
- 1
react/features/toolbox/functions.web.js Просмотреть файл

@@ -126,7 +126,7 @@ export function isToolboxEnabled(state: Object) {
126 126
  * Returns the toolbar timeout from config or the default value.
127 127
  *
128 128
  * @param {Object} state - The state from the Redux store.
129
- * @returns {number} - Toolbar timeout in miliseconds.
129
+ * @returns {number} - Toolbar timeout in milliseconds.
130 130
  */
131 131
 export function getToolbarTimeout(state: Object) {
132 132
     const { toolbarConfig: { timeout } } = state['features/base/config'];

+ 1
- 0
resources/prosody-plugins/poltergeist.lib.lua Просмотреть файл

@@ -40,7 +40,7 @@ function get_presence(room, nick)
40 40
     return nil;
41 41
 end
42 42
 
43
+-- Checks for existence of a poltergeist occupant in a room.
43 44
 -- @param room the room instance where to check for the occupant
44 45
 -- @param nick the nick of the occupant
45 46
 -- @return true if occupant is found, false otherwise

+ 1
- 1
resources/prosody-plugins/token/util.lib.lua Просмотреть файл

@@ -50,7 +50,7 @@ function Util.new(module)
50 50
         conference.domain and the actual presentation of the room in that muc
51 51
         component is [subdomain]roomName@conference.domain.
52 52
         These setups relay on configuration 'muc_domain_base' which holds
53
-        the main domain and we use it to substract subdomains from the
53
+        the main domain and we use it to subtract subdomains from the
54 54
         virtual addresses.
55 55
         The following confgurations are for multidomain setups and domain name
56 56
         verification:

+ 1
- 1
twa/app/build.gradle Просмотреть файл

@@ -40,7 +40,7 @@ def twaManifest = [
40 40
     // The duration of fade out animation in milliseconds to be played when removing splash screen.
41 41
     splashScreenFadeOutDuration: 300,
42 42
     generatorApp: 'bubblewrap-cli', // Application that generated the Android Project
43
-    // The fallback strategy for when Trusted Web Activity is not avilable. Possible values are
43
+    // The fallback strategy for when Trusted Web Activity is not available. Possible values are
44 44
     // 'customtabs' and 'webview'.
45 45
     fallbackType: 'customtabs',
46 46
     enableSiteSettingsShortcut: 'true',

+ 2
- 2
webpack.config.js Просмотреть файл

@@ -109,7 +109,7 @@ function getConfig(options = {}) {
109 109
                     // Avoid loading babel.config.js, since we only use it for React Native.
110 110
                     configFile: false,
111 111
 
112
-                    // XXX The require.resolve bellow solves failures to locate the
112
+                    // XXX The require.resolve below solves failures to locate the
113 113
                     // presets when lib-jitsi-meet, for example, is npm linked in
114 114
                     // jitsi-meet.
115 115
                     plugins: [
@@ -399,7 +399,7 @@ module.exports = (_env, argv) => {
399 399
              * context as a normal window, (e.g. self/window is not defined).
400 400
              * While running a production build webpack's boilerplate code doesn't introduce any
401 401
              * audio worklet "unfriendly" code however when running the dev server, hot module replacement
402
-             * and live reload add javascript code that can't be ran by the worklet, so we explicity ignore
402
+             * and live reload add javascript code that can't be ran by the worklet, so we explicitly ignore
403 403
              * those parts with the null-loader.
404 404
              * The dev server also expects a `self` global object that's not available in the `AudioWorkletGlobalScope`,
405 405
              * so we replace it.

Загрузка…
Отмена
Сохранить