This commit is contained in:
syuilo 2025-04-02 19:48:32 +09:00
parent e4ceab5f6c
commit d07552424c
6 changed files with 10 additions and 5 deletions

4
locales/index.d.ts vendored
View File

@ -5378,6 +5378,10 @@ export interface Locale extends ILocale {
* *
*/ */
"top": string; "top": string;
/**
*
*/
"embed": string;
"_chat": { "_chat": {
/** /**
* *

View File

@ -1340,6 +1340,7 @@ compress: "圧縮"
right: "右" right: "右"
bottom: "下" bottom: "下"
top: "上" top: "上"
embed: "埋め込み"
_chat: _chat:
noMessagesYet: "まだメッセージはありません" noMessagesYet: "まだメッセージはありません"

View File

@ -150,7 +150,7 @@ const headerActions = computed(() => clip.value && isOwned.value ? [{
}, },
}, { }, {
icon: 'ti ti-code', icon: 'ti ti-code',
text: i18n.ts.genEmbedCode, text: i18n.ts.embed,
action: () => { action: () => {
genEmbedCode('clips', clip.value!.id); genEmbedCode('clips', clip.value!.id);
}, },

View File

@ -56,7 +56,7 @@ const headerActions = computed(() => [{
label: i18n.ts.more, label: i18n.ts.more,
handler: (ev: MouseEvent) => { handler: (ev: MouseEvent) => {
os.popupMenu([{ os.popupMenu([{
text: i18n.ts.genEmbedCode, text: i18n.ts.embed,
icon: 'ti ti-code', icon: 'ti ti-code',
action: () => { action: () => {
genEmbedCode('tags', props.tag); genEmbedCode('tags', props.tag);

View File

@ -331,7 +331,7 @@ export function getNoteMenu(props: {
}, },
}); });
} else { } else {
menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.genEmbedCode)); menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.embed));
} }
if (isSupportShare()) { if (isSupportShare()) {
@ -489,7 +489,7 @@ export function getNoteMenu(props: {
}, },
}); });
} else { } else {
menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.genEmbedCode)); menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.embed));
} }
} }

View File

@ -198,7 +198,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
} else { } else {
menuItems.push({ menuItems.push({
icon: 'ti ti-code', icon: 'ti ti-code',
text: i18n.ts.genEmbedCode, text: i18n.ts.embed,
type: 'parent', type: 'parent',
children: [{ children: [{
text: i18n.ts.noteOfThisUser, text: i18n.ts.noteOfThisUser,