Skip to content

Commit

Permalink
Merge pull request #1553 from CaliOpen/frontend/ts_migration_edit_con…
Browse files Browse the repository at this point in the history
…tact

Frontend/ts migration edit contact
  • Loading branch information
iamdey committed Mar 3, 2022
2 parents 5361ebc + f63c5f4 commit d1c5a0d
Show file tree
Hide file tree
Showing 159 changed files with 4,204 additions and 3,934 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Change

- Improve contact edit form. Better error handling.

## [0.24.6] 2021-10-23

### Fixed
Expand Down
18 changes: 18 additions & 0 deletions src/frontend/web_application/locale/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"collection-field-group.action.add": "Hinzufügen",
"confirm.action.cancel": "",
"confirm.action.confirm": "",
"contact-asociation.loading": "",
"contact-association.action.add-new-contact": "",
"contact-book.action.add": "",
"contact-book.action.delete": "",
Expand All @@ -41,13 +42,16 @@
"contact-book.my-contact-details": "",
"contact-book.tags.action.edit-groups": "",
"contact.action-bar.label": "",
"contact.action.add-address": "",
"contact.action.add-identity": "",
"contact.action.add-organization": "",
"contact.action.add_new_field": "Hinzufügen",
"contact.action.cancel": "",
"contact.action.cancel_edit": "Abbrechen",
"contact.action.delete_contact": "Verwerfen",
"contact.action.edit_contact": "Kontakt bearbeiten",
"contact.action.edit_tags": "Labels bearbeiten",
"contact.action.save": "",
"contact.action.validate_edit": "Bestätitgen",
"contact.address_form.city.label": "Stadt",
"contact.address_form.country.label": "Land",
Expand All @@ -61,16 +65,19 @@
"contact.address_type.home": "Privat",
"contact.address_type.other": "Andere",
"contact.address_type.work": "Geschäftlich",
"contact.addresses": "",
"contact.confirm-delete.content": "",
"contact.confirm-delete.title": "",
"contact.contact-details.title": "",
"contact.edit_contact.title": "Kontakt bearbeiten",
"contact.email_form.address.label": "Adresse",
"contact.email_form.address.placeholder": "",
"contact.email_form.legend": "Email",
"contact.email_form.type.label": "Typ",
"contact.email_type.home": "Privat",
"contact.email_type.other": "Andere",
"contact.email_type.work": "Geschäftlich",
"contact.feedback.unable_to_delete": "",
"contact.feedback.unable_to_save": "",
"contact.feedback.unable_to_save_address_already_used": "",
"contact.form-selector.add_new_field.label": "Ein Feld hinzufügen",
Expand All @@ -86,6 +93,7 @@
"contact.identity_form.legend": "Identitäten",
"contact.identity_form.service.label": "Dienst",
"contact.im_form.address.label": "Adresse",
"contact.im_form.address.placeholder": "",
"contact.im_form.legend": "Instant messaging",
"contact.im_form.type.label": "Typ",
"contact.im_type.home": "Privat",
Expand All @@ -99,11 +107,13 @@
"contact.orga_form.label.label": "Label",
"contact.orga_form.legend": "Unternehmen",
"contact.orga_form.name.label": "Name",
"contact.orga_form.remove-button": "",
"contact.orga_form.title.label": "Title",
"contact.organization": "",
"contact.organizations": "",
"contact.phone_form.legend": "Telefon",
"contact.phone_form.number.label": "Telefonnummer",
"contact.phone_form.number.placeholder": "",
"contact.phone_form.type.label": "Type",
"contact.phone_type.home": "Privat",
"contact.phone_type.other": "Andere",
Expand Down Expand Up @@ -150,6 +160,7 @@
"discussion.action.goto_unread_message": "",
"discussion.action.label": "Whole discussion",
"discussion.action.reply": "Reply",
"draft-message.action.fix-error-on-advanced-form": "",
"draft-message.action.send": "",
"draft-message.action.toggle-advanced": "",
"draft-message.encryption.ko": "",
Expand Down Expand Up @@ -180,13 +191,16 @@
"encrytion.ask-passphrase.error.unknown": "",
"error-boundary.back-to-home": "",
"error-boundary.description": "",
"error-boundary.link-to-feedback": "",
"error-boundary.send-feedback": "",
"error-boundary.short-description": "",
"error-boundary.title": "",
"file.size.B": "",
"file.size.gB": "",
"file.size.kB": "",
"file.size.mB": "",
"file.size.tB": "",
"form-validation.required": "",
"general.action.cancel": "Abbrechen",
"general.action.load_more": "Mehr laden",
"header.actions.search": "",
Expand Down Expand Up @@ -275,6 +289,7 @@
"openpgp.details.status": "Status",
"openpgp.feedback.fingerprints-not-match": "Fingerabdrücke stimmen nicht überein",
"openpgp.feedback.need-passphrase": "",
"openpgp.feedback.private-key-required": "",
"openpgp.feedback.unable-read-private-key": "Der private Schlüssel konnte nicht gelesen werden",
"openpgp.feedback.wrong-passphrase": "",
"openpgp.private-key": "Geheimer Schlüssel",
Expand Down Expand Up @@ -434,6 +449,7 @@
"settings.signatures.title": "Ihr Unterschrift verändern",
"settings.tag.action.save-tag": "",
"settings.tag.form.error.create_fail": "",
"settings.tag.form.error.update_failed": "",
"settings.tags": "Tags",
"settings.tags.action.delete": "",
"settings.tags.title": "",
Expand Down Expand Up @@ -481,6 +497,7 @@
"signup.privacy.modal.text.get_data": "Zu diesem Zweck gewähren Sie uns das Recht, Daten zu Ihrer Nutzung zu sammeln (angezeigte Seiten, Timings, Clics, Scrolls ... fast alles, was gesammelt werden kann!).",
"signup.privacy.modal.text.piwik": "Wir benutzen https://piwik.org/, die Open-Source-Webanwendung. Die versammelte Daten werden mit keinem Dritte geteilt und werden nur im Rahmen Caliopens Beta Kontext benutzt.",
"signup.privacy.modal.title": "Caliopen wird noch entwickelt!",
"spinner.loading": "",
"tag_list.all_contacts": "Alle Kontakte",
"tags.action.add": "",
"tags.action.remove": "",
Expand Down Expand Up @@ -517,6 +534,7 @@
"timeline.confirm-delete.title": "",
"timeline.discussions.selected": "",
"timeline.draft-prefix": "Draft in progress:",
"unexpected_error.page_title": "",
"user.action.cancel_edit": "Abbrechen",
"user.action.delete": "",
"user.action.edit_profile": "Bearbeiten",
Expand Down
18 changes: 18 additions & 0 deletions src/frontend/web_application/locale/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"collection-field-group.action.add": "Add",
"confirm.action.cancel": "Cancel",
"confirm.action.confirm": "Yes I'm sure",
"contact-asociation.loading": "Contact list is loading.",
"contact-association.action.add-new-contact": "Add new contact",
"contact-book.action.add": "Add",
"contact-book.action.delete": "Delete",
Expand All @@ -43,13 +44,16 @@
"contact-book.my-contact-details": "My contact details",
"contact-book.tags.action.edit-groups": "Edit tags",
"contact.action-bar.label": "Contact:",
"contact.action.add-address": "Add an address",
"contact.action.add-identity": "Add an identity",
"contact.action.add-organization": "Add an organization",
"contact.action.add_new_field": "Add new",
"contact.action.cancel": "Cancel",
"contact.action.cancel_edit": "Cancel",
"contact.action.delete_contact": "Delete",
"contact.action.edit_contact": "Edit contact",
"contact.action.edit_tags": "Edit tags",
"contact.action.save": "Save",
"contact.action.validate_edit": "Validate",
"contact.address_form.city.label": "City",
"contact.address_form.country.label": "Country",
Expand All @@ -63,16 +67,19 @@
"contact.address_type.home": "Personal",
"contact.address_type.other": "Other",
"contact.address_type.work": "Professional",
"contact.addresses": "Addresses",
"contact.confirm-delete.content": "The deletion is permanent, are you sure you want to delete this contact?",
"contact.confirm-delete.title": "Delete the contact",
"contact.contact-details.title": "Contact details",
"contact.edit_contact.title": "Edit contact",
"contact.email_form.address.label": "Address",
"contact.email_form.address.placeholder": "Email",
"contact.email_form.legend": "Email",
"contact.email_form.type.label": "Type",
"contact.email_type.home": "Personal",
"contact.email_type.other": "Other",
"contact.email_type.work": "Professional",
"contact.feedback.unable_to_delete": "Unable to delete the contact",
"contact.feedback.unable_to_save": "Unable to save the contact",
"contact.feedback.unable_to_save_address_already_used": "The address \"{address}\" belongs to <0>{name}</0>. You can remove it from that contact before using it here.",
"contact.form-selector.add_new_field.label": "Add a new field",
Expand All @@ -88,6 +95,7 @@
"contact.identity_form.legend": "Identities",
"contact.identity_form.service.label": "Service",
"contact.im_form.address.label": "Address",
"contact.im_form.address.placeholder": "Address",
"contact.im_form.legend": "Instant messaging",
"contact.im_form.type.label": "Type",
"contact.im_type.home": "Personal",
Expand All @@ -101,11 +109,13 @@
"contact.orga_form.label.label": "Label",
"contact.orga_form.legend": "Organization",
"contact.orga_form.name.label": "Organization's name",
"contact.orga_form.remove-button": "Remove",
"contact.orga_form.title.label": "Title",
"contact.organization": "Organization",
"contact.organizations": "Organizations:",
"contact.phone_form.legend": "Phone",
"contact.phone_form.number.label": "Number",
"contact.phone_form.number.placeholder": "Number",
"contact.phone_form.type.label": "Type",
"contact.phone_type.home": "Home",
"contact.phone_type.other": "Other",
Expand Down Expand Up @@ -152,6 +162,7 @@
"discussion.action.goto_unread_message": "You have unread messages ↑",
"discussion.action.label": "Whole discussion",
"discussion.action.reply": "Reply",
"draft-message.action.fix-error-on-advanced-form": "Unable to send the message, you can fix it or delete it in the <0>Advanced form</0>",
"draft-message.action.send": "Send",
"draft-message.action.toggle-advanced": "Toggle advanced or quick message form",
"draft-message.encryption.ko": "This message is not encrypted",
Expand Down Expand Up @@ -182,13 +193,16 @@
"encrytion.ask-passphrase.error.unknown": "Unknown error while decrypting private key.",
"error-boundary.back-to-home": "Go back to home",
"error-boundary.description": "<0>We are are very sorry, an error occured on your account. It is what we call a «BSOD», that should never happens (but sometimes it does).</0><1>You can help us to resolve this bug by creating a new post on our feedback website (see link below). We will try to answer as soon as possible.</1><2>Of course you can browse <3>feedback.caliopen.org</3> and help us to improve Caliopen.</2>",
"error-boundary.link-to-feedback": "Send us a feedback",
"error-boundary.send-feedback": "Send us a feedback",
"error-boundary.short-description": "We are are very sorry, an error occured on your account. This should never happens (but sometimes it does). Please retry later or send us a feedback.",
"error-boundary.title": "Something went wrong.",
"file.size.B": "{size} B",
"file.size.gB": "<0/> gB",
"file.size.kB": "<0/> kB",
"file.size.mB": "<0/> mB",
"file.size.tB": "<0/> tB",
"form-validation.required": "Required",
"general.action.cancel": "Cancel",
"general.action.load_more": "Load more",
"header.actions.search": "Search",
Expand Down Expand Up @@ -277,6 +291,7 @@
"openpgp.details.status": "Status",
"openpgp.feedback.fingerprints-not-match": "Fingerprints do not match",
"openpgp.feedback.need-passphrase": "Passphrase is needed to retrieve public key",
"openpgp.feedback.private-key-required": "A file is required (extension .asc)",
"openpgp.feedback.unable-read-private-key": "Unable to read private key",
"openpgp.feedback.wrong-passphrase": "Cannot decrypt your private key with current passphrase",
"openpgp.private-key": "Private key",
Expand Down Expand Up @@ -436,6 +451,7 @@
"settings.signatures.title": "Update your signature",
"settings.tag.action.save-tag": "Save",
"settings.tag.form.error.create_fail": "Unable to create the tag. A tag with the same id may already exist.",
"settings.tag.form.error.update_failed": "Unexpected error occured",
"settings.tags": "Tags",
"settings.tags.action.delete": "Delete",
"settings.tags.title": "Tags",
Expand Down Expand Up @@ -483,6 +499,7 @@
"signup.privacy.modal.text.get_data": "For this purpose, you grant us the right to collect data related to your usage (displayed pages, timings, clics, scrolls ...almost everything that can be collected!).",
"signup.privacy.modal.text.piwik": "We use https://piwik.org/ the open-source analytics plateform. The collected data will not be disclosed to any third party, and will stay scoped to Caliopen's beta testing purpose.",
"signup.privacy.modal.title": "Caliopen is under development!",
"spinner.loading": "Loading …",
"tag_list.all_contacts": "All contacts",
"tags.action.add": "Add",
"tags.action.remove": "Remove",
Expand Down Expand Up @@ -520,6 +537,7 @@
"timeline.discussions.selected": "{count, plural, one {#/{totalCount} discussion} other {#/{totalCount} discussions}}",
"timeline.draft-prefix": "Draft in progress:",
"timeline.new_messages": "You have {0} new messages",
"unexpected_error.page_title": "Page not found",
"user.action.cancel_edit": "Cancel",
"user.action.delete": "Delete account",
"user.action.edit_profile": "Edit",
Expand Down
18 changes: 18 additions & 0 deletions src/frontend/web_application/locale/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"collection-field-group.action.add": "Añadir",
"confirm.action.cancel": "Cancelar",
"confirm.action.confirm": "Si, estoy seguro",
"contact-asociation.loading": "",
"contact-association.action.add-new-contact": "Añadir nuevo contacto",
"contact-book.action.add": "Añadir",
"contact-book.action.delete": "Borrar",
Expand All @@ -43,13 +44,16 @@
"contact-book.my-contact-details": "Detalles de mi contacto",
"contact-book.tags.action.edit-groups": "Editar etiquetas",
"contact.action-bar.label": "Contacto:",
"contact.action.add-address": "",
"contact.action.add-identity": "Añadir una identidad",
"contact.action.add-organization": "Añadir una organización",
"contact.action.add_new_field": "Añadir nuevo/a",
"contact.action.cancel": "",
"contact.action.cancel_edit": "Cancelar",
"contact.action.delete_contact": "Borrar",
"contact.action.edit_contact": "Editar contacto",
"contact.action.edit_tags": "Editar etiquetas",
"contact.action.save": "",
"contact.action.validate_edit": "Validar",
"contact.address_form.city.label": "Ciudad",
"contact.address_form.country.label": "País",
Expand All @@ -63,16 +67,19 @@
"contact.address_type.home": "Personal",
"contact.address_type.other": "Otros",
"contact.address_type.work": "Profesional",
"contact.addresses": "",
"contact.confirm-delete.content": "El borrado es permanente, está seguro de que quiere borrar este contacto?",
"contact.confirm-delete.title": "Borrar el contacto",
"contact.contact-details.title": "Detalles del contacto",
"contact.edit_contact.title": "Editar contacto",
"contact.email_form.address.label": "Dirección",
"contact.email_form.address.placeholder": "",
"contact.email_form.legend": "Correo electrónico",
"contact.email_form.type.label": "Tipo",
"contact.email_type.home": "Personal",
"contact.email_type.other": "Otro",
"contact.email_type.work": "Professional",
"contact.feedback.unable_to_delete": "",
"contact.feedback.unable_to_save": "Intento fallido al guardar al contacto",
"contact.feedback.unable_to_save_address_already_used": "",
"contact.form-selector.add_new_field.label": "Añadir un campo",
Expand All @@ -88,6 +95,7 @@
"contact.identity_form.legend": "Identidades",
"contact.identity_form.service.label": "Servicio",
"contact.im_form.address.label": "Dirección",
"contact.im_form.address.placeholder": "",
"contact.im_form.legend": "Mensajería instantánea",
"contact.im_form.type.label": "Tipo",
"contact.im_type.home": "Personal",
Expand All @@ -101,11 +109,13 @@
"contact.orga_form.label.label": "Etiqueta",
"contact.orga_form.legend": "Organización",
"contact.orga_form.name.label": "Nombre de la organización",
"contact.orga_form.remove-button": "",
"contact.orga_form.title.label": "Título",
"contact.organization": "Organización",
"contact.organizations": "Organizaciones :",
"contact.phone_form.legend": "Teléfono",
"contact.phone_form.number.label": "Número",
"contact.phone_form.number.placeholder": "",
"contact.phone_form.type.label": "Tipo",
"contact.phone_type.home": "",
"contact.phone_type.other": "Otro",
Expand Down Expand Up @@ -152,6 +162,7 @@
"discussion.action.goto_unread_message": "Tienes mensajes sin leer ↑",
"discussion.action.label": "Discusión completa",
"discussion.action.reply": "Contestar",
"draft-message.action.fix-error-on-advanced-form": "",
"draft-message.action.send": "Enviar",
"draft-message.action.toggle-advanced": "Formulario avanzado o básico",
"draft-message.encryption.ko": "Este mensaje no está encriptado",
Expand Down Expand Up @@ -182,13 +193,16 @@
"encrytion.ask-passphrase.error.unknown": "Error desconocido al desencriptar la clave privada.",
"error-boundary.back-to-home": "Volver al inicio",
"error-boundary.description": "<0>Lo sentimos mucho, ha ocurrido un error en tu cuenta. A esto lo llamamos un «BSOD», no debería suceder nunca (pero a veces sucede).</0><1>Nos puedes ayudar para resolver este problema creando una nueva entrada en nuestro sitio web «feedback» (ver enlace más abajo). Procuraremos contestar a la mayor brevedad.</1><2>Por supuesto puedes explorar el <3>feedback.caliopen.org</3> y ayudarnos a mejorar Caliopen.<2>",
"error-boundary.link-to-feedback": "",
"error-boundary.send-feedback": "",
"error-boundary.short-description": "",
"error-boundary.title": "",
"file.size.B": "",
"file.size.gB": "",
"file.size.kB": "",
"file.size.mB": "",
"file.size.tB": "",
"form-validation.required": "",
"general.action.cancel": "",
"general.action.load_more": "",
"header.actions.search": "",
Expand Down Expand Up @@ -270,6 +284,7 @@
"openpgp.action.remove-key": "",
"openpgp.feedback.fingerprints-not-match": "",
"openpgp.feedback.need-passphrase": "",
"openpgp.feedback.private-key-required": "",
"openpgp.feedback.unable-read-private-key": "",
"openpgp.feedback.wrong-passphrase": "",
"openpgp.status.expired": "",
Expand Down Expand Up @@ -427,6 +442,7 @@
"settings.signatures.title": "",
"settings.tag.action.save-tag": "",
"settings.tag.form.error.create_fail": "",
"settings.tag.form.error.update_failed": "",
"settings.tags": "",
"settings.tags.action.delete": "",
"settings.tags.title": "",
Expand Down Expand Up @@ -474,6 +490,7 @@
"signup.privacy.modal.text.get_data": "",
"signup.privacy.modal.text.piwik": "",
"signup.privacy.modal.title": "",
"spinner.loading": "",
"tag_list.all_contacts": "",
"tags.action.add": "",
"tags.action.remove": "",
Expand Down Expand Up @@ -510,6 +527,7 @@
"timeline.confirm-delete.title": "",
"timeline.discussions.selected": "",
"timeline.draft-prefix": "",
"unexpected_error.page_title": "",
"user.action.cancel_edit": "",
"user.action.delete": "",
"user.action.edit_profile": "",
Expand Down

0 comments on commit d1c5a0d

Please sign in to comment.