languages fix

This commit is contained in:
Harry Bomrah 2018-01-19 17:10:03 +08:00
parent 5b2b182dd4
commit 8df17b2621
3 changed files with 18 additions and 8 deletions

View File

@ -1,12 +1,12 @@
<% content_for :page_specific_css do %>
<%= stylesheet_link_tag "admin/web_links" %>
<% end %>
<div class="order-edit-notification">Please click "Save Order" button when you done.</div>
<div class="order-edit-notification"><%= t("web_link.please_save") %></div>
<table width="100%" id="web_resource_order_table" class="table table-striped" class="web_soursce_table">
<thead>
<tr>
<th>Position</th>
<th>Link</th>
<th><%= t("web_link.position") %></th>
<th><%= t("web_link.link") %></th>
</thead>
<tbody>
<% @links.each_with_index do |link,i| %>
@ -23,7 +23,7 @@
</table>
<div class="bottomnav clearfix" style="left: 81px;">
<div class="action pull-right">
<a class="btn btn-info disabled" id="save-order-button" href="#">Save Order</a>
<a class="btn btn-info disabled" id="save-order-button" href="#"><%= t("web_link.save_order") %></a>
</div>
<div class="pagination pagination-centered"></div>
</div>

View File

@ -1,9 +1,14 @@
en:
web_resource: Web resource
web_link: Web resource
restful_actions:
order: Order
web_link:
local: Open In Current page
new_window: Open In New window
type: Link Open Type
order: Order
order: Order
position: Position
link: Link
please_save: Please click "Save Order" button when you done.
save_order: Save Order

View File

@ -1,9 +1,14 @@
zh_tw:
web_resource: 網路資源
web_link: 網路資源
restful_actions:
order: 指令
web_link:
local: 當前視窗開啟
new_window: 新視窗開啟
type: 開啟方式
order: Order
order: 指令
position: 位置
link: 連結
please_save: 調整完後, 請點選"儲存順序"
save_order: 儲存順序