diff --git a/src/app/pages/clients/[id].vue b/src/app/pages/clients/[id].vue index fab9e864..1cac21df 100644 --- a/src/app/pages/clients/[id].vue +++ b/src/app/pages/clients/[id].vue @@ -72,18 +72,32 @@ /> - {{ $t('form.hooks') }} - - + + {{ $t('client.hooks') }} + + + diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index a898d3e9..1ff04fbf 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -98,7 +98,14 @@ "allowedIpsDesc": "Which IPs will be routed through the VPN", "serverAllowedIpsDesc": "Which IPs the server will route to the client", "mtuDesc": "Sets the maximum transmission unit (packet size) for the VPN tunnel", - "persistentKeepaliveDesc": "Sets the interval (in seconds) for keep-alive packets. 0 disables it" + "persistentKeepaliveDesc": "Sets the interval (in seconds) for keep-alive packets. 0 disables it", + "hooks": "Hooks", + "hooksDescription": "Hooks only works with wg-quick", + "hooksLeaveEmpty": "Only for wg-quick. Otherwise, please leave it empty", + "PreUp": "PreUp", + "PostUp": "PostUp", + "PreDown": "PreDown", + "PostDown": "PostDown" }, "dialog": { "change": "Change", @@ -118,8 +125,7 @@ "sectionGeneral": "General", "sectionAdvanced": "Advanced", "noItems": "No items", - "add": "Add", - "hooks": "Hooks" + "add": "Add" }, "admin": { "general": {