download_widget: Add missing translation key (#3713)

This commit is contained in:
Samantaz Fox committed 2023-03-31 22:28:38 +02:00
commit d526094380
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ module Invidious::Frontend::WatchPage
def download_widget(locale : String, video : Video, video_assets : VideoAssets) : String
if CONFIG.disabled?("downloads")
return "<p id=\"download\">#{translate(locale, "Download is disabled.")}</p>"
return "<p id=\"download\">#{translate(locale, "Download is disabled")}</p>"
end
return String.build(4000) do |str|