🐛 Fix labels for teams navigation and personal files section (#11398)

This commit is contained in:
María Valderrama 2026-08-28 09:49:13 +02:00 committed by GitHub
parent 1baa8bb29f
commit cdfdbf9adc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 13 deletions

View File

@ -371,8 +371,8 @@
[:span {:class (stl/css :my-teams-icon)} [:span {:class (stl/css :my-teams-icon)}
[:> raw-svg* {:id penpot-logo-icon-subtle}]] [:> raw-svg* {:id penpot-logo-icon-subtle}]]
[:span {:class (stl/css :team-text) [:span {:class (stl/css :team-text)
:title (tr "dashboard.my-teams")} :title (tr "dashboard.other-teams")}
(tr "dashboard.my-teams")] (tr "dashboard.other-teams")]
(when (= default-team-id (:default-team-id organization)) (when (= default-team-id (:default-team-id organization))
tick-icon)] tick-icon)]
(when (seq organizations) (when (seq organizations)
@ -438,7 +438,7 @@
(when-not (contains? cf/flags :admin-console) (when-not (contains? cf/flags :admin-console)
[:span {:class (stl/css :penpot-icon)} deprecated-icon/logo-icon]) [:span {:class (stl/css :penpot-icon)} deprecated-icon/logo-icon])
[:span {:class (stl/css :team-text)} (if (contains? cf/flags :admin-console) (tr "dashboard.my-files") (tr "dashboard.your-penpot"))] [:span {:class (stl/css :team-text)} (if (contains? cf/flags :admin-console) (tr "dashboard.personal-projects") (tr "dashboard.your-penpot"))]
(when (= default-team-id (:id team)) (when (= default-team-id (:id team))
tick-icon)] tick-icon)]
@ -835,7 +835,7 @@
[:span {:class (stl/css :my-teams-icon-xxxl)} [:span {:class (stl/css :my-teams-icon-xxxl)}
[:> raw-svg* {:id penpot-logo-icon-subtle}]] [:> raw-svg* {:id penpot-logo-icon-subtle}]]
[:span {:class (stl/css :team-text)} [:span {:class (stl/css :team-text)}
(tr "dashboard.my-teams")]] (tr "dashboard.other-teams")]]
[:* [:*
[:> organization-avatar* {:organization current-organization :size "xxxl"}] [:> organization-avatar* {:organization current-organization :size "xxxl"}]
[:span {:class (stl/css :team-text)} [:span {:class (stl/css :team-text)}
@ -972,7 +972,7 @@
:team-name-no-logo nitrate?)} :team-name-no-logo nitrate?)}
(when-not nitrate? (when-not nitrate?
[:span {:class (stl/css :penpot-icon)} deprecated-icon/logo-icon]) [:span {:class (stl/css :penpot-icon)} deprecated-icon/logo-icon])
[:span {:class (stl/css :team-text)} (if nitrate? (tr "dashboard.my-files") (tr "dashboard.default-team-name"))]] [:span {:class (stl/css :team-text)} (if nitrate? (tr "dashboard.personal-projects") (tr "dashboard.default-team-name"))]]
(and (contains? cf/flags :subscriptions) (and (contains? cf/flags :subscriptions)
(not is-default?) (not is-default?)

View File

@ -875,8 +875,8 @@ msgid "dashboard.move-to-other-team"
msgstr "Move to other team" msgstr "Move to other team"
#: src/app/main/ui/dashboard/sidebar.cljs:348, src/app/main/ui/dashboard/sidebar.cljs:349, src/app/main/ui/dashboard/sidebar.cljs:761 #: src/app/main/ui/dashboard/sidebar.cljs:348, src/app/main/ui/dashboard/sidebar.cljs:349, src/app/main/ui/dashboard/sidebar.cljs:761
msgid "dashboard.my-teams" msgid "dashboard.other-teams"
msgstr "My Teams" msgstr "Other teams"
#: src/app/main/ui/dashboard/files.cljs:106, src/app/main/ui/dashboard/projects.cljs:253, src/app/main/ui/dashboard/projects.cljs:254 #: src/app/main/ui/dashboard/files.cljs:106, src/app/main/ui/dashboard/projects.cljs:253, src/app/main/ui/dashboard/projects.cljs:254
msgid "dashboard.new-file" msgid "dashboard.new-file"
@ -1440,8 +1440,8 @@ msgstr "Your name"
msgid "dashboard.your-penpot" msgid "dashboard.your-penpot"
msgstr "Your Penpot" msgstr "Your Penpot"
msgid "dashboard.my-files" msgid "dashboard.personal-projects"
msgstr "My Files" msgstr "Personal Projects"
#: src/app/main/ui/alert.cljs:36 #: src/app/main/ui/alert.cljs:36
msgid "ds.alert-ok" msgid "ds.alert-ok"

View File

@ -879,8 +879,8 @@ msgid "dashboard.move-to-other-team"
msgstr "Mover a otro equipo" msgstr "Mover a otro equipo"
#: src/app/main/ui/dashboard/sidebar.cljs:348, src/app/main/ui/dashboard/sidebar.cljs:349, src/app/main/ui/dashboard/sidebar.cljs:761 #: src/app/main/ui/dashboard/sidebar.cljs:348, src/app/main/ui/dashboard/sidebar.cljs:349, src/app/main/ui/dashboard/sidebar.cljs:761
msgid "dashboard.my-teams" msgid "dashboard.other-teams"
msgstr "Mis Equipos" msgstr "Otros equipos"
#: src/app/main/ui/dashboard/files.cljs:106, src/app/main/ui/dashboard/projects.cljs:253, src/app/main/ui/dashboard/projects.cljs:254 #: src/app/main/ui/dashboard/files.cljs:106, src/app/main/ui/dashboard/projects.cljs:253, src/app/main/ui/dashboard/projects.cljs:254
msgid "dashboard.new-file" msgid "dashboard.new-file"
@ -1447,8 +1447,8 @@ msgstr "Tu nombre"
msgid "dashboard.your-penpot" msgid "dashboard.your-penpot"
msgstr "Tu Penpot" msgstr "Tu Penpot"
msgid "dashboard.my-files" msgid "dashboard.personal-projects"
msgstr "Mis Archivos" msgstr "Proyectos Personales"
#: src/app/main/ui/alert.cljs:36 #: src/app/main/ui/alert.cljs:36
msgid "ds.alert-ok" msgid "ds.alert-ok"