This commit is contained in:
parent
e4ceab5f6c
commit
d07552424c
|
@ -5378,6 +5378,10 @@ export interface Locale extends ILocale {
|
||||||
* 上
|
* 上
|
||||||
*/
|
*/
|
||||||
"top": string;
|
"top": string;
|
||||||
|
/**
|
||||||
|
* 埋め込み
|
||||||
|
*/
|
||||||
|
"embed": string;
|
||||||
"_chat": {
|
"_chat": {
|
||||||
/**
|
/**
|
||||||
* まだメッセージはありません
|
* まだメッセージはありません
|
||||||
|
|
|
@ -1340,6 +1340,7 @@ compress: "圧縮"
|
||||||
right: "右"
|
right: "右"
|
||||||
bottom: "下"
|
bottom: "下"
|
||||||
top: "上"
|
top: "上"
|
||||||
|
embed: "埋め込み"
|
||||||
|
|
||||||
_chat:
|
_chat:
|
||||||
noMessagesYet: "まだメッセージはありません"
|
noMessagesYet: "まだメッセージはありません"
|
||||||
|
|
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue