mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
download_widget: Add missing translation key (#3713)
This commit is contained in:
commit
d526094380
@ -402,6 +402,7 @@
|
||||
"Movies": "Movies",
|
||||
"Download": "Download",
|
||||
"Download as: ": "Download as: ",
|
||||
"Download is disabled": "Download is disabled",
|
||||
"%A %B %-d, %Y": "%A %B %-d, %Y",
|
||||
"(edited)": "(edited)",
|
||||
"YouTube comment permalink": "YouTube comment permalink",
|
||||
|
@ -317,6 +317,7 @@
|
||||
"Movies": "Filmy",
|
||||
"Download": "Pobierz",
|
||||
"Download as: ": "Pobierz jako: ",
|
||||
"Download is disabled": "Pobieranie jest wyłączone",
|
||||
"%A %B %-d, %Y": "%A, %-d %B %Y",
|
||||
"(edited)": "(edytowany)",
|
||||
"YouTube comment permalink": "Odnośnik bezpośredni do komentarza na YouTube",
|
||||
|
@ -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…
Reference in New Issue
Block a user