diff --git a/locale/de/LC_MESSAGES/django.mo b/locale/de/LC_MESSAGES/django.mo index 3ea0844..cda133b 100644 Binary files a/locale/de/LC_MESSAGES/django.mo and b/locale/de/LC_MESSAGES/django.mo differ diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po index e671a83..f336fb8 100644 --- a/locale/de/LC_MESSAGES/django.po +++ b/locale/de/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-23 20:32-0300\n" +"POT-Creation-Date: 2026-11-24 11:42-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3289,15 +3289,15 @@ msgid "VPN and App Gateway" msgstr "VPN und App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an empty directory on the worker:" +"Download the compose file from the project repository to an " +"empty directory on the worker:" msgstr "" -"Laden Sie die Compose-Datei aus dem Projekt-Repository in ein leeres Verzeichnis auf dem Worker " -"herunter:" +"Laden Sie die Compose-Datei aus dem Projekt-Repository in ein " +"leeres Verzeichnis auf dem Worker herunter:" #: templates/cluster/worker_details.html:148 msgid "Create a .env file in the same directory:" @@ -3744,6 +3744,7 @@ msgid "Masquerade Source" msgstr "Quelle maskieren" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" @@ -3751,9 +3752,8 @@ msgid "" "specifies the TCP port range 8080-8089. If you wish to change " "the port forwarding to a different range, you must manually edit the " "docker-compose.yml file and rerun the Docker Compose step " -"outlined in the deployment instructions.

\n" +"outlined in the
deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer " "IP address assigned a priority of Zero.

\n" @@ -3776,10 +3776,9 @@ msgstr "" "

Die mitgelieferte docker-compose.yml " "definiert den TCP‑Portbereich 8080‑8089. Soll das " "Port‑Forwarding einen anderen Bereich verwenden, bearbeiten Sie die Datei " -"manuell und wiederholen Sie den in den Deploy‑Anweisungen beschriebenen " -"Docker‑Compose‑Schritt.

\n" +"manuell und wiederholen Sie den in den Deploy‑Anweisungen " +"beschriebenen Docker‑Compose‑Schritt.

\n" "
Zieltyp Peer
\n" "

Die Weiterleitung verwendet vorrangig die erste " "Peer‑IP mit Priorität 0.

\n" @@ -5115,8 +5114,9 @@ msgid "Text Message Template" msgstr "Textnachrichten‑Vorlage" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "Die Einladungs‑URL muss mit 'https://' beginnen." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "Die Einladungs‑URL muss mit %(prefix)s beginnen." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/locale/es/LC_MESSAGES/django.mo b/locale/es/LC_MESSAGES/django.mo index f6f08c6..a6cba7f 100644 Binary files a/locale/es/LC_MESSAGES/django.mo and b/locale/es/LC_MESSAGES/django.mo differ diff --git a/locale/es/LC_MESSAGES/django.po b/locale/es/LC_MESSAGES/django.po index 8e79ca1..f0a6ad5 100644 --- a/locale/es/LC_MESSAGES/django.po +++ b/locale/es/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-23 20:32-0300\n" +"POT-Creation-Date: 2026-11-24 11:42-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3251,14 +3251,15 @@ msgid "VPN and App Gateway" msgstr "VPN y App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an empty directory on the worker:" +"Download the compose file from the project repository to an " +"empty directory on the worker:" msgstr "" -"Descargue el archivo compose del repositorio del proyecto en un directorio vacío del worker:" +"Descargue el archivo compose del repositorio del proyecto " +"en un directorio vacío del worker:" #: templates/cluster/worker_details.html:148 msgid "Create a .env file in the same directory:" @@ -3700,6 +3701,7 @@ msgid "Masquerade Source" msgstr "Enmascarar origen" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" @@ -3707,9 +3709,8 @@ msgid "" "specifies the TCP port range 8080-8089. If you wish to change " "the port forwarding to a different range, you must manually edit the " "docker-compose.yml file and rerun the Docker Compose step " -"outlined in the deployment instructions.

\n" +"outlined in the
deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer " "IP address assigned a priority of Zero.

\n" @@ -3732,9 +3733,9 @@ msgstr "" "

El archivo docker-compose.yml " "predeterminado especifica el rango de puertos TCP 8080-8089. " "Si deseas cambiarlo, edita manualmente el archivo docker-compose.yml y vuelve a ejecutar Docker Compose según las instrucciones de despliegue.

\n" +"code> y vuelve a ejecutar Docker Compose según las instrucciones de despliegue.

\n" "
Tipo de destino: Peer
\n" "

La redirección de puerto dará prioridad a la " "primera IP del peer con prioridad cero.

\n" @@ -5059,8 +5060,9 @@ msgid "Text Message Template" msgstr "Plantilla de mensaje de texto" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "La URL debe empezar con 'https://'." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "La URL debe empezar con %(prefix)s." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/locale/fr/LC_MESSAGES/django.mo b/locale/fr/LC_MESSAGES/django.mo index 48e3493..580b8c6 100644 Binary files a/locale/fr/LC_MESSAGES/django.mo and b/locale/fr/LC_MESSAGES/django.mo differ diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index c7610a4..25bcae0 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-23 20:32-0300\n" +"POT-Creation-Date: 2026-11-24 11:42-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3266,14 +3266,15 @@ msgid "VPN and App Gateway" msgstr "VPN et App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an empty directory on the worker:" +"Download the compose file from the project repository to an " +"empty directory on the worker:" msgstr "" -"Téléchargez le fichier compose depuis le dépôt du projet dans un répertoire vide du worker :" +"Téléchargez le fichier compose depuis le dépôt du projet dans un " +"répertoire vide du worker :" #: templates/cluster/worker_details.html:148 msgid "Create a .env file in the same directory:" @@ -3715,6 +3716,7 @@ msgid "Masquerade Source" msgstr "Masquer l’adresse source" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" @@ -3722,9 +3724,8 @@ msgid "" "specifies the TCP port range 8080-8089. If you wish to change " "the port forwarding to a different range, you must manually edit the " "docker-compose.yml file and rerun the Docker Compose step " -"outlined in the deployment instructions.

\n" +"outlined in the
deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer " "IP address assigned a priority of Zero.

\n" @@ -3747,9 +3748,9 @@ msgstr "" "

Le fichier docker-compose.yml par " "défaut définit la plage de ports TCP 8080‑8089. Si vous " "souhaitez rediriger vers une autre plage, modifiez ce fichier manuellement, " -"puis relancez l’étape Docker Compose décrite dans les instructions de déploiement.

\n" +"puis relancez l’étape Docker Compose décrite dans les instructions de déploiement.

\n" "
Type de destination: Peer
\n" "

La redirection de port privilégiera la première " "adresse IP du peer dont la priorité est zéro.

\n" @@ -5079,8 +5080,9 @@ msgid "Text Message Template" msgstr "Modèle de message texte" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "L’URL d’invitation doit commencer par « https:// »." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "L’URL d’invitation doit commencer par %(prefix)s." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/locale/it/LC_MESSAGES/django.mo b/locale/it/LC_MESSAGES/django.mo index 3a680ba..22fa76d 100644 Binary files a/locale/it/LC_MESSAGES/django.mo and b/locale/it/LC_MESSAGES/django.mo differ diff --git a/locale/it/LC_MESSAGES/django.po b/locale/it/LC_MESSAGES/django.po index 531f80d..8f4bed2 100644 --- a/locale/it/LC_MESSAGES/django.po +++ b/locale/it/LC_MESSAGES/django.po @@ -3050,16 +3050,15 @@ msgid "VPN and App Gateway" msgstr "VPN e App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an " "empty directory on the worker:" msgstr "" -"Scarica il file compose dal repository del progetto in" -" una directory vuota sul worker:" +"Scarica il file compose dal repository del progetto in una directory " +"vuota sul worker:" #: templates/cluster/worker_details.html:148 msgid "Create a .env file in the same directory:" @@ -3452,10 +3451,11 @@ msgid "Masquerade Source" msgstr "Masquerade dell'origine" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" -"

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

\n" +"

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer IP address assigned a priority of Zero.

\n" "
Destination Type: IP Address
\n" @@ -3468,7 +3468,7 @@ msgid "" msgstr "" "\n" "
Porte predefinite
\n" -"

Il file docker-compose.yml predefinito specifica l'intervallo di porte TCP 8080-8089. Se vuoi cambiare il port forwarding su un intervallo diverso, devi modificare manualmente il file docker-compose.yml e ripetere il passaggio Docker Compose descritto nelle istruzioni di distribuzione.

\n" +"

Il file docker-compose.yml predefinito specifica l'intervallo di porte TCP 8080-8089. Se vuoi cambiare il port forwarding su un intervallo diverso, devi modificare manualmente il file docker-compose.yml e ripetere il passaggio Docker Compose descritto nelle istruzioni di distribuzione.

\n" "
Tipo di destinazione: Peer
\n" "

Il reindirizzamento delle porte darà la precedenza al primo indirizzo IP del peer con priorità zero.

\n" "
Tipo di destinazione: Indirizzo IP
\n" @@ -4744,8 +4744,9 @@ msgid "Text Message Template" msgstr "Template del messaggio di testo" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "L'URL dell'invito deve iniziare con 'https://'." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "L'URL dell'invito deve iniziare con %(prefix)s." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/locale/nl/LC_MESSAGES/django.mo b/locale/nl/LC_MESSAGES/django.mo index a53ae2f..b1523f7 100644 Binary files a/locale/nl/LC_MESSAGES/django.mo and b/locale/nl/LC_MESSAGES/django.mo differ diff --git a/locale/nl/LC_MESSAGES/django.po b/locale/nl/LC_MESSAGES/django.po index 2cf184d..3081ec7 100644 --- a/locale/nl/LC_MESSAGES/django.po +++ b/locale/nl/LC_MESSAGES/django.po @@ -3050,14 +3050,13 @@ msgid "VPN and App Gateway" msgstr "VPN en App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an " "empty directory on the worker:" msgstr "" -"Download het compose-bestand uit de projectrepository naar een" " lege map op de worker:" @@ -3453,10 +3452,11 @@ msgid "Masquerade Source" msgstr "Bron maskeren (masquerade)" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" -"

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

\n" +"

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer IP address assigned a priority of Zero.

\n" "
Destination Type: IP Address
\n" @@ -3469,7 +3469,7 @@ msgid "" msgstr "" "\n" "
Standaardpoorten
\n" -"

Het standaard docker-compose.yml-bestand specificeert het TCP-poortbereik 8080-8089. Als je de poortdoorsturing naar een ander bereik wilt wijzigen, moet je het docker-compose.yml-bestand handmatig bewerken en de Docker Compose-stap uit de implementatie-instructies opnieuw uitvoeren.

\n" +"

Het standaard docker-compose.yml-bestand specificeert het TCP-poortbereik 8080-8089. Als je de poortdoorsturing naar een ander bereik wilt wijzigen, moet je het docker-compose.yml-bestand handmatig bewerken en de Docker Compose-stap uit de implementatie-instructies opnieuw uitvoeren.

\n" "
Bestemmingstype: Peer
\n" "

Poortomleiding geeft voorrang aan het eerste peer-IP-adres met prioriteit nul.

\n" "
Bestemmingstype: IP-adres
\n" @@ -4744,8 +4744,9 @@ msgid "Text Message Template" msgstr "Sjabloon voor tekstbericht" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "De uitnodigings-URL moet beginnen met 'https://'." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "De uitnodigings-URL moet beginnen met %(prefix)s." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/locale/pt_BR/LC_MESSAGES/django.mo b/locale/pt_BR/LC_MESSAGES/django.mo index 6f59f15..a92f00e 100644 Binary files a/locale/pt_BR/LC_MESSAGES/django.mo and b/locale/pt_BR/LC_MESSAGES/django.mo differ diff --git a/locale/pt_BR/LC_MESSAGES/django.po b/locale/pt_BR/LC_MESSAGES/django.po index c17a688..0adce17 100644 --- a/locale/pt_BR/LC_MESSAGES/django.po +++ b/locale/pt_BR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-23 20:32-0300\n" +"POT-Creation-Date: 2026-11-24 11:42-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3235,14 +3235,15 @@ msgid "VPN and App Gateway" msgstr "VPN e App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an empty directory on the worker:" +"Download the compose file from the project repository to an " +"empty directory on the worker:" msgstr "" -"Baixe o arquivo compose do repositório do projeto para um diretório vazio no worker:" +"Baixe o arquivo compose do repositório do projeto para um diretório " +"vazio no worker:" #: templates/cluster/worker_details.html:148 msgid "Create a .env file in the same directory:" @@ -3688,6 +3689,7 @@ msgid "Masquerade Source" msgstr "Mascarar Origem" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" @@ -3695,9 +3697,8 @@ msgid "" "specifies the TCP port range 8080-8089. If you wish to change " "the port forwarding to a different range, you must manually edit the " "docker-compose.yml file and rerun the Docker Compose step " -"outlined in the deployment instructions.

\n" +"outlined in the
deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer " "IP address assigned a priority of Zero.

\n" @@ -3721,9 +3722,9 @@ msgstr "" "especifica o intervalo de portas TCP 8080-8089. Se você deseja " "alterar o redirecionamento de portas para um intervalo diferente, é " "necessário editar manualmente o arquivo docker-compose.yml e " -"executar novamente a etapa do Docker Compose descrita nas instruções de implantação.

\n" +"executar novamente a etapa do Docker Compose descrita nas instruções de implantação.

\n" "
Tipo de Destino: Peer
\n" "

O redirecionamento de porta dará prioridade ao " "primeiro endereço IP do Peer com prioridade Zero.

\n" @@ -5055,8 +5056,9 @@ msgid "Text Message Template" msgstr "Modelo de Mensagem de Texto" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "Endereço do convite deve começar com 'https://'." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "Endereço do convite deve começar com %(prefix)s." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/locale/sk/LC_MESSAGES/django.mo b/locale/sk/LC_MESSAGES/django.mo index 254eae5..90a6dea 100644 Binary files a/locale/sk/LC_MESSAGES/django.mo and b/locale/sk/LC_MESSAGES/django.mo differ diff --git a/locale/sk/LC_MESSAGES/django.po b/locale/sk/LC_MESSAGES/django.po index 8560502..9c1160d 100644 --- a/locale/sk/LC_MESSAGES/django.po +++ b/locale/sk/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-23 20:32-0300\n" +"POT-Creation-Date: 2026-11-24 11:42-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3201,14 +3201,15 @@ msgid "VPN and App Gateway" msgstr "VPN a App Gateway" #: templates/cluster/worker_details.html:138 +#, python-format msgid "" -"Download the compose file from the project repository to an empty directory on the worker:" +"Download the compose file from the project repository to an " +"empty directory on the worker:" msgstr "" -"Stiahnite súbor compose z repozitára projektu do prázdneho adresára na workeri:" +"Stiahnite súbor compose z repozitára projektu do prázdneho adresára na " +"workeri:" #: templates/cluster/worker_details.html:148 msgid "Create a .env file in the same directory:" @@ -3652,6 +3653,7 @@ msgid "Masquerade Source" msgstr "Maskovať zdroj" #: templates/firewall/manage_redirect_rule.html:91 +#, python-format msgid "" "\n" "
Default Ports
\n" @@ -3659,9 +3661,8 @@ msgid "" "specifies the TCP port range 8080-8089. If you wish to change " "the port forwarding to a different range, you must manually edit the " "docker-compose.yml file and rerun the Docker Compose step " -"outlined in the deployment instructions.

\n" +"outlined in the
deployment instructions.

\n" "
Destination Type: Peer
\n" "

Port redirection will prioritize the first Peer " "IP address assigned a priority of Zero.

\n" @@ -3685,8 +3686,8 @@ msgstr "" "špecifikuje TCP rozsah portov 8080-8089. Ak si želáte zmeniť " "presmerovanie portov na iný rozsah, musíte manuálne upraviť docker-" "compose.yml súbor a znovu spustiť Docker Compose krok uvedený v pokynoch na nasadenie.

\n" +"href=\"%(deployment_url)s\" target=\"_blank\" rel=\"noopener " +"noreferrer\">pokynoch na nasadenie.

\n" "
Typ cieľa: Peer
\n" "

Presmerovanie portov bude uprednostňovať prvú IP " "adresu peer s prioritou nula.

\n" @@ -5018,8 +5019,9 @@ msgid "Text Message Template" msgstr "Šablóna textovej správy" #: vpn_invite/forms.py:205 -msgid "Invite URL must start with 'https://'." -msgstr "URL pozvánky musí začínať na 'https://'." +#, python-format +msgid "Invite URL must start with %(prefix)s." +msgstr "URL pozvánky musí začínať na %(prefix)s." #: vpn_invite/forms.py:207 msgid "Invite URL must end with '/invite/'." diff --git a/templates/cluster/worker_details.html b/templates/cluster/worker_details.html index 3eb50aa..b456f66 100644 --- a/templates/cluster/worker_details.html +++ b/templates/cluster/worker_details.html @@ -135,9 +135,9 @@ -

1. {% blocktrans trimmed %} +

1. {% blocktrans trimmed with repository_url="https://github.com/eduardogsilva/wireguard_webadmin" %} Download the compose file from the - project repository + project repository to an empty directory on the worker: {% endblocktrans %}

diff --git a/templates/firewall/manage_redirect_rule.html b/templates/firewall/manage_redirect_rule.html index 16078e1..ef97232 100644 --- a/templates/firewall/manage_redirect_rule.html +++ b/templates/firewall/manage_redirect_rule.html @@ -87,9 +87,9 @@
- {% blocktrans %} + {% blocktrans with deployment_url="https://wireguard-webadmin.com/deployment/" %}
Default Ports
-

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

+

The default docker-compose.yml file specifies the TCP port range 8080-8089. If you wish to change the port forwarding to a different range, you must manually edit the docker-compose.yml file and rerun the Docker Compose step outlined in the deployment instructions.

Destination Type: Peer

Port redirection will prioritize the first Peer IP address assigned a priority of Zero.

Destination Type: IP Address
diff --git a/vpn_invite/forms.py b/vpn_invite/forms.py index 3467561..45cdd4d 100644 --- a/vpn_invite/forms.py +++ b/vpn_invite/forms.py @@ -202,7 +202,7 @@ class InviteSettingsForm(forms.ModelForm): invite_url = cleaned_data.get('invite_url') if invite_url: if not invite_url.startswith("https://"): - self.add_error('invite_url', _("Invite URL must start with 'https://'.")) + self.add_error('invite_url', _("Invite URL must start with %(prefix)s.") % {'prefix': "'https://'"}) if not invite_url.endswith("/invite/"): self.add_error('invite_url', _("Invite URL must end with '/invite/'."))