Fix translations.

This commit is contained in:
BoHung Chiu 2023-04-12 09:02:09 +08:00
parent 9e9f2959bc
commit 5382df8c2c
3 changed files with 16 additions and 16 deletions

View File

@ -46,9 +46,9 @@
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label muted"><%= t(:type) %></label> <label class="control-label muted"><%= t("video_pro.type") %></label>
<div class="controls"> <div class="controls">
<div><%= t("choose_type") %></div> <div><%= t("video_pro.choose_type") %></div>
<%= <%=
select_tag "video_image[exchange_item]", options_for_select(@item,@item_choose) select_tag "video_image[exchange_item]", options_for_select(@item,@item_choose)
%> %>
@ -87,10 +87,10 @@
<div id="exchange_item_1" style="display:none"> <div id="exchange_item_1" style="display:none">
<div class="control-group input-title"> <div class="control-group input-title">
<label class="control-label muted"><%= t(:youtube) %></label> <label class="control-label muted"><%= t("video_pro.youtube") %></label>
<div class="controls"> <div class="controls">
<div><%= 'ex. https://www.youtube.com/watch?v=UHF2e3lyPVU' %></div> <div><%= 'ex. https://www.youtube.com/watch?v=UHF2e3lyPVU' %></div>
<%= f.text_field :youtube, placeholder: t(:youtube), class: 'input-block-level' %> <%= f.text_field :youtube, placeholder: t("video_pro.youtube"), class: 'input-block-level' %>
</div> </div>
</div> </div>
</div> </div>

View File

@ -64,9 +64,9 @@ en:
next: Next next: Next
muted: Muted muted: Muted
unmuted: Unmuted unmuted: Unmuted
video: Video new_image: New Image or Video
new_image: New Image or Video youtube: youtube embed URL
youtube: youtube embed URL type: Image or Video
type: Image or Video choose_type: Please Select One Type First
choose_type: Please Select One Type First select: Please Select One
select: Please Select One video: Video

View File

@ -61,9 +61,9 @@ zh_tw:
next: 下一張 next: 下一張
muted: 靜音 muted: 靜音
unmuted: 取消靜音 unmuted: 取消靜音
video: 影片 new_image: 新增圖片 或 影片
new_image: 新增圖片 或 影片 youtube: youtube網址嵌入
youtube: youtube網址嵌入 type: 圖片 或 影片
type: 圖片 或 影片 choose_type: 請先選擇類型
choose_type: 請先選擇類型 select: 請選擇
select: 請選擇 video: 影片