replaced ti-forms
This commit is contained in:
parent
cf9e5d72e0
commit
f1bfe9602e
|
@ -264,7 +264,7 @@ function onContextmenu(ev: MouseEvent) {
|
|||
},
|
||||
}, { type: 'divider' }, {
|
||||
text: i18n.ts.rename,
|
||||
icon: 'ph-textbox ph-bold ph-lg',
|
||||
icon: 'ti ti-forms',
|
||||
action: rename,
|
||||
}, { type: 'divider' }, {
|
||||
text: i18n.ts.delete,
|
||||
|
|
|
@ -634,7 +634,7 @@ function getMenu() {
|
|||
type: 'label',
|
||||
}, folder.value ? {
|
||||
text: i18n.ts.renameFolder,
|
||||
icon: 'ph-textbox ph-bold ph-lg',
|
||||
icon: 'ti ti-forms',
|
||||
action: () => { if (folder.value) renameFolder(folder.value); },
|
||||
} : undefined, folder.value ? {
|
||||
text: i18n.ts.deleteFolder,
|
||||
|
|
|
@ -137,7 +137,7 @@ function showFileMenu(file: Misskey.entities.DriveFile, ev: MouseEvent): void {
|
|||
const isImage = file.type.startsWith('image/');
|
||||
os.popupMenu([{
|
||||
text: i18n.ts.renameFile,
|
||||
icon: 'ph-textbox ph-bold ph-lg',
|
||||
icon: 'ti ti-forms',
|
||||
action: () => { rename(file); },
|
||||
}, {
|
||||
text: file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive,
|
||||
|
|
|
@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<template #label>{{ key.name }}</template>
|
||||
<template #suffix><I18n :src="i18n.ts.lastUsedAt"><template #t><MkTime :time="key.lastUsed"/></template></I18n></template>
|
||||
<div class="_buttons">
|
||||
<MkButton @click="renameKey(key)"><i class="ph-textbox ph-bold ph-lg"></i> {{ i18n.ts.rename }}</MkButton>
|
||||
<MkButton @click="renameKey(key)"><i class="ti ti-forms"></i> {{ i18n.ts.rename }}</MkButton>
|
||||
<MkButton danger @click="unregisterKey(key)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.unregister }}</MkButton>
|
||||
</div>
|
||||
</MkFolder>
|
||||
|
|
|
@ -435,7 +435,7 @@ function menu(ev: MouseEvent, profileId: string) {
|
|||
download: `${profiles.value[profileId].name}.json`,
|
||||
}, { type: 'divider' }, {
|
||||
text: ts.rename,
|
||||
icon: 'ph-textbox ph-bold ph-lg',
|
||||
icon: 'ti ti-forms',
|
||||
action: () => rename(profileId),
|
||||
}, {
|
||||
text: ts._preferencesBackups.save,
|
||||
|
|
|
@ -85,7 +85,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
|
|||
icon: 'ph-file-text ph-bold ph-lg',
|
||||
}, { type: 'divider' }, {
|
||||
text: i18n.ts.rename,
|
||||
icon: 'ph-textbox ph-bold ph-lg',
|
||||
icon: 'ti ti-forms',
|
||||
action: () => rename(file),
|
||||
}, {
|
||||
text: file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive,
|
||||
|
|
|
@ -179,6 +179,7 @@ export function getConfig(): UserConfig {
|
|||
'ti ti-folder': 'ph-folder ph-bold ph-lg',
|
||||
'ti ti-folder-plus': 'ph-folder-plus ph-bold ph-lg',
|
||||
'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
|
||||
'ti ti-forms': 'ph-textbox ph-bold ph-lg',
|
||||
},
|
||||
}),
|
||||
...process.env.NODE_ENV === 'production'
|
||||
|
|
Loading…
Reference in New Issue