mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 15:56:11 -05:00
🌐 Element options i18n
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
parent
b3caa93e8b
commit
5d62c70cc5
4 changed files with 27 additions and 10 deletions
|
@ -125,6 +125,14 @@
|
|||
"header.align" "Align (Ctrl + A)"
|
||||
"header.view-mode" "View mode (Ctrl + P)"
|
||||
|
||||
"element.measures" "Size, position & rotation"
|
||||
"element.fill" "Fill"
|
||||
"element.stroke" "Stroke"
|
||||
"element.text" "Text"
|
||||
"element.interactions" "Interactions"
|
||||
"element.page-measures" "Page settings"
|
||||
"element.page-grid-options" "Grid settings"
|
||||
|
||||
"auth.email-or-username" "Email or Username"
|
||||
"auth.password" "Password"
|
||||
"auth.signin" "Sign in"
|
||||
|
|
|
@ -125,6 +125,14 @@
|
|||
"header.align" "Aligner (Ctrl + A)"
|
||||
"header.view-mode" "Mode visualisation (Ctrl + P)"
|
||||
|
||||
"element.measures" "Taille, position et rotation"
|
||||
"element.fill" "Fond"
|
||||
"element.stroke" "Contour"
|
||||
"element.text" "Texte"
|
||||
"element.interactions" "Interactions"
|
||||
"element.page-measures" "Paramètres de la page"
|
||||
"element.page-grid-options" "Paramètres de la grille"
|
||||
|
||||
"auth.email-or-username" "adresse email ou nom d'utilisateur"
|
||||
"auth.password" "Mot de passe"
|
||||
"auth.signin" "Se connecter"
|
||||
|
|
|
@ -41,43 +41,43 @@
|
|||
::page [::page-measures ::page-grid-options]})
|
||||
|
||||
(def ^:private +menus+
|
||||
[{:name "Size, position & rotation"
|
||||
[{:name (tr "element.measures")
|
||||
:id ::icon-measures
|
||||
:icon i/infocard
|
||||
:comp options-iconm/icon-measures-menu}
|
||||
{:name "Size, position & rotation"
|
||||
{:name (tr "element.measures")
|
||||
:id ::image-measures
|
||||
:icon i/infocard
|
||||
:comp options-imagem/image-measures-menu}
|
||||
{:name "Size, position & rotation"
|
||||
{:name (tr "element.measures")
|
||||
:id ::rect-measures
|
||||
:icon i/infocard
|
||||
:comp options-rectm/rect-measures-menu}
|
||||
{:name "Size, position & rotation"
|
||||
{:name (tr "element.measures")
|
||||
:id ::circle-measures
|
||||
:icon i/infocard
|
||||
:comp options-circlem/circle-measures-menu}
|
||||
{:name "Fill"
|
||||
{:name (tr "element.fill")
|
||||
:id ::fill
|
||||
:icon i/fill
|
||||
:comp options-fill/fill-menu}
|
||||
{:name "Stroke"
|
||||
{:name (tr "element.fill")
|
||||
:id ::stroke
|
||||
:icon i/stroke
|
||||
:comp options-stroke/stroke-menu}
|
||||
{:name "Text"
|
||||
{:name (tr "element.text")
|
||||
:id ::text
|
||||
:icon i/text
|
||||
:comp options-text/text-menu}
|
||||
{:name "Interactions"
|
||||
{:name (tr "element.interactions")
|
||||
:id ::interactions
|
||||
:icon i/action
|
||||
:comp options-interactions/interactions-menu}
|
||||
{:name "Page settings"
|
||||
{:name (tr "element.page-measures")
|
||||
:id ::page-measures
|
||||
:icon i/page
|
||||
:comp options-page/measures-menu}
|
||||
{:name "Grid settings"
|
||||
{:name (tr "element.page-grid-options")
|
||||
:id ::page-grid-options
|
||||
:icon i/grid
|
||||
:comp options-page/grid-options-menu}])
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
[uxbox.main.ui.workspace.colorpicker :refer [colorpicker-modal]]
|
||||
[uxbox.util.data :refer [parse-int]]
|
||||
[uxbox.util.dom :as dom]
|
||||
[uxbox.util.i18n :refer [tr]]
|
||||
[uxbox.util.spec :refer [color?]]))
|
||||
|
||||
(mf/defc measures-menu
|
||||
|
|
Loading…
Add table
Reference in a new issue