mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 17:26:46 +02:00
Start using translation strings in some parts of dashboard.
This commit is contained in:
parent
0f41481580
commit
0139a8ab58
3 changed files with 21 additions and 24 deletions
|
@ -2,6 +2,7 @@
|
|||
(:require [sablono.core :as html :refer-macros [html]]
|
||||
[rum.core :as rum]
|
||||
[cats.labs.lens :as l]
|
||||
[uxbox.locales]
|
||||
[uxbox.router :as r]
|
||||
[uxbox.rstore :as rs]
|
||||
[uxbox.state :as s]
|
||||
|
@ -34,13 +35,13 @@
|
|||
(header-link :dashboard/projects i/logo)]
|
||||
[:ul.main-nav
|
||||
[:li {:class (when projects? "current")}
|
||||
(header-link :dashboard/projects "PROJECTS")]
|
||||
(header-link :dashboard/projects #ux/tr "ds.projects")]
|
||||
[:li {:class (when elements? "current")}
|
||||
(header-link :dashboard/elements "ELEMENTS")]
|
||||
(header-link :dashboard/elements #ux/tr "ds.elements")]
|
||||
[:li {:class (when icons? "current")}
|
||||
(header-link :dashboard/icons "ICONS")]
|
||||
(header-link :dashboard/icons #ux/tr "ds.icons")]
|
||||
[:li {:class (when colors? "current")}
|
||||
(header-link :dashboard/colors "COLORS")]]
|
||||
(header-link :dashboard/colors #ux/tr "ds.colors")]]
|
||||
(ui.u/user)])))
|
||||
|
||||
(def ^:static header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue