From 71773a825b8506bf3f95fd0a1db64a54aa833fca Mon Sep 17 00:00:00 2001 From: stephanierousset <61418966+Stef-Rousset@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:59:29 +0200 Subject: [PATCH] Fix export dropdown in admin proposals index (#98) * fix: add missing translation keys * test: update config file after i18n test --- config/i18n-tasks.yml | 3 +++ config/locales/en.yml | 6 ++++++ config/locales/fr.yml | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 63108aaf..c7c30d30 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -129,6 +129,7 @@ ignore_unused: - activemodel.errors.models.proposal.attributes.attachment.needs_to_be_reattached - budgets.projects_helper.current_rule_description.* - budgets.projects_helper.current_rule_explanation.* + - decidim.admin.exports.export_as - decidim.components.budgets.settings.global.geocoding_enabled - decidim.budgets.actions.* - decidim.budgets.admin.budgets.index.* @@ -146,6 +147,8 @@ ignore_unused: - decidim.meetings.meetings.create.* - decidim.meetings.meetings.update.* - decidim.omniauth.france_connect.* + - decidim.proposals.admin.exports.awesome_private_proposals + - decidim.proposals.admin.exports.proposal_comments - decidim.proposals.collaborative_drafts.collaborative_draft.publish.* - decidim.proposals.collaborative_drafts.collaborative_draft.withdraw.* - decidim.proposals.collaborative_drafts.create.* diff --git a/config/locales/en.yml b/config/locales/en.yml index 127b90cb..50c01dba 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -38,6 +38,8 @@ en: accessibility: skip_button: Skip button admin: + exports: + export_as: "%{name} as %{export_format}" participatory_space_private_users: create: error: Error @@ -193,6 +195,10 @@ en: show: local_area: Local area proposals: + admin: + exports: + awesome_private_proposals: Proposals with private fields + proposal_comments: Comments collaborative_drafts: collaborative_draft: publish: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index d315dc46..4718462b 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -40,6 +40,8 @@ fr: accessibility: skip_button: Passer au contenu principal admin: + exports: + export_as: "%{name} au format %{export_format}" participatory_space_private_users: create: error: Erreur @@ -198,6 +200,9 @@ fr: local_area: Espace d'organisation proposals: admin: + exports: + awesome_private_proposals: Propositions avec champs privés + proposal_comments: Commentaires proposals: bulk-actions: statuses: Nouveaux status