Invidious is an alternative front-end to YouTube
Make "show technical details" btn translatable
syeopitec288005bfd51
diff --git a/locales/en-US.json b/locales/en-US.jsonindex 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.ecrindex 348ea127..279a74b2 100644--- a/src/invidious/views/components/item.ecr+++ b/src/invidious/views/components/item.ecr@@ -105,7 +105,7 @@<p><%=translate(locale, "timeline_parse_error_placeholder_message")%></p></div><details>- <summary class="pure-button pure-button-secondary"> Show technical details </summary>+ <summary class="pure-button pure-button-secondary"><%=translate(locale, "timeline_parse_error_show_technical_details")%></summary><pre style="padding: 20px; background: rgba(0, 0, 0, 0.12345);"><%=get_issue_template(env, item.parse_exception)[1]%></pre></details></div>