Make "show technical details" btn translatable

This commit is contained in:
syeopite 2025-02-28 21:05:19 -08:00
parent d0fb03501e
commit c66a28e510
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A
2 changed files with 3 additions and 2 deletions

View File

@ -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"
}

View File

@ -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>