From 1804a87193fd20fc07803c849eb40cb4f12389b2 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 26 Jun 2025 15:26:41 +0200 Subject: [PATCH] Change terms of service generator to not be displayed (#35127) --- app/views/admin/terms_of_service/index.html.haml | 1 - config/i18n-tasks.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/terms_of_service/index.html.haml b/app/views/admin/terms_of_service/index.html.haml index 636851b44..f34d1bda4 100644 --- a/app/views/admin/terms_of_service/index.html.haml +++ b/app/views/admin/terms_of_service/index.html.haml @@ -40,4 +40,3 @@ .content__heading__actions = link_to t('admin.terms_of_service.create'), admin_terms_of_service_draft_path, class: 'button' - = link_to t('admin.terms_of_service.generate'), admin_terms_of_service_generate_path, class: 'button button-secondary' diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index fc043c422..0dbc08738 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -71,6 +71,7 @@ ignore_unused: - 'mail_subscriptions.unsubscribe.emails.*' - 'preferences.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use - 'edit_profile.other' # some locales are missing other keys, therefore leading i18n-tasks to detect `preferences` as plural and not finding use + - 'admin.terms_of_service.generate' # temporarily disabled ignore_inconsistent_interpolations: - '*.one'