diff --git a/src/modules/i18n/locales/de.json b/src/modules/i18n/locales/de.json index b46ba2379..695e87e25 100644 --- a/src/modules/i18n/locales/de.json +++ b/src/modules/i18n/locales/de.json @@ -248,7 +248,7 @@ "feedback_unsupported_format": "Dieser Dateityp wird leider nicht unterstützt. Bitte verwenden Sie eine .pdf, .zip, .jpg, .jpeg, .kml, .kmz oder .gpx Datei.", "field_required": "Dieses Feld ist erforderlich", "file_imported_success": "Datei erfolgreich importiert", - "file_imported_partially_out_of_bounds": "Die importierte Datei befindet sich nicht vollständig innerhalb der Schweizer Grenzen. Einige Funktionalitäten stehen möglicherweise nicht zur Verfügung.", + "file_imported_partially_out_of_bounds": "Die importierte Datei liegt teilweise innerhalb der Schweizer Grenzen. Einige Funktionalitäten stehen möglicherweise nicht zur Verfügung.", "file_is_not_kml": "Dieses File ist keine KML Datei. ", "file_name": "Zeichnungsname", "file_too_large": "Die Datei ist zu gross (maximal erlaubte Grösse: {maxFileSize}).", diff --git a/src/modules/i18n/locales/en.json b/src/modules/i18n/locales/en.json index 5cbae4324..67b1a4a2e 100644 --- a/src/modules/i18n/locales/en.json +++ b/src/modules/i18n/locales/en.json @@ -248,7 +248,7 @@ "feedback_unsupported_format": "This file format is not supported. Thanks for using another format for you attachment.", "field_required": "This field is required", "file_imported_success": "File successfully imported", - "file_imported_partially_out_of_bounds": "The imported file is not completely within the swiss boundaries. Some functionalities might not be available.", + "file_imported_partially_out_of_bounds": "The imported file is partially within the swiss boundaries. Some functionalities might not be available.", "file_is_not_kml": "The file is not a KML file.", "file_name": "Drawing name", "file_too_large": "The file is too large (max size allowed {maxFileSize}).", diff --git a/src/modules/i18n/locales/fr.json b/src/modules/i18n/locales/fr.json index 8ae665c20..49de0471e 100644 --- a/src/modules/i18n/locales/fr.json +++ b/src/modules/i18n/locales/fr.json @@ -248,7 +248,7 @@ "feedback_unsupported_format": "Le format du fichier n’est pas pris en charge, merci d’utiliser un autre format pour votre pièce jointe.", "field_required": "Ce champ est requis", "file_imported_success": "Fichier importé avec succès", - "file_imported_partially_out_of_bounds": "Le fichier importé n'est pas entièrement à l'intérieur des frontières suisses. Certaines fonctionnalités peuvent ne pas être disponibles.", + "file_imported_partially_out_of_bounds": "Le fichier importé se trouve partiellement à l'intérieur des frontières suisses. Certaines fonctionnalités peuvent ne pas être disponibles.", "file_is_not_kml": "Ce fichier n'est pas un fichier KML.", "file_name": "Nom du dessin", "file_too_large": "Ce fichier est trop volumineux (taille maximale autorisée : {maxFileSize})", diff --git a/src/modules/i18n/locales/it.json b/src/modules/i18n/locales/it.json index 26bdf193f..0486ce420 100644 --- a/src/modules/i18n/locales/it.json +++ b/src/modules/i18n/locales/it.json @@ -248,7 +248,7 @@ "feedback_unsupported_format": "Il formato del file selezionato non è supportato dal sistema, per favore utilizzare un altro formato per il vostro allegato.", "field_required": "Questo campo è obbligatorio", "file_imported_success": "File importato con successo", - "file_imported_partially_out_of_bounds": "Il file importato non rientra completamente nei confini svizzeri. Alcune funzionalità potrebbero non essere disponibili.", + "file_imported_partially_out_of_bounds": "Il file importato si trova parzialmente all'interno dei confini svizzeri. Alcune funzionalità potrebbero non essere disponibili.", "file_is_not_kml": "Questo file non è un file KML.", "file_name": "Nome del disegno", "file_too_large": "Il file é troppo grande (dimensione massima consentita: {maxFileSize})", diff --git a/tests/cypress/tests-e2e/importToolFile.cy.js b/tests/cypress/tests-e2e/importToolFile.cy.js index de256deb7..cd76554a1 100644 --- a/tests/cypress/tests-e2e/importToolFile.cy.js +++ b/tests/cypress/tests-e2e/importToolFile.cy.js @@ -144,9 +144,11 @@ describe('The Import File Tool', () => { cy.get('[data-cy="file-input-text"]') .should('have.class', 'is-valid') .should('not.have.class', 'is-invalid') - cy.get('[data-cy="file-input-valid-feedback"]') + cy.get('[data-cy="file-input-warning-feedback"]') .should('be.visible') - .contains('File successfully imported') + .contains( + 'The imported file is partially within the swiss boundaries. Some functionalities might not be available.' + ) cy.get('[data-cy="import-file-load-button"]').should('be.visible').contains('Import') cy.get('[data-cy="import-file-online-content"]').should('not.be.visible') cy.readStoreValue('state.layers.activeLayers').should('have.length', 4)