1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-12 15:49:36 -05:00
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;
/**
*
*/
"embed": string;
"_chat": {
/**
*

View file

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

View file

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

View file

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

View file

@ -331,7 +331,7 @@ export function getNoteMenu(props: {
},
});
} else {
menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.genEmbedCode));
menuItems.push(getNoteEmbedCodeMenu(appearNote, i18n.ts.embed));
}
if (isSupportShare()) {
@ -489,7 +489,7 @@ export function getNoteMenu(props: {
},
});
} 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 {
menuItems.push({
icon: 'ti ti-code',
text: i18n.ts.genEmbedCode,
text: i18n.ts.embed,
type: 'parent',
children: [{
text: i18n.ts.noteOfThisUser,