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">
<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_zones_path %>">Zones</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_zones_path %>"><%= t("en.zones") %></a></li>
<li class="breadcrumb-item active"><%= t("en.details") %></li>
<span class="float-right">
<%= link_to t("views.btn.back"), settings_zones_path %>
</span>
@@ -15,14 +15,14 @@
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card">
<div class="card-block">
<h4 class="card-title">Zone</h4>
<h4 class="card-title"><%= t("views.right_panel.header.zone") %></h4>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Is active</th>
<th>Created by</th>
<th>Actions</th>
<th><%= t("views.right_panel.detail.name") %></th>
<th><%= t("views.right_panel.detail.is_active") %></th>
<th><%= t("views.right_panel.detail.created_by") %></th>
<th><%= t("views.right_panel.detail.actions") %></th>
</tr>
</thead>
@@ -54,7 +54,7 @@
<br>
<div class="card">
<div class="card-block">
<h4 class="card-title">Dining Facilities
<h4 class="card-title"><%= t("views.right_panel.header.dining_facilities") %>
<span style="float: right">
<%= link_to "New Table",new_settings_zone_table_path(@settings_zone),:class => 'btn btn-success btn-sm waves-effect' %>
<%= link_to "New Room",new_settings_zone_room_path(@settings_zone),:class => 'btn btn-success btn-sm waves-effect' %>
@@ -63,13 +63,13 @@
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Seater</th>
<th>Is Active</th>
<th>Created By</th>
<th>Created At</th>
<th>Actions</th>
<th><%= t("views.right_panel.detail.name") %></th>
<th><%= t("views.right_panel.detail.type") %></th>
<th><%= t("views.right_panel.detail.seater") %></th>
<th><%= t("views.right_panel.detail.is_active") %></th>
<th><%= t("views.right_panel.detail.created_by") %></th>
<th><%= t("views.right_panel.detail.created_at") %></th>
<th><%= t("views.right_panel.detail.actions") %></th>
</tr>
</thead>