mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 11:58:49 +01:00
🎨 Update text https://github.com/siyuan-note/siyuan/issues/11108
This commit is contained in:
parent
a5f9771e03
commit
4ee92ca6e2
6 changed files with 8 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyAsPNG": "Copy as PNG",
|
||||
"unbindBlock": "Unbind block",
|
||||
"showTitle": "Show database title",
|
||||
"fillCreated": "Default fill created time",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyAsPNG": "Copiar como PNG",
|
||||
"unbindBlock": "Desvincular bloque",
|
||||
"showTitle": "Mostrar título de la base de datos",
|
||||
"fillCreated": "Hora de creación del relleno predeterminado",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyAsPNG": "Copier en tant PNG",
|
||||
"unbindBlock": "Dissocier le bloc",
|
||||
"showTitle": "Afficher le titre de la base de données",
|
||||
"fillCreated": "Heure de création de remplissage par défaut",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyAsPNG": "複製為 PNG",
|
||||
"unbindBlock": "取消綁定區塊",
|
||||
"showTitle": "顯示資料庫標題",
|
||||
"fillCreated": "預設填滿創建時間",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyAsPNG": "复制为 PNG",
|
||||
"unbindBlock": "取消绑定块",
|
||||
"showTitle": "显示数据库标题",
|
||||
"fillCreated": "默认填充创建时间",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ import {
|
|||
hasClosestBlock,
|
||||
hasClosestByAttribute,
|
||||
hasClosestByClassName,
|
||||
hasClosestByMatchTag, hasTopClosestByClassName
|
||||
hasClosestByMatchTag,
|
||||
hasTopClosestByClassName
|
||||
} from "../protyle/util/hasClosest";
|
||||
import {MenuItem} from "./Menu";
|
||||
import {focusBlock, focusByRange, focusByWbr, getEditorRange, selectAll,} from "../protyle/util/selection";
|
||||
|
|
@ -949,7 +950,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme
|
|||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.copy + " PNG",
|
||||
label: window.siyuan.languages.copyAsPNG,
|
||||
accelerator: window.siyuan.config.keymap.editor.general.copyBlockRef.custom,
|
||||
icon: "iconImage",
|
||||
click() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue