mirror of https://github.com/logseq/logseq
chore: add translation keys
parent
2f53ab027c
commit
668849adeb
|
@ -313,7 +313,7 @@
|
|||
(let [image-src (string/replace src #"^assets://" "")]
|
||||
[:.asset-action-bar
|
||||
[:button.asset-action-btn.text-left
|
||||
{:title (if local? "Show image in folder" "Open image")
|
||||
{:title (t (if local? :asset/show-in-folder :asset/open-in-browser))
|
||||
:on-mouse-down util/stop
|
||||
:on-click (fn [e]
|
||||
(util/stop e)
|
||||
|
@ -323,7 +323,7 @@
|
|||
image-src]
|
||||
[:.flex
|
||||
[:button.asset-action-btn
|
||||
{:title "Delete image"
|
||||
{:title (t :asset/delete)
|
||||
:on-mouse-down util/stop
|
||||
:on-click
|
||||
(fn [e]
|
||||
|
@ -347,7 +347,7 @@
|
|||
(ui/icon "trash")]
|
||||
|
||||
[:button.asset-action-btn
|
||||
{:title "Copy image"
|
||||
{:title (t :asset/copy)
|
||||
:on-mouse-down util/stop
|
||||
:on-click (fn [e]
|
||||
(util/stop e)
|
||||
|
@ -355,7 +355,7 @@
|
|||
(ui/icon "copy")]
|
||||
|
||||
[:button.asset-action-btn
|
||||
{:title "Maximize image"
|
||||
{:title (t :asset/maximize)
|
||||
:on-mouse-down util/stop
|
||||
:on-click open-lightbox}
|
||||
|
||||
|
|
|
@ -131,6 +131,11 @@
|
|||
:draw/more-options "More options"
|
||||
:draw/back-to-logseq "Back to logseq"
|
||||
:text/image "Image"
|
||||
:asset/show-in-folder "Show image in folder"
|
||||
:asset/open-in-browser "Open image in browser"
|
||||
:asset/delete "Delete image"
|
||||
:asset/copy "Copy image"
|
||||
:asset/maximize "Maximize image"
|
||||
:asset/confirm-delete "Are you sure you want to delete this {1}?"
|
||||
:asset/physical-delete "Remove the file too (notice it can't be restored)"
|
||||
:content/copy "Copy"
|
||||
|
|
Loading…
Reference in New Issue