mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 15:13:03 +00:00
Add translation strings to recent colors component.
This commit is contained in:
@@ -9,4 +9,8 @@
|
||||
"ds.standard-title" "STANDARD"
|
||||
"ds.your-libraries-title" "YOUR LIBRARIES"
|
||||
"ds.num-elements" ["%s element"
|
||||
"%s elements"]})
|
||||
"%s elements"]
|
||||
|
||||
"ds.recent-colors" "Recent colors"
|
||||
|
||||
})
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
(:require [sablono.core :as html :refer-macros [html]]
|
||||
[rum.core :as rum]
|
||||
[cats.labs.lens :as l]
|
||||
[uxbox.locales :refer (tr)]
|
||||
[uxbox.rstore :as rs]
|
||||
[uxbox.state :as st]
|
||||
[uxbox.data.workspace :as dw]
|
||||
@@ -53,7 +54,7 @@
|
||||
colors (calculate-colors shapes)]
|
||||
(html
|
||||
[:div
|
||||
[:span "Recent colors"]
|
||||
[:span (tr "ds.recent-colors")]
|
||||
[:div.row-flex
|
||||
(for [color colors]
|
||||
[:span.color-th {:style {:background color}
|
||||
|
||||
Reference in New Issue
Block a user