Skip to content

Commit 270130c

Browse files
tischsoiclserwatka
authored andcommitted
EZP-30128: [Follow-up] Fix Sub-items delete/trash actions' messages (#199)
1 parent b0011e4 commit 270130c

File tree

2 files changed

+228
-53
lines changed

2 files changed

+228
-53
lines changed

Resources/translations/sub_items.en.xliff

Lines changed: 63 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,35 @@
66
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
77
</header>
88
<body>
9-
<trans-unit id="35e03083bfdfafc073cf343c74385bec3945b4ac" resname="bulk_delete.error.message">
9+
<trans-unit id="99402f0925918d4d739c4c61a90182a733824fa5" resname="bulk_delete.error.message.nonusers">
10+
<source>%notDeletedCount% of the %totalCount% selected item(s) could not be sent to trash because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</source>
11+
<target state="new">%notDeletedCount% of the %totalCount% selected item(s) could not be sent to trash because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</target>
12+
<note>key: bulk_delete.error.message.nonusers</note>
13+
</trans-unit>
14+
<trans-unit id="c74a6c9cb4bb7cbcf4a652e03e4fe9344514f38f" resname="bulk_delete.error.message.users">
1015
<source>%notDeletedCount% of the %totalCount% selected item(s) could not be deleted because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</source>
1116
<target state="new">%notDeletedCount% of the %totalCount% selected item(s) could not be deleted because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</target>
12-
<note>key: bulk_delete.error.message</note>
17+
<note>key: bulk_delete.error.message.users</note>
18+
</trans-unit>
19+
<trans-unit id="a873d91c27d787399ce6dfe9a96c4541e718bacf" resname="bulk_delete.error.message.users_with_nonusers">
20+
<source>%notDeletedCount% of the %totalCount% selected item(s) could not be deleted or sent to trash because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</source>
21+
<target state="new">%notDeletedCount% of the %totalCount% selected item(s) could not be deleted or sent to trash because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</target>
22+
<note>key: bulk_delete.error.message.users_with_nonusers</note>
23+
</trans-unit>
24+
<trans-unit id="237dbc61da0079a4ad224512ef0678262f224ad9" resname="bulk_delete.error.modal.table_title.nonusers">
25+
<source>Content item(s) cannot be sent to trash (%itemsCount%)</source>
26+
<target state="new">Content item(s) cannot be sent to trash (%itemsCount%)</target>
27+
<note>key: bulk_delete.error.modal.table_title.nonusers</note>
28+
</trans-unit>
29+
<trans-unit id="d61a87779a34732e3d0cc00482224d99dd95676a" resname="bulk_delete.error.modal.table_title.users">
30+
<source>User(s) cannot be deleted (%itemsCount%)</source>
31+
<target state="new">User(s) cannot be deleted (%itemsCount%)</target>
32+
<note>key: bulk_delete.error.modal.table_title.users</note>
1333
</trans-unit>
14-
<trans-unit id="23c9d6861623cc0b2f5f454afa841f1e368123cc" resname="bulk_delete.error.modal.table_title">
15-
<source>Content item(s) cannot be deleted (%itemsCount%)</source>
16-
<target state="new">Content item(s) cannot be deleted (%itemsCount%)</target>
17-
<note>key: bulk_delete.error.modal.table_title</note>
34+
<trans-unit id="eb45209c9bfb54c01fe8e827d04058c301fc8173" resname="bulk_delete.error.modal.table_title.users_with_nonusers">
35+
<source>Content item(s) cannot be deleted or sent to trash (%itemsCount%)</source>
36+
<target state="new">Content item(s) cannot be deleted or sent to trash (%itemsCount%)</target>
37+
<note>key: bulk_delete.error.modal.table_title.users_with_nonusers</note>
1838
</trans-unit>
1939
<trans-unit id="c1ffafa700d4b0ba80a626363f9dfe853571e080" resname="bulk_delete.error.more_info">
2040
<source><![CDATA[<u><a class='ez-notification-btn ez-notification-btn--show-modal'>Click here for more information.</a></u><br>]]></source>
@@ -26,20 +46,45 @@
2646
<target state="new">Cancel</target>
2747
<note>key: bulk_delete.popup.cancel</note>
2848
</trans-unit>
29-
<trans-unit id="a668a561527cc0e3e2c7952fbf300558d9d4f877" resname="bulk_delete.popup.confirm">
49+
<trans-unit id="530f5b1097af7206fdabc3a51ac334c933ab4909" resname="bulk_delete.popup.confirm.nonusers">
50+
<source>Send to trash</source>
51+
<target state="new">Send to trash</target>
52+
<note>key: bulk_delete.popup.confirm.nonusers</note>
53+
</trans-unit>
54+
<trans-unit id="4953b415cbb1e81833664d96e7051d0a7e3d90c8" resname="bulk_delete.popup.confirm.users_and_users_with_nonusers">
3055
<source>Delete</source>
3156
<target state="new">Delete</target>
32-
<note>key: bulk_delete.popup.confirm</note>
33-
</trans-unit>
34-
<trans-unit id="02d93b03435046c6bcf08ce15ae7970f7ff8f746" resname="bulk_delete.popup.message">
35-
<source>Are you sure you want to delete the selected content item(s)?</source>
36-
<target>Are you sure you want to delete the selected content item(s)?</target>
37-
<note>key: bulk_delete.popup.message</note>
38-
</trans-unit>
39-
<trans-unit id="684c07e2248d815e6eb6bc3f92d3cd49c6952cbe" resname="bulk_delete.success.message">
40-
<source>The selected content item(s) have been deleted</source>
41-
<target state="new">The selected content item(s) have been deleted</target>
42-
<note>key: bulk_delete.success.message</note>
57+
<note>key: bulk_delete.popup.confirm.users_and_users_with_nonusers</note>
58+
</trans-unit>
59+
<trans-unit id="e98d09770399a6f52a15068a0573a18fc2b0b60d" resname="bulk_delete.popup.message.nonusers">
60+
<source>Are you sure you want to send the selected content item(s) to trash?</source>
61+
<target state="new">Are you sure you want to send the selected content item(s) to trash?</target>
62+
<note>key: bulk_delete.popup.message.nonusers</note>
63+
</trans-unit>
64+
<trans-unit id="7717885c80083a259220eb0617f818b9cd8f315e" resname="bulk_delete.popup.message.users">
65+
<source>Are you sure you want to delete the selected user(s)?</source>
66+
<target state="new">Are you sure you want to delete the selected user(s)?</target>
67+
<note>key: bulk_delete.popup.message.users</note>
68+
</trans-unit>
69+
<trans-unit id="a12f451cc6ee1e65a14e4accacba2fff815a67f9" resname="bulk_delete.popup.message.users_with_nonusers">
70+
<source>Are you sure you want to delete the selected user(s) and send the other selected content item(s) to trash?</source>
71+
<target state="new">Are you sure you want to delete the selected user(s) and send the other selected content item(s) to trash?</target>
72+
<note>key: bulk_delete.popup.message.users_with_nonusers</note>
73+
</trans-unit>
74+
<trans-unit id="5464e305b394648af0e9dbd86bfd0ea5df8ed93c" resname="bulk_delete.success.message.nonusers">
75+
<source>The selected content item(s) have been sent to trash.</source>
76+
<target state="new">The selected content item(s) have been sent to trash.</target>
77+
<note>key: bulk_delete.success.message.nonusers</note>
78+
</trans-unit>
79+
<trans-unit id="d6c81bfffab0f8d928eb10911ca60a107c407989" resname="bulk_delete.success.message.users">
80+
<source>The selected user(s) have been deleted.</source>
81+
<target state="new">The selected user(s) have been deleted.</target>
82+
<note>key: bulk_delete.success.message.users</note>
83+
</trans-unit>
84+
<trans-unit id="93704c823e9663af7f4a89ec041673ce9d095a17" resname="bulk_delete.success.message.users_with_nonusers">
85+
<source>The selected content item(s) have been sent to trash and the selected user(s) have been deleted.</source>
86+
<target state="new">The selected content item(s) have been sent to trash and the selected user(s) have been deleted.</target>
87+
<note>key: bulk_delete.success.message.users_with_nonusers</note>
4388
</trans-unit>
4489
<trans-unit id="364a3498e021163497d9110380736b876beb326f" resname="bulk_move.error.message">
4590
<source>%notMovedCount% of the %totalCount% selected item(s) could not be moved because you do not have proper user permissions. {{ moreInformationLink }} Please contact your Administrator to obtain permissions.</source>

0 commit comments

Comments
 (0)