Skip to content

Commit 6e5fd68

Browse files
committed
[chores] Improved wording of delete_confirmation.html template
1 parent 4892967 commit 6e5fd68

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

openwisp_controller/config/templates/admin/config/device/delete_confirmation.html

+20-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,26 @@
2626
<div id="deactivating-warning">
2727
<ul class="messagelist">
2828
<li class="warning">
29-
<p>{% translate 'The device is still in the deactivating state, meaning its configuration is still present on the device. If you wish to remove the configuration from the device, please wait until the config status changes to "deactivated". Proceeding will delete the device from OpenWISP without ensuring its configuration has been removed.' %}</p>
29+
<p>
30+
<strong>
31+
{% translate 'Warning: Device is not fully deactivated.' %}
32+
</strong>
33+
</p>
34+
<p>
35+
{% blocktranslate %}
36+
This device is still in the process of being deactivated,
37+
meaning its configuration is still present on the device.
38+
{% endblocktranslate %}
39+
</p>
40+
<p>
41+
{% blocktranslate %}
42+
To ensure its configuration is removed, please
43+
wait until its status changes to
44+
<strong>"deactivated"</strong>.<br>
45+
If you proceed now, the device will be deleted,
46+
but its configuration will remain active.
47+
{% endblocktranslate %}
48+
</p>
3049
<form>
3150
<input type="submit" class="button danger-btn" id="warning-ack"
3251
value="{% translate 'I understand the risks, delete the device' %}">

openwisp_controller/config/templates/admin/config/device/delete_selected_confirmation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<form>
5454
<input type="submit" class="button danger-btn" id="warning-ack"
5555
value="{% blocktranslate count counter=active_devices|length %}I understand the risks, delete the device{% plural %}I understand the risks, delete the devices{% endblocktranslate %}">
56-
<a class="button cancel-link">{% translate "No, take me back" %}</a>
56+
<a class="button cancel-link">{% translate 'No, take me back' %}</a>
5757
</form>
5858
</li>
5959
</ul>

0 commit comments

Comments
 (0)