From 45e049befbe089e0e298efc1a7bd0ef9b251d872 Mon Sep 17 00:00:00 2001 From: "Darryl L. Pierce" Date: Tue, 22 Dec 2020 08:03:59 -0500 Subject: [PATCH] Changed the i18n entry name for the effect failure text [#559] --- comixed-frontend/src/assets/i18n/es/app.json | 2 +- comixed-frontend/src/assets/i18n/fr/app.json | 2 +- comixed-frontend/src/assets/i18n/pt/app.json | 2 +- comixed-web/src/app/effects/session.effects.ts | 2 +- comixed-web/src/app/library/effects/comic-import.effects.ts | 4 ++-- comixed-web/src/app/library/effects/library.effects.ts | 2 +- comixed-web/src/app/user/effects/user.effects.ts | 4 ++-- comixed-web/src/assets/i18n/en/app.json | 2 +- comixed-web/src/assets/i18n/en/library.json | 3 +++ comixed-web/src/assets/i18n/es/app.json | 2 +- comixed-web/src/assets/i18n/fr/app.json | 2 +- comixed-web/src/assets/i18n/pt/app.json | 2 +- 12 files changed, 16 insertions(+), 13 deletions(-) diff --git a/comixed-frontend/src/assets/i18n/es/app.json b/comixed-frontend/src/assets/i18n/es/app.json index 21a307c31..6d46b2939 100644 --- a/comixed-frontend/src/assets/i18n/es/app.json +++ b/comixed-frontend/src/assets/i18n/es/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "deselect": "Deselect", diff --git a/comixed-frontend/src/assets/i18n/fr/app.json b/comixed-frontend/src/assets/i18n/fr/app.json index 21a307c31..6d46b2939 100644 --- a/comixed-frontend/src/assets/i18n/fr/app.json +++ b/comixed-frontend/src/assets/i18n/fr/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "deselect": "Deselect", diff --git a/comixed-frontend/src/assets/i18n/pt/app.json b/comixed-frontend/src/assets/i18n/pt/app.json index 21a307c31..6d46b2939 100644 --- a/comixed-frontend/src/assets/i18n/pt/app.json +++ b/comixed-frontend/src/assets/i18n/pt/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "deselect": "Deselect", diff --git a/comixed-web/src/app/effects/session.effects.ts b/comixed-web/src/app/effects/session.effects.ts index d6ad271c0..c901b1bfc 100644 --- a/comixed-web/src/app/effects/session.effects.ts +++ b/comixed-web/src/app/effects/session.effects.ts @@ -77,7 +77,7 @@ export class SessionEffects { catchError(error => { this.logger.error('General failure:', error); this.alertService.error( - this.translateService.instant('app.general-effect-failure-detail') + this.translateService.instant('app.general-effect-failure') ); return of(loadSessionUpdateFailed()); }) diff --git a/comixed-web/src/app/library/effects/comic-import.effects.ts b/comixed-web/src/app/library/effects/comic-import.effects.ts index 8ea1921f4..5abe94d71 100644 --- a/comixed-web/src/app/library/effects/comic-import.effects.ts +++ b/comixed-web/src/app/library/effects/comic-import.effects.ts @@ -96,7 +96,7 @@ export class ComicImportEffects { catchError(error => { this.logger.error('General failure:', error); this.alertService.error( - this.translateService.instant('app.general-effect-failure-detail') + this.translateService.instant('app.general-effect-failure') ); return of(loadComicFilesFailed()); }) @@ -149,7 +149,7 @@ export class ComicImportEffects { catchError(error => { this.logger.error('General failure:', error); this.alertService.error( - this.translateService.instant('app.general-effect-failure-detail') + this.translateService.instant('app.general-effect-failure') ); return of(sendComicFilesFailed()); }) diff --git a/comixed-web/src/app/library/effects/library.effects.ts b/comixed-web/src/app/library/effects/library.effects.ts index 41929fb3b..5632827ca 100644 --- a/comixed-web/src/app/library/effects/library.effects.ts +++ b/comixed-web/src/app/library/effects/library.effects.ts @@ -63,7 +63,7 @@ export class LibraryEffects { catchError(error => { this.logger.error('general failure:', error); this.alertService.error( - this.translateService.instant('app.general-effect-failure-detail') + this.translateService.instant('app.general-effect-failure') ); return of(loadComicFailed()); }) diff --git a/comixed-web/src/app/user/effects/user.effects.ts b/comixed-web/src/app/user/effects/user.effects.ts index ae4e2395b..4fabc20cc 100644 --- a/comixed-web/src/app/user/effects/user.effects.ts +++ b/comixed-web/src/app/user/effects/user.effects.ts @@ -78,7 +78,7 @@ export class UserEffects { catchError(error => { this.logger.error('General failure:', error); this.alertService.error( - this.translateService.instant('app.general-effect-failure-detail') + this.translateService.instant('app.general-effect-failure') ); return of(loadCurrentUserFailed()); }) @@ -117,7 +117,7 @@ export class UserEffects { this.logger.error('General failure:', error); this.tokenService.clearAuthToken(); this.alertService.error( - this.translateService.instant('app.general-effect-failure-detail') + this.translateService.instant('app.general-effect-failure') ); return of(loginUserFailed()); }) diff --git a/comixed-web/src/assets/i18n/en/app.json b/comixed-web/src/assets/i18n/en/app.json index 901cfed26..f21aba065 100644 --- a/comixed-web/src/assets/i18n/en/app.json +++ b/comixed-web/src/assets/i18n/en/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "cancel": "Cancel", diff --git a/comixed-web/src/assets/i18n/en/library.json b/comixed-web/src/assets/i18n/en/library.json index ea9f76111..69de8e27f 100644 --- a/comixed-web/src/assets/i18n/en/library.json +++ b/comixed-web/src/assets/i18n/en/library.json @@ -99,5 +99,8 @@ "go-to-next-comic": "Go to the next comic in this series...", "go-to-previous-comic": "Go to the previous comic in this series..." } + }, + "scraping": { + "load-volumes-effect-failure": "Failed to load any volumes..." } } diff --git a/comixed-web/src/assets/i18n/es/app.json b/comixed-web/src/assets/i18n/es/app.json index 901cfed26..f21aba065 100644 --- a/comixed-web/src/assets/i18n/es/app.json +++ b/comixed-web/src/assets/i18n/es/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "cancel": "Cancel", diff --git a/comixed-web/src/assets/i18n/fr/app.json b/comixed-web/src/assets/i18n/fr/app.json index 901cfed26..f21aba065 100644 --- a/comixed-web/src/assets/i18n/fr/app.json +++ b/comixed-web/src/assets/i18n/fr/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "cancel": "Cancel", diff --git a/comixed-web/src/assets/i18n/pt/app.json b/comixed-web/src/assets/i18n/pt/app.json index 901cfed26..f21aba065 100644 --- a/comixed-web/src/assets/i18n/pt/app.json +++ b/comixed-web/src/assets/i18n/pt/app.json @@ -1,7 +1,7 @@ { "app": { "logged-in": "Logged in: {email}", - "general-effect-failure-detail": "A general error has occurred." + "general-effect-failure": "A general error has occurred." }, "button": { "cancel": "Cancel",