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

@@ -10,9 +10,9 @@
</div> -->
<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_tax_profiles_path %>">Tax Profiles</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_tax_profiles_path %>"><%= t("en.tax_profile") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to 'Back', settings_tax_profiles_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">Settings</li>
<li class="breadcrumb-item active">Tax Profiles</li>
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><%= t("en.settings") %></li>
<li class="breadcrumb-item active"><%= t("en.tax_profile") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
@@ -17,12 +17,12 @@
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Rate</th>
<th>Inclusive</th>
<th>Order by</th>
<th>Created by</th>
<th>Actions</th>
<th><%= t("views.right_panel.detail.name") %></th>
<th><%= t("views.right_panel.detail.rate") %></th>
<th><%= t("views.right_panel.detail.inclusive") %></th>
<th><%= t("views.right_panel.detail.order_by") %></th>
<th><%= t("views.right_panel.detail.created_by") %></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_tax_profiles_path %>">Tax Profiles</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_tax_profiles_path %>"><%= t("en.tax_profile") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to 'Back', settings_tax_profiles_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_tax_profiles_path %>">Tax Profiles</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_tax_profiles_path %>"><%= t("en.tax_profile") %></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_tax_profiles_path %>
</span>
@@ -13,30 +13,30 @@
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="card">
<div class="card-block">
<h4 class="card-title">Tax Profiles</h4>
<h4 class="card-title"><%= t("en.tax_profile") %></h4>
<table class="table">
<tr>
<td><strong>Name:</strong></td>
<td><strong><%= t("views.right_panel.detail.name") %>:</strong></td>
<td><%= @settings_tax_profile.name %></td>
</tr>
<tr>
<td><strong>Rate:</strong></td>
<td><strong><%= t("views.right_panel.detail.rate") %>:</strong></td>
<td><%= @settings_tax_profile.rate %></td>
</tr>
<tr>
<td><strong>Inclusive:</strong></td>
<td><strong><%= t("views.right_panel.detail.inclusive") %>:</strong></td>
<td><%= @settings_tax_profile.inclusive %></td>
</tr>
<tr>
<td><strong>Order by:</strong></td>
<td><strong><%= t("views.right_panel.detail.order_by") %>:</strong></td>
<td><%= @settings_tax_profile.order_by %></td>
</tr>
<tr>
<td><strong>Created by:</strong></td>
<td><strong><%= t("views.right_panel.detail.created_by") %>:</strong></td>
<td><%= @settings_tax_profile.created_by %></td>
</tr>