Compare commits

...

4 commits

Author SHA1 Message Date
Timothy Z.
19624e1f83
Merge 39ac3eb397 into b24426250b 2026-03-11 06:00:18 +00:00
Tim
b24426250b
Merge pull request #1153 from m-dragoev/codex/i18n-key-fixes
Some checks failed
Build / build (push) Has been cancelled
fix: use valid translation keys
2026-03-08 13:23:14 +01:00
Miroslav Dragoev
cdb65a7973 fix: use valid i18n keys in player and seasons placeholder 2026-03-08 14:19:18 +02:00
Timothy Z.
39ac3eb397 fix: webpack config upgrate cross origin requests 2026-02-23 17:00:09 +02:00
3 changed files with 18 additions and 4 deletions

View file

@ -13,14 +13,14 @@ const SeasonsBarPlaceholder = ({ className }) => {
<div className={classnames(className, styles['seasons-bar-placeholder-container'])}>
<div className={styles['prev-season-button']}>
<Icon className={styles['icon']} name={'chevron-back'} />
<div className={styles['label']}>{t('SEASON_PREV')}</div>
<div className={styles['label']}>{t('PREV_SEASON')}</div>
</div>
<div className={styles['seasons-popup-label-container']}>
<div className={styles['seasons-popup-label']}>{t('SEASON_NUMBER', { season: 1 })}</div>
<Icon className={styles['seasons-popup-icon']} name={'caret-down'} />
</div>
<div className={styles['next-season-button']}>
<div className={styles['label']}>{t('SEASON_NEXT')}</div>
<div className={styles['label']}>{t('NEXT_SEASON')}</div>
<Icon className={styles['icon']} name={'chevron-forward'} />
</div>
</div>

View file

@ -46,7 +46,7 @@ const OptionsMenu = ({ className, stream, playbackDevices, extraSubtitlesTracks,
console.error(e);
toast.show({
type: 'error',
title: t('Error'),
title: t('ERROR'),
message: `${t('PLAYER_COPY_STREAM_ERROR')}: ${streamingUrl || downloadUrl}`,
timeout: 3000
});

View file

@ -224,7 +224,21 @@ module.exports = (env, argv) => ({
new WorkboxPlugin.GenerateSW({
maximumFileSizeToCacheInBytes: 20000000,
clientsClaim: true,
skipWaiting: true
skipWaiting: true,
runtimeCaching: [
{
urlPattern: /^https:\/\/.*/,
handler: 'NetworkFirst',
options: {
cacheName: 'cross-origin-requests',
networkTimeoutSeconds: 10,
expiration: {
maxEntries: 200,
maxAgeSeconds: 60 * 60,
},
},
},
],
}),
new CopyWebpackPlugin({
patterns: [