forked from mirror/invidious
Localize chapters label
This commit is contained in:
parent
a569b8f3d9
commit
9f43a74871
2 changed files with 5 additions and 3 deletions
|
@ -496,5 +496,7 @@
|
|||
"toggle_theme": "Toggle Theme",
|
||||
"carousel_slide": "Slide {{current}} of {{total}}",
|
||||
"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? %>
|
||||
<div class="description-chapters-section">
|
||||
<hr class="description-content-separator"/>
|
||||
<h4>Chapters</h4>
|
||||
<h4><%=translate(locale, "video_chapters_label")%></h4>
|
||||
|
||||
<% if video.automatically_generated_chapters? %>
|
||||
<h5>Chapters are automatically generated </h5>
|
||||
<h5><%=translate(locale, "video_chapters_auto_generated_label")%> </h5>
|
||||
<% end %>
|
||||
|
||||
<div class="description-chapters-content-container">
|
||||
|
|
Loading…
Reference in a new issue