mirror of
https://github.com/penpot/penpot.git
synced 2026-03-07 02:31:17 +00:00
🐛 Fix missing empty message on swap panel
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user