diff -urN smeserver-wireguard-1.0.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wireguard smeserver-wireguard-1.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wireguard --- smeserver-wireguard-1.0.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wireguard 2022-04-16 20:41:14.000000000 +0400 +++ smeserver-wireguard-1.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/wireguard 2022-04-16 20:30:59.000000000 +0400 @@ -11,7 +11,7 @@ DESC_MAIN_PAGE - Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quicj look on active connections, and manage clients. + Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients. diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wireguard/wireguard_en.lex smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wireguard/wireguard_en.lex --- smeserver-wireguard-1.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wireguard/wireguard_en.lex 2022-04-16 20:41:14.000000000 +0400 +++ smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wireguard/wireguard_en.lex 2022-04-16 20:22:44.000000000 +0400 @@ -17,7 +17,7 @@ 'wrg_ADD_CLIENT' => 'Configure new client', 'wrg_CONF_NAME' => 'Dedicated IP', 'wrg_USER' => 'Associated User', -'wrg_DESC_MOD_CONFIG_PAGE' => 'Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.', +'wrg_DESC_MOD_CONFIG_PAGE' => 'Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if you do so.', 'wrg_DESC_IP_ACC_WIREGUARD' => 'Wireguard server internal IP.', 'wrg_INFO_IP_WIREGUARD' => 'IP', 'wrg_DESC_MASK_WIREGUARD' => 'Bitmask for the VPN internal network (e.g.: 22).', @@ -26,7 +26,7 @@ 'wrg_LABEL_PRIVATE' => 'Private key', 'wrg_DESC_PUBLIC_CONFIG' => 'Public key for the server generated from the private key.', 'wrg_LABEL_PUBLIC' => 'Public key', -'wrg_DESC_STATUS' => 'Status of the sevice.', +'wrg_DESC_STATUS' => 'Status of the service.', 'wrg_LABEL_STATUS' => 'Status', 'wrg_DESC_ADD_CLIENT_PAGE' => 'To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.', 'wrg_DESC_SELECT_ACCOUNT' => 'Select the associated user account to the wireguard client', diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/partials/_wrg_list.html.ep smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_list.html.ep --- smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/partials/_wrg_list.html.ep 2022-04-16 20:41:14.000000000 +0400 +++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_list.html.ep 2022-04-16 21:02:31.654000000 +0400 @@ -51,7 +51,7 @@ %=l 'wrg_RECEIVED' - %=l 'wrg_LATEST_SEND' + %=l 'wrg_SENT' %=l 'wrg_KEEPALIVE' diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/partials/_wrg_mod.html.ep smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_mod.html.ep --- smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/partials/_wrg_mod.html.ep 2022-04-16 20:41:14.000000000 +0400 +++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_mod.html.ep 2022-04-16 20:36:59.000000000 +0400 @@ -65,7 +65,7 @@

- %=l 'STATUS' + %=l 'wrg_LABEL_STATUS' % param 'Status' => $wrg_datas->{status} unless param 'Status'; %= select_field 'Status' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/partials/_wrg_upd.html.ep smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_upd.html.ep --- smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/partials/_wrg_upd.html.ep 2022-04-16 20:41:14.000000000 +0400 +++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_upd.html.ep 2022-04-16 20:38:00.000000000 +0400 @@ -54,7 +54,7 @@

- %=l 'STATUS' + %=l 'wrg_LABEL_STATUS' % param 'Status' => $wrg_datas->{status} unless param 'Status'; %= select_field 'Status' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/wireguard.html.ep smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/wireguard.html.ep --- smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/wireguard.html.ep 2022-04-16 20:41:14.000000000 +0400 +++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/wireguard.html.ep 2022-04-16 17:47:43.000000000 +0400 @@ -1,7 +1,7 @@ % layout 'default', title => "Sme server 2 - wireguard"; % content_for 'module' => begin -

+
% if ($config->{debug} == 1) {