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