mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✨ Change copy texts and style of library dialogs
This commit is contained in:
parent
3e14393c97
commit
3064000a2c
5 changed files with 48 additions and 32 deletions
|
@ -109,10 +109,12 @@
|
|||
(dom/stop-propagation event)
|
||||
(st/emit! (modal/show
|
||||
{:type :confirm
|
||||
:message (t locale "modals.add-shared-confirm.message" (:name file))
|
||||
:title (t locale "modals.add-shared-confirm.title")
|
||||
:message ""
|
||||
:title (t locale "modals.add-shared-confirm.message" (:name file))
|
||||
:hint (t locale "modals.add-shared-confirm.hint")
|
||||
:cancel-label ""
|
||||
:accept-label (t locale "modals.add-shared-confirm.accept")
|
||||
:accept-style :primary
|
||||
:on-accept add-shared}))))
|
||||
|
||||
on-del-shared
|
||||
|
@ -123,9 +125,10 @@
|
|||
(dom/stop-propagation event)
|
||||
(st/emit! (modal/show
|
||||
{:type :confirm
|
||||
:title (t locale "modals.remove-shared-confirm.title")
|
||||
:message (t locale "modals.remove-shared-confirm.message" (:name file))
|
||||
:message ""
|
||||
:title (t locale "modals.remove-shared-confirm.message" (:name file))
|
||||
:hint (t locale "modals.remove-shared-confirm.hint")
|
||||
:cancel-label ""
|
||||
:accept-label (t locale "modals.remove-shared-confirm.accept")
|
||||
:on-accept del-shared}))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue