Skip to content

Commit

Permalink
Fix untranslated text present in template
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu committed May 4, 2023
1 parent 50e85b4 commit f99d06b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/cells/decidim/slider/tabs/video_text/main/show.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="column text-center">
<video aria-label="<%= accessibility_label %>" width="512" height="270" <%= settings %>>
<source src="<%= video_url %>" type="<%= content_type %>">
Your browser does not support the video tag.
<%= t("decidim.slider.tabs.video_text.main.no_video_support") %>
</video>
</div>
<div class="column">
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ en:
title: Title
url: URL
video_text:
main:
no_video_support: Your browser does not support the video tag.
settings:
accessibility_label: Accessibility Label
autoplay: Autoplay
Expand Down

0 comments on commit f99d06b

Please sign in to comment.