From bf359ac758e345528f9e3f7ab5e788826427d8e3 Mon Sep 17 00:00:00 2001 From: cballevre Date: Fri, 13 Sep 2024 16:04:39 +0200 Subject: [PATCH] feat: Announcements production remote doctype --- assets/locales/en.po | 10 ++++++++-- assets/locales/fr.po | 10 ++++++++-- assets/styles/cirrus.css | 2 ++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/assets/locales/en.po b/assets/locales/en.po index 6e38198790c..6333e3513a2 100644 --- a/assets/locales/en.po +++ b/assets/locales/en.po @@ -743,11 +743,17 @@ msgstr "Application logs" msgid "Permissions cc.cozycloud.errors" msgstr "Application logs" +msgid "Permissions cc.cozycloud.announcements" +msgstr "API to retrieve announcements" + +msgid "Permissions cc.cozycloud.announcements.uploads" +msgstr "API to retrieve announcement images" + msgid "Permissions cc.cozycloud.announcements.dev" -msgstr "Announcements for development development purpose" +msgstr "API to retrieve announcements (development)" msgid "Permissions cc.cozycloud.announcements.dev.uploads" -msgstr "Images of announcements for development purpose" +msgstr "API to retrieve announcement images (development)" msgid "Mail Greeting" msgstr "Hello" diff --git a/assets/locales/fr.po b/assets/locales/fr.po index 171a906aab3..305888c6dc0 100644 --- a/assets/locales/fr.po +++ b/assets/locales/fr.po @@ -817,11 +817,17 @@ msgstr "Journaux de l'application" msgid "Permissions cc.cozycloud.errors" msgstr "Journaux de l'application" +msgid "Permissions cc.cozycloud.announcements" +msgstr "API pour récupérer les annonces" + +msgid "Permissions cc.cozycloud.announcements.uploads" +msgstr "API pour récupérer les images des annonces" + msgid "Permissions cc.cozycloud.announcements.dev" -msgstr "Annonces pour le développement" +msgstr "API pour récupérer les annonces (développement)" msgid "Permissions cc.cozycloud.announcements.dev.uploads" -msgstr "Images des annonces pour le développement" +msgstr "API pour récupérer les images des annonces (développement)" msgid "Mail Greeting" msgstr "Bonjour" diff --git a/assets/styles/cirrus.css b/assets/styles/cirrus.css index fb65ca8a781..7db5a64d993 100644 --- a/assets/styles/cirrus.css +++ b/assets/styles/cirrus.css @@ -287,6 +287,8 @@ -webkit-mask-image: url("../icons/doctypes/stats.svg"); mask-image: url("../icons/doctypes/stats.svg"); } +.perm[class^="cc.cozycloud.anouncements"], +.perm[class^="cc.cozycloud.anouncements.uploads"], .perm[class^="cc.cozycloud.anouncements.dev"], .perm[class^="cc.cozycloud.anouncements.dev.uploads"] { -webkit-mask-image: url("../icons/doctypes/announcement.svg");