mirror of
https://github.com/penpot/penpot.git
synced 2025-02-25 00:06:09 -05:00
🌐 Translate project title and update
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
parent
b799d26a10
commit
dcb6a66d8a
8 changed files with 11 additions and 7 deletions
|
@ -14,6 +14,7 @@
|
||||||
"%s projects"]
|
"%s projects"]
|
||||||
"ds.project-title" "Your projects"
|
"ds.project-title" "Your projects"
|
||||||
"ds.project-new" "+ New project"
|
"ds.project-new" "+ New project"
|
||||||
|
"ds.project-thumbnail.alt" "Project title"
|
||||||
|
|
||||||
"ds.ordering" "Sort by"
|
"ds.ordering" "Sort by"
|
||||||
"ds.ordering.by-name" "name"
|
"ds.ordering.by-name" "name"
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
"ds.ordering.by-creation-date" "creation date"
|
"ds.ordering.by-creation-date" "creation date"
|
||||||
"ds.search.placeholder" "Search..."
|
"ds.search.placeholder" "Search..."
|
||||||
"ds.uploaded-at" "Uploaded at %s"
|
"ds.uploaded-at" "Uploaded at %s"
|
||||||
|
"ds.updated-at" "Updated %s"
|
||||||
|
|
||||||
"ds.confirm-title" "Are you sure?"
|
"ds.confirm-title" "Are you sure?"
|
||||||
"ds.confirm-ok" "Ok"
|
"ds.confirm-ok" "Ok"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"%s projets"]
|
"%s projets"]
|
||||||
"ds.project-title" "Vos projets"
|
"ds.project-title" "Vos projets"
|
||||||
"ds.project-new" "+ Nouveau projet"
|
"ds.project-new" "+ Nouveau projet"
|
||||||
|
"ds.project-thumbnail.alt" "Titre du projet"
|
||||||
|
|
||||||
"ds.ordering" "Trier par"
|
"ds.ordering" "Trier par"
|
||||||
"ds.ordering.by-name" "nom"
|
"ds.ordering.by-name" "nom"
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
"ds.ordering.by-creation-date" "date de création"
|
"ds.ordering.by-creation-date" "date de création"
|
||||||
"ds.search.placeholder" "Rechercher..."
|
"ds.search.placeholder" "Rechercher..."
|
||||||
"ds.uploaded-at" "Mise en ligne : %s"
|
"ds.uploaded-at" "Mise en ligne : %s"
|
||||||
|
"ds.updated-at" "Mis à jour %s"
|
||||||
|
|
||||||
"ds.confirm-title" "Êtes-vous sûr ?"
|
"ds.confirm-title" "Êtes-vous sûr ?"
|
||||||
"ds.confirm-ok" "Ok"
|
"ds.confirm-ok" "Ok"
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
{:style {:background-image (str "url('" @url "')")}}]
|
{:style {:background-image (str "url('" @url "')")}}]
|
||||||
[:div.grid-item-th
|
[:div.grid-item-th
|
||||||
[:img.img-th {:src "/images/project-placeholder.svg"
|
[:img.img-th {:src "/images/project-placeholder.svg"
|
||||||
:alt "Project title"}]])))
|
:alt (tr "ds.project-thumbnail.alt")}]])))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@
|
||||||
:default-value (:name project)}]
|
:default-value (:name project)}]
|
||||||
[:h3 (:name project)])
|
[:h3 (:name project)])
|
||||||
[:span.date
|
[:span.date
|
||||||
(str "Updated " (dt/timeago (:modified-at project)))]]
|
(str (tr "ds.updated-at" (dt/timeago (:modified-at project))))]]
|
||||||
[:div.project-th-actions
|
[:div.project-th-actions
|
||||||
[:div.project-th-icon.pages
|
[:div.project-th-icon.pages
|
||||||
i/page
|
i/page
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
[uxbox.main.data.workspace :as dw]
|
[uxbox.main.data.workspace :as dw]
|
||||||
[uxbox.util.data :refer [read-string]]
|
[uxbox.util.data :refer [read-string]]
|
||||||
[uxbox.util.dom :as dom]
|
[uxbox.util.dom :as dom]
|
||||||
[uxbox.util.i18n :refer [tr]]
|
[uxbox.util.i18n :refer (tr)]
|
||||||
[rumext.alpha :as mf]
|
[rumext.alpha :as mf]
|
||||||
[uxbox.util.router :as r]
|
[uxbox.util.router :as r]
|
||||||
[uxbox.util.time :as dt]))
|
[uxbox.util.time :as dt]))
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
[rumext.core :as mx :include-macros true]
|
[rumext.core :as mx :include-macros true]
|
||||||
[uxbox.util.dom :as dom]
|
[uxbox.util.dom :as dom]
|
||||||
[uxbox.util.data :refer (read-string)]
|
[uxbox.util.data :refer (read-string)]
|
||||||
[uxbox.util.i18n :refer [tr]]))
|
[uxbox.util.i18n :refer (tr)]))
|
||||||
|
|
||||||
;; --- Refs
|
;; --- Refs
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
[uxbox.main.ui.workspace.sidebar.options.text :as options-text]
|
[uxbox.main.ui.workspace.sidebar.options.text :as options-text]
|
||||||
[uxbox.util.data :as data]
|
[uxbox.util.data :as data]
|
||||||
[uxbox.util.dom :as dom]
|
[uxbox.util.dom :as dom]
|
||||||
[uxbox.util.i18n :refer [tr]]))
|
[uxbox.util.i18n :refer (tr)]))
|
||||||
|
|
||||||
;; --- Constants
|
;; --- Constants
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
[uxbox.main.ui.workspace.colorpicker :refer [colorpicker-modal]]
|
[uxbox.main.ui.workspace.colorpicker :refer [colorpicker-modal]]
|
||||||
[uxbox.util.data :refer [parse-float]]
|
[uxbox.util.data :refer [parse-float]]
|
||||||
[uxbox.util.dom :as dom]
|
[uxbox.util.dom :as dom]
|
||||||
[uxbox.util.i18n :refer [tr]]))
|
[uxbox.util.i18n :refer (tr)]))
|
||||||
|
|
||||||
(mf/defc fill-menu
|
(mf/defc fill-menu
|
||||||
[{:keys [menu shape]}]
|
[{:keys [menu shape]}]
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
[uxbox.util.data :refer [parse-int]]
|
[uxbox.util.data :refer [parse-int]]
|
||||||
[uxbox.util.dom :as dom]
|
[uxbox.util.dom :as dom]
|
||||||
[uxbox.util.forms :as fm]
|
[uxbox.util.forms :as fm]
|
||||||
[uxbox.util.i18n :refer [tr]]
|
[uxbox.util.i18n :refer (tr)]
|
||||||
[uxbox.util.router :as r]
|
[uxbox.util.router :as r]
|
||||||
[rumext.core :as mx :include-macros true]))
|
[rumext.core :as mx :include-macros true]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue