From ce0a9faaaef07ec1c286f8fb7f40712c0c1727b5 Mon Sep 17 00:00:00 2001 From: Norkz Date: Wed, 21 May 2025 21:21:45 -0400 Subject: [PATCH] feat: test2 --- locales/en-US.json | 1 + src/invidious/routes/search.cr | 2 ++ 2 files changed, 3 insertions(+) diff --git a/locales/en-US.json b/locales/en-US.json index 1aa2ab92..eb0dfe2d 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -4,6 +4,7 @@ "Answer": "Answer", "Search for videos": "Search for videos", "The Popular feed has been disabled by the administrator.": "The Popular feed has been disabled by the administrator.", + "The Trending feed has been disabled by the administrator": "The Trending feed has been disabled by the administrator", "generic_channels_count": "{{count}} channel", "generic_channels_count_plural": "{{count}} channels", "generic_views_count": "{{count}} view", diff --git a/src/invidious/routes/search.cr b/src/invidious/routes/search.cr index bd76775d..eb253d2c 100644 --- a/src/invidious/routes/search.cr +++ b/src/invidious/routes/search.cr @@ -70,6 +70,8 @@ module Invidious::Routes::Search return error_template 500, ex end + redirect_url = Invidious::Frontend::Misc.redirect_url(env) + # Pagination page_nav_html = Frontend::Pagination.nav_numeric(locale, base_url: "/search?#{query.to_http_params}",