Added English strings for Rails i18n

This commit is contained in:
2026-03-07 12:37:47 -05:00
parent 03b94d251a
commit acd54a5e57
4 changed files with 16 additions and 11 deletions

View File

@@ -3,14 +3,14 @@
<% @issue.line_items.build if @issue.line_items.empty? && !readonly %>
<div class="box tabular" <%= 'data-nested-form data-wrapper-selector=".line-item"' unless readonly %>>
<p><strong>Line Items</strong></p>
<p><strong><%= t :label_line_items %></strong></p>
<table class="list line-items-table">
<thead>
<tr>
<th>Description</th>
<th style="width:120px;">Quantity</th>
<th style="width:150px;">Unit Price</th>
<th><%= t :label_description %></th>
<th style="width:120px;"><%= t :label_qty %></th>
<th style="width:150px;"><%= t :label_price %></th>
<% unless readonly %>
<th style="width:80px;"></th>
<% end %>

View File

@@ -1,15 +1,15 @@
<% if @issue.line_items.any? %>
<hr/>
<div>
<p><strong>Line Items</strong></p>
<p><strong><%= t :label_line_items %></strong></p>
<table class="list line-items-table">
<thead>
<tr>
<th>Description</th>
<th style="width:120px;">Quantity</th>
<th style="width:150px;">Unit Price</th>
<th style="width:150px;">Total</th>
<th><%= t :label_description %></th>
<th style="width:120px;"><%= t :label_qty %></th>
<th style="width:150px;"><%= t :label_price %></th>
<th style="width:150px;"><%= t :label_total %></th>
</tr>
</thead>
@@ -31,7 +31,7 @@
<tfoot>
<tr>
<td colspan="3" style="text-align:right;"><strong>Total</strong></td>
<td colspan="3" style="text-align:right;"><strong><%= t :label_total %></strong></td>
<td><strong><%= number_to_currency(total) %></strong></td>
</tr>
</tfoot>

View File

@@ -5,7 +5,7 @@
<td>
<%= f.text_field :description,
size: 50,
placeholder: "Description",
placeholder: l(:label_description),
no_label: true,
disabled: readonly %>
</td>