chore: add 'Change Backend' text to locale

This commit is contained in:
Fijxu
2026-01-01 21:51:42 -03:00
parent d4e88dd3a7
commit 8ccb197e46
3 changed files with 5 additions and 3 deletions

View File

@@ -549,5 +549,6 @@
"error_transcripts_none_available": "No transcripts are available",
"transcript_widget_title": "Transcript",
"transcript_widget_no_js_change_transcript_btn": "Swap",
"dmca_content": "This video cannot be downloaded on this instance due to a DMCA/copyright infringement letter sent to the instance administrator."
"dmca_content": "This video cannot be downloaded on this instance due to a DMCA/copyright infringement letter sent to the instance administrator.",
"companion_switch_backend": "Switch backend:"
}

View File

@@ -536,5 +536,6 @@
"backend_unavailable": "El backend seleccionado no está disponible. Has sido redireccionado al siguiente",
"timeline_parse_error_show_technical_details": "Enseñar detalles técnicos",
"timeline_parse_error_placeholder_message": "Invidious ha encontrado un error al tratar de procesar este elemento. Para más información ver abajo:",
"timeline_parse_error_placeholder_heading": "Imposible procesar este elemento"
"timeline_parse_error_placeholder_heading": "Imposible procesar este elemento",
"companion_switch_backend": "Cambiar de backend:"
}

View File

@@ -116,7 +116,7 @@
companion_switched = env.get?("companion_switched")
%>
<div class="h-box" style="margin-bottom: 10px;">
<b>Switch Backend:</b>
<b><%= translate(locale, "companion_switch_backend") %></b>
<% if domain %>
<% CONFIG.invidious_companion.each_with_index do | companion, index | %>
<% next if companion.community && !preferences.show_community_backends %>