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_settings_path %>"> Payment Method Setting</a></li>
<li class="breadcrumb-item active">Edit</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_settings_path %>"><%= t("en.payment_methods") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.ack', :default => t("views.back")), settings_payment_method_settings_path %>
</span>

View File

@@ -1,7 +1,7 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">Payment Method</li>
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item active"><%= t("en.payment_methods") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
@@ -19,13 +19,13 @@
<table class="table table-striped">
<thead>
<tr>
<th>Payment method</th>
<th>Is active</th>
<th>Gateway Comm type</th>
<th>Gateway url</th><!--
<th><%= t("views.right_panel.detail.payment_method") %></th>
<th><%= t("views.right_panel.detail.is_active") %></th>
<th><%= t("views.right_panel.detail.gateway") %> <%= t("views.right_panel.detail.comm_type") %></th>
<th><%= t("views.right_panel.detail.gateway") %> <%= t("views.right_panel.detail.url_txt") %></th><!--
<th>Auth token</th>
<th>Merchant account</th> -->
<th>Actions</th>
<th><%= t("views.right_panel.detail.actions") %></th>
</tr>
</thead>

View File

@@ -1,9 +1,9 @@
<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_settings_path %>"> Payment Method Setting</a></li>
<li class="breadcrumb-item active">New</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_settings_path %>"><%= t("en.payment_methods") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to t('.ack', :default => t("views.back")), settings_payment_method_settings_path %>
</span>

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>