mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 15:52:02 +00:00
Merge pull request #1009 from actuallylost/chore/typos
chore: fix all typos and misspellings
This commit is contained in:
commit
c416971d22
12 changed files with 18 additions and 18 deletions
|
|
@ -29,7 +29,7 @@ Project maintainers are responsible for enforcing this code of conduct. They can
|
||||||
## Suggestions for newbies
|
## Suggestions for newbies
|
||||||
|
|
||||||
- Contributors are welcomed to use AI models as "help" in solving issues, but you must always double check the code that you're submitting.
|
- Contributors are welcomed to use AI models as "help" in solving issues, but you must always double check the code that you're submitting.
|
||||||
- Refrain from excesive comments generated by AI.
|
- Refrain from excessive comments generated by AI.
|
||||||
- Refrain from docs generated entirely by AI.
|
- Refrain from docs generated entirely by AI.
|
||||||
- Always check what files you are committing and submitting to the PR when you are using any agent for help or an AI model.
|
- Always check what files you are committing and submitting to the PR when you are using any agent for help or an AI model.
|
||||||
- If you don't know how to tackle a problem and AI can't help you, please just ask or look in Stack Overlflow, Google, Medium etc.
|
- If you don't know how to tackle a problem and AI can't help you, please just ask or look in Stack Overlflow, Google, Medium etc.
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
@top-overlay-size: 5.25rem;
|
@top-overlay-size: 5.25rem;
|
||||||
@bottom-overlay-size: 0rem;
|
@bottom-overlay-size: 0rem;
|
||||||
@overlap-size: 3rem;
|
@overlap-size: 3rem;
|
||||||
@transparency-grandient-pad: 6rem;
|
@transparency-gradient-pad: 6rem;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--landscape-shape-ratio: 0.5625;
|
--landscape-shape-ratio: 0.5625;
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
--top-overlay-size: @top-overlay-size;
|
--top-overlay-size: @top-overlay-size;
|
||||||
--bottom-overlay-size: @bottom-overlay-size;
|
--bottom-overlay-size: @bottom-overlay-size;
|
||||||
--overlap-size: @overlap-size;
|
--overlap-size: @overlap-size;
|
||||||
--transparency-grandient-pad: @transparency-grandient-pad;
|
--transparency-gradient-pad: @transparency-gradient-pad;
|
||||||
--safe-area-inset-top: @safe-area-inset-top;
|
--safe-area-inset-top: @safe-area-inset-top;
|
||||||
--safe-area-inset-right: @safe-area-inset-right;
|
--safe-area-inset-right: @safe-area-inset-right;
|
||||||
--safe-area-inset-bottom: @safe-area-inset-bottom;
|
--safe-area-inset-bottom: @safe-area-inset-bottom;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ const FileDropProvider = ({ className, children }: Props) => {
|
||||||
.then((buffer) => {
|
.then((buffer) => {
|
||||||
listeners
|
listeners
|
||||||
.filter(([type]) => file.type ? type === file.type : isFileType(buffer, type))
|
.filter(([type]) => file.type ? type === file.type : isFileType(buffer, type))
|
||||||
.forEach(([, listerner]) => listerner(file.name, buffer));
|
.forEach(([, listener]) => listener(file.name, buffer));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
4
src/common/useNotifications.d.ts
vendored
4
src/common/useNotifications.d.ts
vendored
|
|
@ -1,2 +1,2 @@
|
||||||
declare const useNotifcations: () => Notifications;
|
declare const useNotifications: () => Notifications;
|
||||||
export = useNotifcations;
|
export = useNotifications;
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: @small) and (orientation: portait) {
|
@media only screen and (min-width: @small) and (orientation: portrait) {
|
||||||
.bottom-sheet {
|
.bottom-sheet {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ const ColorPicker = ({ className, value, onInput }) => {
|
||||||
showRGB: false,
|
showRGB: false,
|
||||||
showAlpha: true
|
showAlpha: true
|
||||||
});
|
});
|
||||||
const pickerClipboard = pickerElementRef.current.querySelector('.a-color-picker-clipbaord');
|
const pickerClipboard = pickerElementRef.current.querySelector('.a-color-picker-clipboard');
|
||||||
if (pickerClipboard instanceof HTMLElement) {
|
if (pickerClipboard instanceof HTMLElement) {
|
||||||
pickerClipboard.tabIndex = -1;
|
pickerClipboard.tabIndex = -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
box-shadow: 0 0 .2rem var(--color-surfacedark);
|
box-shadow: 0 0 .2rem var(--color-surfacedark);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.a-color-picker-clipbaord) {
|
:global(.a-color-picker-clipboard) {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright (C) 2017-2023 Smart code 203358507
|
// Copyright (C) 2017-2023 Smart code 203358507
|
||||||
|
|
||||||
const ContineWatchingItem = require('./ContinueWatchingItem');
|
const ContinueWatchingItem = require('./ContinueWatchingItem');
|
||||||
|
|
||||||
module.exports = ContineWatchingItem;
|
module.exports = ContinueWatchingItem;
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ const SubtitlesMenu = React.memo((props) => {
|
||||||
/>
|
/>
|
||||||
<Stepper
|
<Stepper
|
||||||
className={styles['stepper']}
|
className={styles['stepper']}
|
||||||
label={'PLAYER_SUBTITLES_VERTICAL_POSIITON'}
|
label={'PLAYER_SUBTITLES_VERTICAL_POSITION'}
|
||||||
value={props.selectedSubtitlesTrackId ? props.subtitlesOffset : props.selectedExtraSubtitlesTrackId ? props.extraSubtitlesOffset : null}
|
value={props.selectedSubtitlesTrackId ? props.subtitlesOffset : props.selectedExtraSubtitlesTrackId ? props.extraSubtitlesOffset : null}
|
||||||
unit={'%'}
|
unit={'%'}
|
||||||
step={1}
|
step={1}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ const AddItem = ({ onCancel, handleAddUrl }: Props) => {
|
||||||
setInputValue(target.value);
|
setInputValue(target.value);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const onSumbit = useCallback(() => {
|
const onSubmit = useCallback(() => {
|
||||||
handleAddUrl(inputValue);
|
handleAddUrl(inputValue);
|
||||||
}, [inputValue]);
|
}, [inputValue]);
|
||||||
|
|
||||||
|
|
@ -27,11 +27,11 @@ const AddItem = ({ onCancel, handleAddUrl }: Props) => {
|
||||||
className={styles['input']}
|
className={styles['input']}
|
||||||
value={inputValue}
|
value={inputValue}
|
||||||
onChange={handleValueChange}
|
onChange={handleValueChange}
|
||||||
onSubmit={onSumbit}
|
onSubmit={onSubmit}
|
||||||
placeholder={'Enter URL'}
|
placeholder={'Enter URL'}
|
||||||
/>
|
/>
|
||||||
<div className={styles['actions']}>
|
<div className={styles['actions']}>
|
||||||
<Button className={styles['add']} onClick={onSumbit}>
|
<Button className={styles['add']} onClick={onSubmit}>
|
||||||
<Icon name={'checkmark'} className={styles['icon']} />
|
<Icon name={'checkmark'} className={styles['icon']} />
|
||||||
</Button>
|
</Button>
|
||||||
<Button className={styles['cancel']} onClick={onCancel}>
|
<Button className={styles['cancel']} onClick={onCancel}>
|
||||||
|
|
|
||||||
2
src/types/models/Player.d.ts
vendored
2
src/types/models/Player.d.ts
vendored
|
|
@ -3,7 +3,7 @@ type LibraryItemPlayer = Pick<LibraryItem, '_id'> & {
|
||||||
};
|
};
|
||||||
|
|
||||||
type VideoPlayer = Video & {
|
type VideoPlayer = Video & {
|
||||||
upcomming: boolean,
|
upcoming: boolean,
|
||||||
watched: boolean,
|
watched: boolean,
|
||||||
progress: boolean | null,
|
progress: boolean | null,
|
||||||
scheduled: boolean,
|
scheduled: boolean,
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const WorkboxPlugin = require('workbox-webpack-plugin');
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
const TerserPlugin = require('terser-webpack-plugin');
|
const TerserPlugin = require('terser-webpack-plugin');
|
||||||
const WebpackPwaManifest = require('webpack-pwa-manifest');
|
const WebpackPwaManifest = require('webpack-pwa-manifest');
|
||||||
const pachageJson = require('./package.json');
|
const packageJson = require('./package.json');
|
||||||
|
|
||||||
const COMMIT_HASH = execSync('git rev-parse HEAD').toString().trim();
|
const COMMIT_HASH = execSync('git rev-parse HEAD').toString().trim();
|
||||||
|
|
||||||
|
|
@ -215,7 +215,7 @@ module.exports = (env, argv) => ({
|
||||||
...env,
|
...env,
|
||||||
SERVICE_WORKER_DISABLED: false,
|
SERVICE_WORKER_DISABLED: false,
|
||||||
DEBUG: argv.mode !== 'production',
|
DEBUG: argv.mode !== 'production',
|
||||||
VERSION: pachageJson.version,
|
VERSION: packageJson.version,
|
||||||
COMMIT_HASH
|
COMMIT_HASH
|
||||||
}),
|
}),
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue