Change copy texts and style of library dialogs

This commit is contained in:
Andrés Moya 2020-10-14 08:59:44 +02:00 committed by Andrey Antukh
parent 3e14393c97
commit 3064000a2c
5 changed files with 48 additions and 32 deletions

View file

@ -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}))))