Skip to content

Commit 943bfd6

Browse files
authored
add failed export batch notifications (#132)
Co-authored-by: Harouna Traoré <[email protected]>
1 parent 2932027 commit 943bfd6

File tree

10 files changed

+24
-0
lines changed

10 files changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## UNRELEASED
4+
5+
### Adds
6+
7+
* Adds failed export batch notifications.
8+
39
## 3.4.0 (2025-10-30)
410

511
### Changes

i18n/de.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"exportModalRelatedDocumentDescription": "Die folgenden Dokumenttypen bei Bedarf einbeziehen",
1414
"exportModalSettingsLabel": "Exporteinstellungen",
1515
"exported": "Exportiert {{ count }} {{ type }}",
16+
"exportedFailed": "Export von {{ type }} fehlgeschlagen",
17+
"exportedWithFailures": "Exportiert {{ count }} {{ type }} ({{ bad }} von {{ total }} fehlgeschlagen)",
1618
"exporting": "Exportiere {{ type }}...",
1719
"import": "Importiere {{ type }}",
1820
"importCleanFailed": "Die Bereinigung der importierten Datei auf dem Server ist fehlgeschlagen.",

i18n/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"exportModalSettingsLabel": "Export Settings",
1717
"exportModalToggleAllRelated": "Toggle all",
1818
"exported": "Exported {{ count }} {{ type }}",
19+
"exportedFailed": "Exporting {{ type }} failed",
20+
"exportedWithFailures": "Exported {{ count }} {{ type }} ({{ bad }} of {{ total }} failed)",
1921
"exporting": "Exporting {{ type }}...",
2022
"import": "Import {{ type }}",
2123
"importCleanFailed": "The cleaning of the imported file on the server failed.",

i18n/es.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"exportModalRelatedDocumentDescription": "Incluir los siguientes tipos de documentos donde sea aplicable",
1414
"exportModalSettingsLabel": "Configuraciones de Exportación",
1515
"exported": "Exportado {{ count }} {{ type }}",
16+
"exportedFailed": "Error al exportar {{ type }}",
17+
"exportedWithFailures": "Exportado {{ count }} {{ type }} ({{ bad }} de {{ total }} fallaron)",
1618
"exporting": "Exportando {{ type }}...",
1719
"import": "Importar {{ type }}",
1820
"importCleanFailed": "La limpieza del archivo importado en el servidor falló.",

i18n/fr.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"exportModalRelatedDocumentDescription": "Inclure les types de documents suivants le cas échéant",
1414
"exportModalSettingsLabel": "Paramètres d'exportation",
1515
"exported": "Exporté {{ count }} {{ type }}",
16+
"exportedFailed": "L'exportation de {{ type }} a échoué",
17+
"exportedWithFailures": "Exporté {{ count }} {{ type }} ({{ bad }} sur {{ total }} ont échoué)",
1618
"exporting": "Exportation de {{ type }}...",
1719
"import": "Importer {{ type }}",
1820
"importCleanFailed": "Le nettoyage du fichier importé sur le serveur a échoué.",

i18n/it.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"exportModalRelatedDocumentDescription": "Includi i seguenti tipi di documento dove applicabile",
1414
"exportModalSettingsLabel": "Impostazioni di esportazione",
1515
"exported": "Esportati {{ count }} {{ type }}",
16+
"exportedFailed": "Esportazione di {{ type }} non riuscita",
17+
"exportedWithFailures": "Esportati {{ count }} {{ type }} ({{ bad }} di {{ total }} non riusciti)",
1618
"exporting": "Esportazione {{ type }}...",
1719
"import": "Importa {{ type }}",
1820
"importCleanFailed": "La pulizia del file importato sul server è fallita.",

i18n/pt-BR.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"exportModalRelatedDocumentDescription": "Incluir os seguintes tipos de documentos onde aplicável",
1414
"exportModalSettingsLabel": "Configurações de Exportação",
1515
"exported": "Exportados {{ count }} {{ type }}",
16+
"exportedFailed": "Falha ao exportar {{ type }}",
17+
"exportedWithFailures": "Exportados {{ count }} {{ type }} ({{ bad }} de {{ total }} falharam)",
1618
"exporting": "Exportando {{ type }}...",
1719
"import": "Importar {{ type }}",
1820
"importCleanFailed": "A limpeza do arquivo importado no servidor falhou.",

i18n/sk.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"exportModalRelatedDocumentDescription": "Zahrnúť nasledujúce typy dokumentov tam, kde je to relevantné",
1414
"exportModalSettingsLabel": "Nastavenia exportu",
1515
"exported": "Exportované {{ count }} {{ type }}",
16+
"exportedFailed": "Exportovanie {{ type }} zlyhalo",
17+
"exportedWithFailures": "Exportované {{ count }} {{ type }} ({{ bad }} z {{ total }} zlyhalo)",
1618
"exporting": "Exportovanie {{ type }}...",
1719
"import": "Importovať {{ type }}",
1820
"importCleanFailed": "Údržba importovaného súboru na serveri zlyhala.",

modules/@apostrophecms/import-export-page/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ module.exports = {
3131
messages: {
3232
progress: 'aposImportExport:exporting',
3333
completed: 'aposImportExport:exported',
34+
completedWithFailures: 'aposImportExport:exportedWithFailures',
35+
failed: 'aposImportExport:exportedFailed',
3436
icon: 'database-export-icon',
3537
resultsEventName: 'import-export-export-download'
3638
},

modules/@apostrophecms/import-export-piece-type/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ module.exports = {
3131
messages: {
3232
progress: 'aposImportExport:exporting',
3333
completed: 'aposImportExport:exported',
34+
completedWithFailures: 'aposImportExport:exportedWithFailures',
35+
failed: 'aposImportExport:exportedFailed',
3436
icon: 'database-export-icon',
3537
resultsEventName: 'import-export-export-download'
3638
},

0 commit comments

Comments
 (0)