mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move globalize to lib
This commit is contained in:
parent
0ea5349422
commit
056d802c56
240 changed files with 328 additions and 258 deletions
|
@ -1,5 +1,5 @@
|
|||
import React, { type FC, type PropsWithChildren } from 'react';
|
||||
import globalize from '../../../scripts/globalize';
|
||||
import globalize from '../../../lib/globalize';
|
||||
import CheckBoxElement from '../../../elements/CheckBoxElement';
|
||||
|
||||
interface AccessContainerProps {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { FunctionComponent } from 'react';
|
||||
import datetime from '../../../scripts/datetime';
|
||||
import globalize from '../../../scripts/globalize';
|
||||
import globalize from '../../../lib/globalize';
|
||||
import IconButtonElement from '../../../elements/IconButtonElement';
|
||||
|
||||
type AccessScheduleListProps = {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, { FunctionComponent } from 'react';
|
||||
import globalize from '../../../scripts/globalize';
|
||||
import globalize from '../../../lib/globalize';
|
||||
|
||||
type IProps = {
|
||||
title?: string;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, { FunctionComponent } from 'react';
|
||||
import globalize from '../../../scripts/globalize';
|
||||
import globalize from '../../../lib/globalize';
|
||||
|
||||
type IProps = {
|
||||
activeTab: string;
|
||||
|
|
|
@ -2,7 +2,7 @@ import type { UserDto } from '@jellyfin/sdk/lib/generated-client';
|
|||
import React, { FunctionComponent } from 'react';
|
||||
import { formatDistanceToNow } from 'date-fns';
|
||||
import { getLocaleWithSuffix } from '../../../utils/dateFnsLocale';
|
||||
import globalize from '../../../scripts/globalize';
|
||||
import globalize from '../../../lib/globalize';
|
||||
import IconButtonElement from '../../../elements/IconButtonElement';
|
||||
import escapeHTML from 'escape-html';
|
||||
import { getDefaultBackgroundClass } from '../../cardbuilder/cardBuilderUtils';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { FunctionComponent, useCallback, useEffect, useRef } from 'react';
|
||||
import Dashboard from '../../../utils/dashboard';
|
||||
import globalize from '../../../scripts/globalize';
|
||||
import globalize from '../../../lib/globalize';
|
||||
import LibraryMenu from '../../../scripts/libraryMenu';
|
||||
import confirm from '../../confirm/confirm';
|
||||
import loading from '../../loading/loading';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue