mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-20 12:28:29 +00:00
Localize chapters label
This commit is contained in:
parent
c99d06d6de
commit
df7f78afa2
@ -498,5 +498,7 @@
|
|||||||
"toggle_theme": "Toggle Theme",
|
"toggle_theme": "Toggle Theme",
|
||||||
"carousel_slide": "Slide {{current}} of {{total}}",
|
"carousel_slide": "Slide {{current}} of {{total}}",
|
||||||
"carousel_skip": "Skip the Carousel",
|
"carousel_skip": "Skip the Carousel",
|
||||||
"carousel_go_to": "Go to slide `x`"
|
"carousel_go_to": "Go to slide `x`",
|
||||||
|
"video_chapters_label": "Chapters",
|
||||||
|
"video_chapters_auto_generated_label": "These chapters are auto-generated"
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<% if !chapters.empty? %>
|
<% if !chapters.empty? %>
|
||||||
<div class="description-chapters-section">
|
<div class="description-chapters-section">
|
||||||
<hr class="description-content-separator"/>
|
<hr class="description-content-separator"/>
|
||||||
<h4>Chapters</h4>
|
<h4><%=translate(locale, "video_chapters_label")%></h4>
|
||||||
|
|
||||||
<% if video.automatically_generated_chapters? %>
|
<% if video.automatically_generated_chapters? %>
|
||||||
<h5>Chapters are automatically generated </h5>
|
<h5><%=translate(locale, "video_chapters_auto_generated_label")%> </h5>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="description-chapters-content-container">
|
<div class="description-chapters-content-container">
|
||||||
|
Loading…
Reference in New Issue
Block a user