mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-04-19 08:55:12 +00:00
translation support
This commit is contained in:
parent
0f0964765e
commit
503278a1de
18
user_manager/migrations/0007_alter_useracl_user_level.py
Normal file
18
user_manager/migrations/0007_alter_useracl_user_level.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 5.2 on 2025-04-16 17:35
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('user_manager', '0006_useracl_enable_reload_useracl_enable_restart'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='useracl',
|
||||||
|
name='user_level',
|
||||||
|
field=models.PositiveIntegerField(choices=[(10, 'Debugging Analyst'), (20, 'View Only'), (30, 'Peer Manager'), (40, 'WireGuard Manager'), (50, 'Administrator')], default=0),
|
||||||
|
),
|
||||||
|
]
|
@ -0,0 +1,33 @@
|
|||||||
|
# Generated by Django 5.2 on 2025-04-16 17:35
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('vpn_invite', '0007_alter_invitesettings_download_5_label_and_more'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='invitesettings',
|
||||||
|
name='invite_email_body',
|
||||||
|
field=models.TextField(default="Hello,\n\nYou're invited to join our secure WireGuard VPN network. Please click the link below to access your personalized VPN configuration:\n\n{invite_url}\n\nNote: This invitation link will expire in {expire_minutes} minutes. If you need a new link after expiration, please request another invite."),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='invitesettings',
|
||||||
|
name='invite_text_body',
|
||||||
|
field=models.TextField(default="Hello,\n\nYou're invited to join our secure WireGuard VPN network. Please click the link below to access your personalized VPN configuration:\n\n{invite_url}\n\nNote: This invitation link will expire in {expire_minutes} minutes. If you need a new link after expiration, please request another invite."),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='invitesettings',
|
||||||
|
name='invite_whatsapp_body',
|
||||||
|
field=models.TextField(default="Hello,\n\nYou're invited to join our secure WireGuard VPN network. Please click the link below to access your personalized VPN configuration:\n\n{invite_url}\n\nNote: This invitation link will expire in {expire_minutes} minutes. If you need a new link after expiration, please request another invite."),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='invitesettings',
|
||||||
|
name='required_user_level',
|
||||||
|
field=models.PositiveIntegerField(choices=[(20, 'View Only'), (30, 'Peer Manager'), (40, 'WireGuard Manager'), (50, 'Administrator')], default=50),
|
||||||
|
),
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user