Skip to content

Commit

Permalink
Merge pull request #552 from LuccaSA/user-picker-es-translations
Browse files Browse the repository at this point in the history
add ES translations
  • Loading branch information
GuillaumeNury authored Oct 8, 2021
2 parents 771a1fa + 2406a1f commit 3c1df74
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 22 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
### Changes (non-breaking)
### Bug fixes

## 4.1.5 - [release](https://github.com/LuccaSA/lucca-ui/releases/tag/4.1.5)
### Changes (non-breaking)
- `luid-user-picker` support ES translations
## 4.1.4 - [release](https://github.com/LuccaSA/lucca-ui/releases/tag/4.1.4)
### Changes (non-breaking)
- `luid-image-picker` uses v3 files API
Expand Down
26 changes: 19 additions & 7 deletions demo/libs/lucca-ui.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions demo/libs/ui-cropper.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lucca-ui.global.min.css

Large diffs are not rendered by default.

26 changes: 19 additions & 7 deletions dist/lucca-ui.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/lucca-ui.min.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lucca-ui",
"version": "4.1.4",
"version": "4.1.5",
"description": "less and js framework by lucca",
"main": "dist/lucca-ui.js",
"dependencies": {
Expand Down Expand Up @@ -48,6 +48,7 @@
"karma-junit-reporter": "^0.3.8",
"karma-phantomjs-launcher": "^1.0.0",
"load-grunt-configs": "^0.4.3",
"node-sass": "4.7.2",
"phantomjs-prebuilt": "^2.1.4",
"protractor": "=3.1.1",
"remap-istanbul": "^0.5.1",
Expand Down Expand Up @@ -79,5 +80,8 @@
"start": "grunt",
"test": "grunt test",
"build": "grunt dist"
},
"volta": {
"node": "8.17.0"
}
}
12 changes: 12 additions & 0 deletions ts/user-picker/user-picker.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,5 +342,17 @@ module lui.userpicker {
"LUIDUSERPICKER_ME": "Moi :",
"LUIDUSERPICKER_ALL": "Tous les utilisateurs",
});
$translateProvider.translations("es", {
"LUIDUSERPICKER_FORMEREMPLOYEE": "El contrato termina el {{dtContractEnd | luifMoment : 'LL'}}",
"LUIDUSERPICKER_NORESULTS": "No hay resultados",
"LUIDUSERPICKER_ERR_GET_USERS": "Error al recuperar los empleados",
"LUIDUSERPICKER_OVERFLOW": "{{cnt}} resultados mostrados de un total de {{all}}",
"LUIDUSERPICKER_DEPARTMENT": "Departamento",
"LUIDUSERPICKER_LEGALENTITY": "Entidad jurídica",
"LUIDUSERPICKER_EMPLOYEENUMBER": "Número de empleado",
"LUIDUSERPICKER_MAIL": "correo electrónico",
"LUIDUSERPICKER_ME": "Yo :",
"LUIDUSERPICKER_ALL": "Todos los usuarios",
})
}]);
}

0 comments on commit 3c1df74

Please sign in to comment.