Move URLs out of translatable strings

This commit is contained in:
Eduardo Silva
2026-11-24 11:44:37 -03:00
parent 75488fd4e5
commit 08c7c05720
17 changed files with 109 additions and 99 deletions
+2 -2
View File
@@ -135,9 +135,9 @@
<button type="button" class="btn btn-outline-primary worker-mode" data-compose-file="cluster_node-gateway.yml">{% trans 'VPN and App Gateway' %}</button>
</div>
<p class="mb-1"><strong>1.</strong> {% blocktrans trimmed %}
<p class="mb-1"><strong>1.</strong> {% blocktrans trimmed with repository_url="https://github.com/eduardogsilva/wireguard_webadmin" %}
Download the compose file from the
<a href="https://github.com/eduardogsilva/wireguard_webadmin" target="_blank" rel="noopener noreferrer">project repository</a>
<a href="{{ repository_url }}" target="_blank" rel="noopener noreferrer">project repository</a>
to an empty directory on the worker:
{% endblocktrans %}</p>
<div class="position-relative">
+2 -2
View File
@@ -87,9 +87,9 @@
</form>
</div>
<div class="col-md-8">
{% blocktrans %}
{% blocktrans with deployment_url="https://wireguard-webadmin.com/deployment/" %}
<h5>Default Ports</h5>
<p>The default <code>docker-compose.yml</code> file specifies the <b>TCP</b> port range <b>8080-8089</b>. If you wish to change the port forwarding to a different range, you must manually edit the <code>docker-compose.yml</code> file and rerun the Docker Compose step outlined in the <a href="https://github.com/eduardogsilva/wireguard_webadmin?tab=readme-ov-file#deployment">deployment instructions</a>.</p>
<p>The default <code>docker-compose.yml</code> file specifies the <b>TCP</b> port range <b>8080-8089</b>. If you wish to change the port forwarding to a different range, you must manually edit the <code>docker-compose.yml</code> file and rerun the Docker Compose step outlined in the <a href="{{ deployment_url }}" target="_blank" rel="noopener noreferrer">deployment instructions</a>.</p>
<h5>Destination Type: Peer</h5>
<p>Port redirection will prioritize the first Peer IP address assigned a priority of Zero.</p>
<h5>Destination Type: IP Address</h5>