mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
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",
|
"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 a new issue