From 7cf1ad2ad97a8ff0d1f929e70462cf7624f73679 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Wed, 15 Feb 2023 22:33:45 +0100 Subject: [PATCH] HTML: Add an abuse report link in the footer --- locales/en-US.json | 1 + locales/fr.json | 1 + src/invidious/views/template.ecr | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/locales/en-US.json b/locales/en-US.json index a5c16fd7..07dc05f8 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -455,6 +455,7 @@ "footer_source_code": "Source code", "footer_original_source_code": "Original source code", "footer_modfied_source_code": "Modified Source code", + "footer_report_abuse": "Report this content", "adminprefs_modified_source_code_url_label": "URL to modified source code repository", "none": "none", "videoinfo_started_streaming_x_ago": "Started streaming `x` ago", diff --git a/locales/fr.json b/locales/fr.json index 9d3e117f..e2e61a42 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -396,6 +396,7 @@ "preferences_region_label": "Pays du contenu : ", "footer_donate_page": "Faire un don", "footer_modfied_source_code": "Code source modifié", + "footer_report_abuse": "Signaler ce contenu", "search_filters_duration_option_short": "Courte (< 4 minutes)", "search_filters_duration_option_long": "Longue (> 20 minutes)", "adminprefs_modified_source_code_url_label": "URL du dépôt du code source modifié", diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index 77265679..b9a44d77 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -151,6 +151,10 @@ <%= translate(locale, "footer_donate_page") %> <%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> + + + <%= translate(locale, "footer_report_abuse") %> +