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

add ES translations #552

Merged
merged 3 commits into from
Oct 8, 2021
Merged
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
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",
})
}]);
}