Skip to content

Commit

Permalink
Changed the i18n entry name for the effect failure text [#559]
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpierce committed Mar 1, 2021
1 parent 6a66dfe commit 45e049b
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion comixed-web/src/app/effects/session.effects.ts
Expand Up @@ -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());
})
Expand Down
4 changes: 2 additions & 2 deletions comixed-web/src/app/library/effects/comic-import.effects.ts
Expand Up @@ -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());
})
Expand Down Expand Up @@ -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());
})
Expand Down
2 changes: 1 addition & 1 deletion comixed-web/src/app/library/effects/library.effects.ts
Expand Up @@ -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());
})
Expand Down
4 changes: 2 additions & 2 deletions comixed-web/src/app/user/effects/user.effects.ts
Expand Up @@ -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());
})
Expand Down Expand Up @@ -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());
})
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down
3 changes: 3 additions & 0 deletions comixed-web/src/assets/i18n/en/library.json
Expand Up @@ -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..."
}
}
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down

0 comments on commit 45e049b

Please sign in to comment.