wireguard: Change the names of add client buttons

- Update the tooltip too.

Tests:

- In the WireGuard page, the two buttons and tooltips have been updated.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2026-11-27 07:21:13 -05:00
1 parent 2c49c29008
commit 005bed01a3
1 file changed
+6 -5
@@ -59,17 +59,18 @@
<div class="btn-toolbar">
<form method="post" action="{% url 'wireguard:auto-add-client' %}">
{% csrf_token %}
<button type="submit" title="{% trans 'Auto add a new peer' %}"
<button type="submit"
title="{% trans 'Add a client after generating its keys' %}"
class="btn btn-primary btn-auto-add-client">
{% icon 'magic' %}
{% trans "Add Client Automatically" %}
{% icon 'plus' %}
{% trans "Add Client" %}
</button>
</form>
<a title="{% trans 'Add a new peer' %}"
<a title="{% trans 'Add a client with an existing key' %}"
role="button" class="btn btn-default btn-add-client"
href="{% url 'wireguard:add-client' %}">
{% icon 'plus' %}
{% trans "Add Client" %}
{% trans "Add Client with an Existing Key" %}
</a>
</div>
{% else %}