0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Add translation strings to recent colors component.

This commit is contained in:
Andrey Antukh 2016-01-24 00:52:50 +02:00
parent 9e72dbb0a0
commit 388947d485
2 changed files with 7 additions and 2 deletions

View file

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

View file

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