Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(translations): consistent warning msg for user deletion #422

Merged
merged 1 commit into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addon/controllers/users/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class UsersIndexController extends PaginationController {
}

@task
@confirmTask({ message: "emeis.form.confirmUserDelete" })
@confirmTask({ message: "emeis.form.confirmEntryDelete" })
@handleTaskErrors({ errorMessage: "emeis.form.delete-error" })
*delete(model) {
yield model.destroyRecord();
Expand Down
1 change: 0 additions & 1 deletion addon/templates/users/edit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<EditForm
@model={{@model}}
@updateModel={{this.updateModel}}
@noDelete={{true}}
@listViewRouteName="users.index"
>
{{#unless this.emailAsUsername}}
Expand Down
1 change: 0 additions & 1 deletion translations/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ emeis:
cancel: "Abbrechen"
confirmText: "Sind Sie sich sicher, dass Sie diese Aktion fortfahren wollen?"
confirmEntryDelete: "Sind Sie sich sicher, dass Sie diesen Eintrag löschen wollen?"
confirmUserDelete: "Sind Sie sich sicher, dass Sie diesen Benutzer löschen wollen?"
save-success: "Erfolgreich gespeichert."
delete-success: "Erfolgreich gelöscht."
save-error: "Während dem Speichern ist ein Fehler aufgetretten. Bitte versuchen Sie es erneut."
Expand Down
1 change: 0 additions & 1 deletion translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ emeis:
cancel: "Cancel"
confirmText: "Are you sure you want to proceed with this action?"
confirmEntryDelete: "Are you sure you want to delete this entry?"
confirmUserDelete: "Are you sure you want to delete this user?"
save-success: "Saved successfully"
delete-success: "Deleted successfully"
save-error: "A problem occurred while saving. Please try again."
Expand Down