diff --git a/package-lock.json b/package-lock.json index 6a60c95c6..ce9c4d7c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@quasar/extras": "^1.16.4", "axios": "^1.4.0", "chromium": "^3.0.3", + "croppie": "^2.6.5", "pinia": "^2.1.3", "quasar": "^2.12.0", "validator": "^13.9.0", @@ -3169,6 +3170,11 @@ "node": ">= 10" } }, + "node_modules/croppie": { + "version": "2.6.5", + "resolved": "https://registry.npmjs.org/croppie/-/croppie-2.6.5.tgz", + "integrity": "sha512-IlChnVUGG5T3w2gRZIaQgBtlvyuYnlUWs2YZIXXR3H9KrlO1PtBT3j+ykxvy9eZIWhk+V5SpBmhCQz5UXKrEKQ==" + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", diff --git a/package.json b/package.json index c4f5b828a..13297aaf4 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@quasar/extras": "^1.16.4", "axios": "^1.4.0", "chromium": "^3.0.3", + "croppie": "^2.6.5", "pinia": "^2.1.3", "quasar": "^2.12.0", "validator": "^13.9.0", diff --git a/src/components/EditPictureForm.vue b/src/components/EditPictureForm.vue index a1d994399..d2b3df528 100644 --- a/src/components/EditPictureForm.vue +++ b/src/components/EditPictureForm.vue @@ -1,22 +1,38 @@ + + es: Edit photo: Editar foto Select from computer: Seleccionar desde ordenador Import from external URL: Importar desde URL externa + Vertical: Vertical + Normal: Normal + Panoramic: Panorámica + Orientation: Orientación + File: Fichero + This photo provider doesn't allow remote downloads: Este proveedor de fotos no permite descargas remotas + Rotate left: Girar a la izquierda + Rotate right: Girar a la derecha diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index ea8769c58..e8d10e8b4 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -1102,5 +1102,8 @@ export default { addToPinned: 'Add to pinned', removeFromPinned: 'Remove from pinned', }, + editPictureForm: { + allowedFilesText: 'Allowed file types: { allowedContentTypes }', + }, }, }; diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 9f407ab0b..67e3a2c29 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -1102,5 +1102,8 @@ export default { addToPinned: 'Añadir a fijados', removeFromPinned: 'Eliminar de fijados', }, + editPictureForm: { + allowedFilesText: 'Tipos de archivo permitidos: { allowedContentTypes }', + }, }, };