aor-language-spanish
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,5 +8,5 @@ module.exports = { | ||
save: 'Guardar', | ||
cancel: 'Cancelar', | ||
create: 'Crear', | ||
edit: 'Editar', | ||
cancel: 'Cancelar', | ||
refresh: 'Actualizar', | ||
@@ -40,2 +40,3 @@ add_filter: 'Añadir filtro', | ||
navigation: { | ||
no_results: 'No se encontraron resultados', | ||
page_out_of_boundaries: 'La página %{page} esta fuera del limite', | ||
@@ -42,0 +43,0 @@ page_out_from_end: 'No se puede ir después de la última página', |
{ | ||
"name": "aor-language-spanish", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Spanish translations for admin-on-rest, the frontend framework for building admin applications on top of REST services", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,2 +7,4 @@ # Spanish Translations for Admin-on-rest | ||
#### NPM | ||
```sh | ||
@@ -12,2 +14,8 @@ npm install --save aor-language-spanish | ||
#### YARN | ||
```sh | ||
yarn add aor-language-spanish | ||
``` | ||
## Usage | ||
@@ -17,3 +25,5 @@ | ||
import spanishMessages from 'aor-language-spanish'; | ||
import myMessages from '../somepath'; | ||
//Case you have only those messsages | ||
const messages = { | ||
@@ -23,2 +33,10 @@ 'es': spanishMessages, | ||
//if you have more translations | ||
const messages = { | ||
'es': { | ||
...spanishMessages, | ||
myMessages | ||
} | ||
} | ||
<Admin locale="es" messages={messages}> | ||
@@ -25,0 +43,0 @@ ... |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3665
64
46