diff options
Diffstat (limited to 'client/src/assets')
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 3 | ||||
-rw-r--r-- | client/src/assets/player/translations-manager.ts | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index e9597dde1..6a6d63462 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts | |||
@@ -19,7 +19,8 @@ import './videojs-components/settings-panel' | |||
19 | import './videojs-components/settings-panel-child' | 19 | import './videojs-components/settings-panel-child' |
20 | import './videojs-components/theater-button' | 20 | import './videojs-components/theater-button' |
21 | import videojs from 'video.js' | 21 | import videojs from 'video.js' |
22 | import { isDefaultLocale, VideoFile } from '@shared/models' | 22 | import { VideoFile } from '@shared/models' |
23 | import { isDefaultLocale } from '@shared/core-utils/i18n' | ||
23 | import { RedundancyUrlManager } from './p2p-media-loader/redundancy-url-manager' | 24 | import { RedundancyUrlManager } from './p2p-media-loader/redundancy-url-manager' |
24 | import { segmentUrlBuilderFactory } from './p2p-media-loader/segment-url-builder' | 25 | import { segmentUrlBuilderFactory } from './p2p-media-loader/segment-url-builder' |
25 | import { segmentValidatorFactory } from './p2p-media-loader/segment-validator' | 26 | import { segmentValidatorFactory } from './p2p-media-loader/segment-validator' |
diff --git a/client/src/assets/player/translations-manager.ts b/client/src/assets/player/translations-manager.ts index 2bde7d6ca..631e3feba 100644 --- a/client/src/assets/player/translations-manager.ts +++ b/client/src/assets/player/translations-manager.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { getCompleteLocale, getShortLocale, is18nLocale, isDefaultLocale } from '@shared/models' | 1 | import { getCompleteLocale, getShortLocale, is18nLocale, isDefaultLocale } from '@shared/core-utils/i18n' |
2 | 2 | ||
3 | export class TranslationsManager { | 3 | export class TranslationsManager { |
4 | private static videojsLocaleCache: { [ path: string ]: any } = {} | 4 | private static videojsLocaleCache: { [ path: string ]: any } = {} |