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="<%= settings_payment_method_setting_path %>">Payment Method Settings</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="<%= settings_payment_method_setting_path %>"><%= t("en.payment_methods") %></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_payment_method_setting_path %>
</span>
@@ -18,32 +18,32 @@
</tr> -->
<tr>
<td><strong>Payment method:</strong></td>
<td><strong><%= t("views.right_panel.detail.payment_method") %>:</strong></td>
<td><%= @settings_payment_method_setting.payment_method %></td>
</tr>
<tr>
<td><strong>Is active:</strong></td>
<td><strong><%= t("views.right_panel.detail.is_active") %>:</strong></td>
<td><%= @settings_payment_method_setting.is_active %></td>
</tr>
<tr>
<td><strong>Gateway communication type:</strong></td>
<td><strong><%= t("views.right_panel.detail.gateway") %> <%= t("views.right_panel.detail.comm_type") %>:</strong></td>
<td><%= @settings_payment_method_setting.gateway_communication_type %></td>
</tr>
<tr>
<td><strong>Gateway url:</strong></td>
<td><strong><%= t("views.right_panel.detail.gateway") %> <%= t("views.right_panel.detail.url_txt") %>:</strong></td>
<td><%= @settings_payment_method_setting.gateway_url %></td>
</tr>
<tr>
<td><strong>Auth token:</strong></td>
<td><strong><%= t("views.right_panel.detail.auth_token") %>:</strong></td>
<td><%= @settings_payment_method_setting.auth_token %></td>
</tr>
<tr>
<td><strong>Merchant account:</strong></td>
<td><strong><%= t("views.right_panel.detail.merchant_account") %>:</strong></td>
<td><%= @settings_payment_method_setting.merchant_account_id %></td>
</tr>