mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-03 11:56:04 -04:00
download_widget: Add missing translation key
This commit is contained in:
parent
8a44bd11d2
commit
0fe1b1ec19
3 changed files with 3 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue