mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 18:48:37 -05:00
🌐 Element options i18n
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
parent
245d2a5ee4
commit
72172a3b97
2 changed files with 12 additions and 12 deletions
|
@ -42,43 +42,43 @@
|
|||
::page [::page-measures ::page-grid-options]})
|
||||
|
||||
(def ^:private +menus+
|
||||
[{:name (tr "element.measures")
|
||||
[{:name "element.measures"
|
||||
:id ::icon-measures
|
||||
:icon i/infocard
|
||||
:comp options-iconm/icon-measures-menu}
|
||||
{:name (tr "element.measures")
|
||||
{:name "element.measures"
|
||||
:id ::image-measures
|
||||
:icon i/infocard
|
||||
:comp options-imagem/image-measures-menu}
|
||||
{:name (tr "element.measures")
|
||||
{:name "element.measures"
|
||||
:id ::rect-measures
|
||||
:icon i/infocard
|
||||
:comp options-rectm/rect-measures-menu}
|
||||
{:name (tr "element.measures")
|
||||
{:name "element.measures"
|
||||
:id ::circle-measures
|
||||
:icon i/infocard
|
||||
:comp options-circlem/circle-measures-menu}
|
||||
{:name (tr "element.fill")
|
||||
{:name "element.fill"
|
||||
:id ::fill
|
||||
:icon i/fill
|
||||
:comp options-fill/fill-menu}
|
||||
{:name (tr "element.stroke")
|
||||
{:name "element.stroke"
|
||||
:id ::stroke
|
||||
:icon i/stroke
|
||||
:comp options-stroke/stroke-menu}
|
||||
{:name (tr "element.text")
|
||||
{:name "element.text"
|
||||
:id ::text
|
||||
:icon i/text
|
||||
:comp options-text/text-menu}
|
||||
{:name (tr "element.interactions")
|
||||
{:name "element.interactions"
|
||||
:id ::interactions
|
||||
:icon i/action
|
||||
:comp options-interactions/interactions-menu}
|
||||
{:name (tr "element.page-measures")
|
||||
{:name "element.page-measures"
|
||||
:id ::page-measures
|
||||
:icon i/page
|
||||
:comp options-page/measures-menu}
|
||||
{:name (tr "element.page-grid-options")
|
||||
{:name "element.page-grid-options"
|
||||
:id ::page-grid-options
|
||||
:icon i/grid
|
||||
:comp options-page/grid-options-menu}])
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
(modal/show! colorpicker-modal props)))]
|
||||
|
||||
[:div.element-set
|
||||
[:div.element-set-title (:name menu)]
|
||||
[:div.element-set-title (tr (:name menu))]
|
||||
[:div.element-set-content
|
||||
[:span (tr "ds.name")]
|
||||
[:div.row-flex
|
||||
|
@ -126,7 +126,7 @@
|
|||
:on-change change-color}]
|
||||
(modal/show! colorpicker-modal props)))]
|
||||
[:div.element-set
|
||||
[:div.element-set-title (:name menu)]
|
||||
[:div.element-set-title (tr (:name menu))]
|
||||
[:div.element-set-content
|
||||
[:span (tr "ds.size")]
|
||||
[:div.row-flex
|
||||
|
|
Loading…
Add table
Reference in a new issue