Localize chapters label

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

View File

@ -484,5 +484,7 @@
"channel_tab_releases_label": "Releases", "channel_tab_releases_label": "Releases",
"channel_tab_playlists_label": "Playlists", "channel_tab_playlists_label": "Playlists",
"channel_tab_community_label": "Community", "channel_tab_community_label": "Community",
"channel_tab_channels_label": "Channels" "channel_tab_channels_label": "Channels",
"video_chapters_label": "Chapters",
"video_chapters_auto_generated_label": "These chapters are auto-generated"
} }

View File

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