diff --git a/CHANGES.md b/CHANGES.md index 2a12948c8..077c99deb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -70,7 +70,10 @@ - Fix Export bounding box mask [Taiga #950](https://tree.taiga.io/project/penpot/issue/950) - Fix delete layers in bulk [Taiga #4160](https://tree.taiga.io/project/penpot/issue/4160) - Fix Cannot take out an element from a group at layers panel by drag [Taiga #4209](https://tree.taiga.io/project/penpot/issue/4209) - +- Fix Internal error when resending invitation email [Taiga #4212](https://tree.taiga.io/project/penpot/issue/4212) +- Fix PDF exportation order [Taiga #4216](https://tree.taiga.io/project/penpot/issue/4216) +- Fix some typos [Taiga #4215](https://tree.taiga.io/project/penpot/issue/4215) +- Fix "no boards" message in viewer [Taiga #4243](https://tree.taiga.io/project/penpot/issue/4243) ## 1.15.3-beta diff --git a/frontend/resources/styles/main/partials/viewer.scss b/frontend/resources/styles/main/partials/viewer.scss index 53ea4d705..784141c4b 100644 --- a/frontend/resources/styles/main/partials/viewer.scss +++ b/frontend/resources/styles/main/partials/viewer.scss @@ -157,11 +157,6 @@ align-items: center; overflow: hidden; - .empty-state { - justify-content: center; - align-items: center; - } - svg { transform-origin: center; } @@ -184,6 +179,13 @@ height: 100%; z-index: 10; } + + .empty-state { + width: 100vw; + display: flex; + justify-content: center; + align-items: center; + } } .viewport-container { diff --git a/frontend/src/app/main/ui/dashboard/team.cljs b/frontend/src/app/main/ui/dashboard/team.cljs index 592f2dec0..2ae90655c 100644 --- a/frontend/src/app/main/ui/dashboard/team.cljs +++ b/frontend/src/app/main/ui/dashboard/team.cljs @@ -501,7 +501,7 @@ resend-invitation (fn [] - (let [params {:email email + (let [params {:emails [email] :team-id (:id team) :resend? true :role invitation-role} diff --git a/frontend/src/app/main/ui/releases/v1_15.cljs b/frontend/src/app/main/ui/releases/v1_15.cljs index b5bffc601..42f92457a 100644 --- a/frontend/src/app/main/ui/releases/v1_15.cljs +++ b/frontend/src/app/main/ui/releases/v1_15.cljs @@ -77,7 +77,7 @@ [:img {:src "images/features/1.15-comments.gif" :border "0" :alt "Comments positioning"}]] [:div.modal-right [:div.modal-title - [:h2 "Comments poitioning"]] + [:h2 "Comments positioning"]] [:div.modal-content [:p "They live! Now you can move existing comments wherever you want by dragging them."] [:p "Also, comments inside boards will be associated with it, so that if you move a board its comments will maintain its place inside it."]] diff --git a/frontend/src/app/main/ui/workspace/header.cljs b/frontend/src/app/main/ui/workspace/header.cljs index 7657d319b..5c94db5a7 100644 --- a/frontend/src/app/main/ui/workspace/header.cljs +++ b/frontend/src/app/main/ui/workspace/header.cljs @@ -6,6 +6,8 @@ (ns app.main.ui.workspace.header (:require + [app.common.pages.helpers :as cph] + [app.common.uuid :as uuid] [app.config :as cf] [app.main.data.events :as ev] [app.main.data.exports :as de] @@ -107,7 +109,9 @@ show-sub-menu? (mf/use-state false) editing? (mf/use-state false) edit-input-ref (mf/use-ref nil) - frames (mf/deref refs/workspace-frames) + objects (mf/deref refs/workspace-page-objects) + frames (->> (cph/get-immediate-children objects uuid/zero) + (filterv cph/frame-shape?)) add-shared-fn #(st/emit! (dwl/set-file-shared (:id file) true)) diff --git a/frontend/translations/ca.po b/frontend/translations/ca.po index f8423e737..e11be3a19 100644 --- a/frontend/translations/ca.po +++ b/frontend/translations/ca.po @@ -283,7 +283,7 @@ msgid "dashboard.export-binary-multi" msgstr "Baixa %s fitxers Penpot (.penpot)" msgid "dashboard.export-frames" -msgstr "Exporta els taulers a PDF…" +msgstr "Exporta els taulers a PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" @@ -4402,4 +4402,4 @@ msgid "workspace.updates.update" msgstr "Actualitza" msgid "workspace.viewport.click-to-close-path" -msgstr "Feu clic per a tancar el camí" \ No newline at end of file +msgstr "Feu clic per a tancar el camí" diff --git a/frontend/translations/de.po b/frontend/translations/de.po index bcce76f7d..9d5fcaf58 100644 --- a/frontend/translations/de.po +++ b/frontend/translations/de.po @@ -287,7 +287,7 @@ msgid "dashboard.export-binary-multi" msgstr "%s Penpot-Dateien herunterladen (.penpot)" msgid "dashboard.export-frames" -msgstr "Zeichenflächen als PDF exportieren…" +msgstr "Zeichenflächen als PDF exportieren" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 374a9cc61..bbdc5b912 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -326,7 +326,7 @@ msgid "dashboard.export-binary-multi" msgstr "Download %s Penpot files (.penpot)" msgid "dashboard.export-frames" -msgstr "Export artboards to PDF…" +msgstr "Export artboards to PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" @@ -2557,7 +2557,7 @@ msgid "shortcuts.toggle-lock-size" msgstr "Lock proportions" msgid "shortcuts.toggle-rules" -msgstr "Show/hide rules" +msgstr "Show/hide rulers" msgid "shortcuts.toggle-scale-text" msgstr "Toggle scale text" @@ -2959,7 +2959,7 @@ msgstr "Hide pixel grid" #: src/app/main/ui/workspace/header.cljs msgid "workspace.header.menu.hide-rules" -msgstr "Hide rules" +msgstr "Hide rulers" #: src/app/main/ui/workspace/header.cljs msgid "workspace.header.menu.hide-textpalette" @@ -3006,7 +3006,7 @@ msgstr "Show pixel grid" #: src/app/main/ui/workspace/header.cljs msgid "workspace.header.menu.show-rules" -msgstr "Show rules" +msgstr "Show rulers" #: src/app/main/ui/workspace/header.cljs msgid "workspace.header.menu.show-textpalette" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 84d0d8f29..a9c26c205 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -333,7 +333,7 @@ msgid "dashboard.export-binary-multi" msgstr "Descargar %s archivos Penpot (.penpot)" msgid "dashboard.export-frames" -msgstr "Exportar tableros a PDF..." +msgstr "Exportar tableros a PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/fa.po b/frontend/translations/fa.po index 75ca1776f..ab1d3a019 100644 --- a/frontend/translations/fa.po +++ b/frontend/translations/fa.po @@ -293,7 +293,7 @@ msgid "dashboard.export-binary-multi" msgstr "دانلود %s فایل پنپات (.penpot)" msgid "dashboard.export-frames" -msgstr "خروجی آرت‌بوردها به پی‌دی‌اف…" +msgstr "خروجی آرت‌بوردها به پی‌دی‌اف" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/fr.po b/frontend/translations/fr.po index debf7c889..027773e28 100644 --- a/frontend/translations/fr.po +++ b/frontend/translations/fr.po @@ -286,7 +286,7 @@ msgid "dashboard.export-binary-multi" msgstr "Télécharger %s fichiers Penpot (.penpot)" msgid "dashboard.export-frames" -msgstr "Exporter les plans de travail au format PDF…" +msgstr "Exporter les plans de travail au format PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/gl.po b/frontend/translations/gl.po index 7dac802cb..b9b82d938 100644 --- a/frontend/translations/gl.po +++ b/frontend/translations/gl.po @@ -255,7 +255,7 @@ msgstr "" "vai a [Bibliotecas e modelos] (https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "Exportar marcos a PDF…" +msgstr "Exportar marcos a PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/he.po b/frontend/translations/he.po index 96e01bde7..2c44ca263 100644 --- a/frontend/translations/he.po +++ b/frontend/translations/he.po @@ -280,7 +280,7 @@ msgid "dashboard.export-binary-multi" msgstr "הורדת %s קובצי Penpot‏ (‎.penpot)" msgid "dashboard.export-frames" -msgstr "ייצוא לוחות אומנות ל־PDF…" +msgstr "ייצוא לוחות אומנות ל־PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/id.po b/frontend/translations/id.po index 68c25397f..fe7193256 100644 --- a/frontend/translations/id.po +++ b/frontend/translations/id.po @@ -279,7 +279,7 @@ msgid "dashboard.export-binary-multi" msgstr "Unduh %s berkas Penpot (.penpot)" msgid "dashboard.export-frames" -msgstr "Ekspor papan-papan ke PDF…" +msgstr "Ekspor papan-papan ke PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" @@ -319,4 +319,4 @@ msgstr "Ekspor pustaka bersama" msgid "dashboard.export.options.detach.message" msgstr "" "Pustaka bersama tidak akan dimasukkan dalam hasil ekspor dan tidak ada aset " -"yang akan ditambahkan ke pustaka. " \ No newline at end of file +"yang akan ditambahkan ke pustaka. " diff --git a/frontend/translations/lt.po b/frontend/translations/lt.po index 13466d977..a41a1ad2a 100644 --- a/frontend/translations/lt.po +++ b/frontend/translations/lt.po @@ -244,7 +244,7 @@ msgstr "" "į [Bibliotekos ir šablonai] (https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "Eksportuokite darbalaukius į PDF..." +msgstr "Eksportuokite darbalaukius į PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/ml.po b/frontend/translations/ml.po index f53fdfdc3..3990b0849 100644 --- a/frontend/translations/ml.po +++ b/frontend/translations/ml.po @@ -246,7 +246,7 @@ msgstr "" "വിഭാഗത്തിലേക്ക്] (https://penpot.app/libraries-templates.html) പോകാവുന്നതാണ്" msgid "dashboard.export-frames" -msgstr "ആർട്ട്ബോർഡുകൾ പിഡിഎഫായി എക്സ്പോർട്ട് ചെയ്യുക...." +msgstr "ആർട്ട്ബോർഡുകൾ പിഡിഎഫായി എക്സ്പോർട്ട് ചെയ്യുക" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/pl.po b/frontend/translations/pl.po index 54f4a1af9..ca185fab8 100644 --- a/frontend/translations/pl.po +++ b/frontend/translations/pl.po @@ -243,7 +243,7 @@ msgstr "" "szablony](https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "Eksportuj obszary kompozycji do PDF…" +msgstr "Eksportuj obszary kompozycji do PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/pt_BR.po b/frontend/translations/pt_BR.po index c4989fa09..781aa4103 100644 --- a/frontend/translations/pt_BR.po +++ b/frontend/translations/pt_BR.po @@ -260,7 +260,7 @@ msgstr "" "modelos](https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "Exportar pranchetas para PDF…" +msgstr "Exportar pranchetas para PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/ru.po b/frontend/translations/ru.po index e401fa7cd..dba575439 100644 --- a/frontend/translations/ru.po +++ b/frontend/translations/ru.po @@ -239,7 +239,7 @@ msgstr "" "[\"Libraries & templates\"](https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "Экспорт кадров в PDF..." +msgstr "Экспорт кадров в PDF" msgid "dashboard.export-multi" msgstr "Экспорт файлов Penpot (%s)" diff --git a/frontend/translations/tr.po b/frontend/translations/tr.po index 03dc39241..19f141331 100644 --- a/frontend/translations/tr.po +++ b/frontend/translations/tr.po @@ -286,7 +286,7 @@ msgid "dashboard.export-binary-multi" msgstr "%s Penpot dosyasını indir (.penpot)" msgid "dashboard.export-frames" -msgstr "Çalışma yüzeylerini PDF'ye aktar…" +msgstr "Çalışma yüzeylerini PDF'ye aktar" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/zh_CN.po b/frontend/translations/zh_CN.po index 8d52b2d70..75582b769 100644 --- a/frontend/translations/zh_CN.po +++ b/frontend/translations/zh_CN.po @@ -237,7 +237,7 @@ msgid "dashboard.empty-placeholder-drafts" msgstr "现在尚无文件。如果你想尝试一些模板,请点击[库和模板](https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "导出画板到PDF…" +msgstr "导出画板到PDF" #: src/app/main/ui/export.cljs msgid "dashboard.export-frames.title" diff --git a/frontend/translations/zh_Hant.po b/frontend/translations/zh_Hant.po index 35ec4836f..b6d2a8206 100644 --- a/frontend/translations/zh_Hant.po +++ b/frontend/translations/zh_Hant.po @@ -238,7 +238,7 @@ msgstr "" "模板區段](https://penpot.app/libraries-templates.html)" msgid "dashboard.export-frames" -msgstr "將 artboards 匯出為 PDF..." +msgstr "將 artboards 匯出為 PDF" msgid "dashboard.export-multi" msgstr "匯出 %s 個檔案"