diff --git a/locales/de.json b/locales/de.json index d20f7fab..3d68e9aa 100644 --- a/locales/de.json +++ b/locales/de.json @@ -349,6 +349,7 @@ "Current version: ": "Aktuelle Version: ", "next_steps_error_message": "Danach folgendes versuchen: ", "next_steps_error_message_refresh": "Aktualisieren", + "next_steps_error_message_to_to_alltube": "Video mit AllTube herunterladen", "next_steps_error_message_go_to_youtube": "Zu YouTube gehen", "footer_donate_page": "Spende", "search_filters_duration_option_long": "Lang (> 20 Minuten)", diff --git a/locales/en-US.json b/locales/en-US.json index 3987f796..5dad44d1 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -460,6 +460,7 @@ "Current version: ": "Current version: ", "next_steps_error_message": "After which you should try to: ", "next_steps_error_message_refresh": "Refresh", + "next_steps_error_message_go_to_alltube": "Download the video using AllTube", "next_steps_error_message_go_to_youtube": "Go to YouTube", "footer_donate_page": "Donate", "footer_documentation": "Documentation", diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr index b2df682d..a1baf9d6 100644 --- a/src/invidious/helpers/errors.cr +++ b/src/invidious/helpers/errors.cr @@ -177,6 +177,7 @@ def error_redirect_helper(env : HTTP::Server::Context) request_path.starts_with?("/channel") || request_path.starts_with?("/playlist?list=PL") next_steps_text = translate(locale, "next_steps_error_message") refresh = translate(locale, "next_steps_error_message_refresh") + go_to_alltube = translate(locale, "next_steps_error_message_go_to_alltube") go_to_youtube = translate(locale, "next_steps_error_message_go_to_youtube") switch_instance = translate(locale, "Switch Invidious Instance") @@ -189,6 +190,9 @@ def error_redirect_helper(env : HTTP::Server::Context)