Bug 33549: Improve wording of dialog messages

In terms of translations type can be a lot of things.
Usually translations are easier with more context, so
I've added restriction to the type :)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-04-20 21:07:11 +00:00 committed by Tomas Cohen Arazi
parent 28735b8ff3
commit 286fc75f01
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -60,19 +60,19 @@
<div class="dialog message [% m.code | html %]">
[% SWITCH m.code %]
[% CASE 'add_success' %]
Type added
Restriction type added
[% CASE 'update_success' %]
Type updated
Restriction type updated
[% CASE 'duplicate_display_text' %]
Another restriction already has this label
[% CASE 'duplicate_code' %]
Another restriction already has this code
[% CASE 'delete_success' %]
Type deleted
Restriction type deleted
[% CASE 'delete_default' %]
Cannot delete the default type
Cannot delete the default restriction type
[% CASE 'delete_system' %]
Cannot delete a system type
Cannot delete a system restriction type
[% CASE %]
[% m.code | html %]
[% END %]