Skip to content
Permalink
Browse files

Add i18n for Models and Attributes

  • Loading branch information...
vicmaster committed Oct 4, 2016
1 parent 04b7b3e commit 6d0f99f68e5fd0d35d35ad027abfde4f7b74f3f5
Showing with 39 additions and 0 deletions.
  1. +20 −0 config/locales/en.yml
  2. +19 −0 config/locales/es-MX.yml
@@ -10,6 +10,26 @@ en:
restrict_dependent_destroy:
has_one: "Cannot delete record because a dependent %{record} exists"
has_many: "Cannot delete record because dependent %{record} exist"
models:
order:
one: "Order"
other: "Orders"
product:
one: "Product"
other: "Products"
user:
one: "User"
other: "Users"
category:
one: "Category"
other: "Categories"
attributes:
order:
number: "Number"
item_total: "Item Total"
state: "Estate"
completed_at: "Completed at"
new: "Nueva Orden"
date:
abbr_day_names:
- Sun
@@ -30,6 +30,25 @@ es-MX:
restrict_dependent_destroy:
has_one: El registro no puede ser eliminado pues existe un %{record} dependiente
has_many: El registro no puede ser eliminado pues existen %{record} dependientes
models:
order:
one: "Orden"
other: "Ordenes"
product:
one: "Producto"
other: "Productos"
user:
one: "Usuario"
other: "Usuarios"
category:
one: "Categoria"
other: "Categorias"
attributes:
order:
number: "No. de Orden"
item_total: "Total por Item"
state: "Estado"
completed_at: "Completada el"
date:
abbr_day_names:
- dom

0 comments on commit 6d0f99f

Please sign in to comment.
You can’t perform that action at this time.