add localization for all form data

This commit is contained in:
phyusin
2017-10-27 17:00:56 +06:30
parent d916c262d7
commit ef05aec1db
81 changed files with 735 additions and 621 deletions

View File

@@ -1,8 +1,8 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= print_settings_path %>">Print Setting</a></li>
<li class="breadcrumb-item active">Details</li>
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></a></li>
<li class="breadcrumb-item active"><%= t("en.details") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_employees_path %>
</span>
@@ -15,39 +15,39 @@
<table class="table">
<tbody>
<tr>
<th>Name</th>
<th><%= t("views.right_panel.detail.name") %></th>
<td><%= @print_setting.name %></td>
</tr>
<tr>
<th>Unique code</th>
<th><%= t("views.right_panel.detail.unique_code") %></th>
<td><%= @print_setting.unique_code %></td>
</tr>
<tr>
<th>Template</th>
<th><%= t("views.right_panel.detail.template") %></th>
<td><%= @print_setting.template %></td>
</tr>
<tr>
<th>Printer name</th>
<th><%= t("views.right_panel.detail.printer_name") %></th>
<td><%= @print_setting.printer_name %></td>
</tr>
<tr>
<th>Font</th>
<th><%= t("views.right_panel.detail.font") %></th>
<td><%= @print_setting.font rescue '-' %></td>
</tr>
<tr>
<th>Api settings</th>
<th><%= t("views.right_panel.detail.api_settings") %></th>
<td><%= @print_setting.api_settings %></td>
</tr>
<tr>
<th>Page width</th>
<th><%= t("views.right_panel.detail.page_width") %></th>
<td><%= @print_setting.page_width %></td>
</tr>
<tr>
<th>Page height</th>
<th><%= t("views.right_panel.detail.page_height") %></th>
<td><%= @print_setting.page_height %></td>
</tr>
<tr>
<th>Print copies</th>
<th><%= t("views.right_panel.detail.print_copies") %></th>
<td><%= @print_setting.print_copies %></td>
</tr>
<tr>