mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
🐛 Fix missing empty message on swap panel
This commit is contained in:
parent
d30dc6b34b
commit
ac6258043e
4 changed files with 17 additions and 2 deletions
|
@ -360,6 +360,10 @@
|
|||
[:span i/arrow-slide]
|
||||
[:span (:path filters)]])
|
||||
|
||||
(when (empty? items)
|
||||
[:div {:class (stl/css :component-list-empty)}
|
||||
(tr "workspace.options.component.swap.empty")])
|
||||
|
||||
(when (:listing-thumbs? filters)
|
||||
[:div {:class (stl/css :component-list)}
|
||||
(for [item groups]
|
||||
|
|
|
@ -216,6 +216,11 @@
|
|||
height: $s-16;
|
||||
}
|
||||
|
||||
.component-list-empty {
|
||||
@include titleTipography;
|
||||
margin: 0 $s-4 0 $s-8;
|
||||
}
|
||||
|
||||
.component-list {
|
||||
margin: 0 $s-4 0 $s-8;
|
||||
.component-item {
|
||||
|
|
|
@ -3641,9 +3641,12 @@ msgstr "Edit an annotation"
|
|||
msgid "workspace.options.component.main"
|
||||
msgstr "Main"
|
||||
|
||||
|
||||
msgid "workspace.options.component.swap"
|
||||
msgstr "Swap component"
|
||||
|
||||
msgid "workspace.options.component.swap.empty"
|
||||
msgstr "There are no assets in this library yet"
|
||||
|
||||
#: src/app/main/ui/workspace/sidebar/options/menus/measures.cljs
|
||||
msgid "workspace.options.constraints"
|
||||
msgstr "Constraints"
|
||||
|
|
|
@ -3706,9 +3706,12 @@ msgstr "Editar una nota"
|
|||
msgid "workspace.options.component.main"
|
||||
msgstr "Principal"
|
||||
|
||||
|
||||
msgid "workspace.options.component.swap"
|
||||
msgstr "Intercambiar componente"
|
||||
|
||||
msgid "workspace.options.component.swap.empty"
|
||||
msgstr "Aún no hay recursos en esta biblioteca"
|
||||
|
||||
#: src/app/main/ui/workspace/sidebar/options/menus/measures.cljs
|
||||
msgid "workspace.options.constraints"
|
||||
msgstr "Restricciones"
|
||||
|
|
Loading…
Add table
Reference in a new issue