diff --git a/packages/frontend/src/components/MkDrive.vue b/packages/frontend/src/components/MkDrive.vue index 4c2a31fc10..a9717b4fb7 100644 --- a/packages/frontend/src/components/MkDrive.vue +++ b/packages/frontend/src/components/MkDrive.vue @@ -623,7 +623,7 @@ function getMenu() { type: 'label', }, { text: i18n.ts.upload, - icon: 'ph-upload ph-bold ph-lg', + icon: 'ti ti-upload', action: () => { selectLocalFile(); }, }, { text: i18n.ts.fromUrl, diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 28528a93e3..b58de09c22 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -206,7 +206,7 @@ const menu = (ev: MouseEvent) => { }); }, }, { - icon: 'ph-upload ph-bold ph-lg', + icon: 'ti ti-upload', text: i18n.ts.import, action: async () => { const file = await selectFile(ev.currentTarget ?? ev.target); diff --git a/packages/frontend/src/pages/settings/import-export.vue b/packages/frontend/src/pages/settings/import-export.vue index dd86c5a647..4122b1b6a5 100644 --- a/packages/frontend/src/pages/settings/import-export.vue +++ b/packages/frontend/src/pages/settings/import-export.vue @@ -62,11 +62,11 @@ SPDX-License-Identifier: AGPL-3.0-only - + {{ i18n.ts._exportOrImport.withReplies }} - {{ i18n.ts.import }} + {{ i18n.ts.import }} @@ -80,8 +80,8 @@ SPDX-License-Identifier: AGPL-3.0-only - - {{ i18n.ts.import }} + + {{ i18n.ts.import }} @@ -95,8 +95,8 @@ SPDX-License-Identifier: AGPL-3.0-only - - {{ i18n.ts.import }} + + {{ i18n.ts.import }} @@ -110,8 +110,8 @@ SPDX-License-Identifier: AGPL-3.0-only - - {{ i18n.ts.import }} + + {{ i18n.ts.import }} @@ -125,8 +125,8 @@ SPDX-License-Identifier: AGPL-3.0-only - - {{ i18n.ts.import }} + + {{ i18n.ts.import }} diff --git a/packages/frontend/src/scripts/select-file.ts b/packages/frontend/src/scripts/select-file.ts index 486b15dd00..9aa38178b2 100644 --- a/packages/frontend/src/scripts/select-file.ts +++ b/packages/frontend/src/scripts/select-file.ts @@ -93,7 +93,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise chooseFileFromPc(multiple, keepOriginal.value).then(files => res(files)), }, { text: i18n.ts.fromDrive, diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index cf73cd4b02..f49ac3d297 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -183,6 +183,7 @@ export function getConfig(): UserConfig { 'ti ti-trash': 'ph-trash ph-bold ph-lg', 'ti ti-id': 'ph-identification-card ph-bold ph-lg', 'ti ti-cloud': 'ph-cloud ph-bold ph-lg', + 'ti ti-upload': 'ph-upload ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'