From c288005bfd512652f82d3bfa8b2ff939dbd694de Mon Sep 17 00:00:00 2001 From: syeopite Date: Fri, 28 Feb 2025 21:05:19 -0800 Subject: [PATCH] Make "show technical details" btn translatable --- locales/en-US.json | 3 ++- src/invidious/views/components/item.ecr | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/locales/en-US.json b/locales/en-US.json index c9a48972..d44a8827 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -503,5 +503,6 @@ "carousel_skip": "Skip the Carousel", "carousel_go_to": "Go to slide `x`", "timeline_parse_error_placeholder_heading": "Unable to parse item", - "timeline_parse_error_placeholder_message": "Invidious encountered an error while trying to parse this item. For more information see below:" + "timeline_parse_error_placeholder_message": "Invidious encountered an error while trying to parse this item. For more information see below:", + "timeline_parse_error_show_technical_details": "Show technical details" } diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index 348ea127..279a74b2 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -105,7 +105,7 @@

<%=translate(locale, "timeline_parse_error_placeholder_message")%>

- Show technical details + <%=translate(locale, "timeline_parse_error_show_technical_details")%>
<%=get_issue_template(env, item.parse_exception)[1]%>