Localize chapters label

This commit is contained in:
syeopite 2023-08-21 22:38:54 -07:00
parent a569b8f3d9
commit 9f43a74871
No known key found for this signature in database
GPG key ID: A73C186DA3955A1A
2 changed files with 5 additions and 3 deletions

View file

@ -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"
}

View file

@ -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">