Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve couple of translation issues #12

Open
wants to merge 1 commit into
base: rails-6-support
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/spree/admin/shipments/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<tr data-hook="admin_shipments_index_rows" class="state-<%= shipment.state.downcase %> <%= cycle('odd', 'even') %>">
<td><%= l shipment.created_at.to_date %></td>
<td><%= link_to shipment.number, spree.edit_admin_shipment_path(shipment) %></td>
<td><span class="state <%= shipment.state.downcase %>"><%= Spree.t("shipment_state.#{shipment.state.downcase}") %></span></td>
<td><span class="state <%= shipment.state.downcase %>"><%= Spree.t("shipment_states.#{shipment.state.downcase}") %></span></td>
<td> <%= shipment.display_item_cost.to_html %></td>
<td ><%= shipment.display_cost.to_html %></td>
<td><%= Spree::Money.new(shipment.tax_total, currency: shipment.currency).to_html %></td>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ en:
address: Address
admins: Admins
back_to_orders_list: Back To Orders List
back_to_shipments_list: Back to Shipments List
back_to_suppliers: Back To Suppliers
business: Business
cancel: Cancel
Expand Down
3 changes: 2 additions & 1 deletion config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ es:
address: Dirección
admins: Administradores
back_to_orders_list: Volver a Lista de órdenes
back_to_shipments_list: Volver a la Lista de Envíos
back_to_suppliers: Volver a Proveedores
business: Negocio
cancel: Cancelar
Expand Down Expand Up @@ -97,7 +98,7 @@ es:
shared:
unauthorized:
explained: No está autorizado para acceder a esta página
unauthorized: No autorizado
unauthorized: No autorizadoz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the last z intended?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really, seems to be missed, I'll remove it

show_only_incomplete_orders: Mostrar solo órdenes incompletas
signup: Registrarse
signup_to_become_a_supplier: Regístrese para convertirse en proveedor
Expand Down