1 |
michel |
1.1 |
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 |
2 |
|
|
--- 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 |
3 |
|
|
+++ 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 |
4 |
|
|
@@ -11,7 +11,7 @@ |
5 |
|
|
|
6 |
|
|
<entry> |
7 |
|
|
<base>DESC_MAIN_PAGE</base> |
8 |
|
|
- <trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quicj look on active connections, and manage clients.</trans> |
9 |
|
|
+ <trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans> |
10 |
|
|
</entry> |
11 |
|
|
|
12 |
|
|
<entry> |
13 |
|
|
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 |
14 |
|
|
--- 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 |
15 |
|
|
+++ smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Wireguard/wireguard_en.lex 2022-04-16 20:22:44.000000000 +0400 |
16 |
|
|
@@ -17,7 +17,7 @@ |
17 |
|
|
'wrg_ADD_CLIENT' => 'Configure new client', |
18 |
|
|
'wrg_CONF_NAME' => 'Dedicated IP', |
19 |
|
|
'wrg_USER' => 'Associated User', |
20 |
|
|
-'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.', |
21 |
|
|
+'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.', |
22 |
|
|
'wrg_DESC_IP_ACC_WIREGUARD' => 'Wireguard server internal IP.', |
23 |
|
|
'wrg_INFO_IP_WIREGUARD' => 'IP', |
24 |
|
|
'wrg_DESC_MASK_WIREGUARD' => 'Bitmask for the VPN internal network (e.g.: 22).', |
25 |
|
|
@@ -26,7 +26,7 @@ |
26 |
|
|
'wrg_LABEL_PRIVATE' => 'Private key', |
27 |
|
|
'wrg_DESC_PUBLIC_CONFIG' => 'Public key for the server generated from the private key.', |
28 |
|
|
'wrg_LABEL_PUBLIC' => 'Public key', |
29 |
|
|
-'wrg_DESC_STATUS' => 'Status of the sevice.', |
30 |
|
|
+'wrg_DESC_STATUS' => 'Status of the service.', |
31 |
|
|
'wrg_LABEL_STATUS' => 'Status', |
32 |
|
|
'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.', |
33 |
|
|
'wrg_DESC_SELECT_ACCOUNT' => 'Select the associated user account to the wireguard client', |
34 |
|
|
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 |
35 |
|
|
--- 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 |
36 |
|
|
+++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_list.html.ep 2022-04-16 21:02:31.654000000 +0400 |
37 |
|
|
@@ -51,7 +51,7 @@ |
38 |
|
|
</th><th class='sme-border'> |
39 |
|
|
%=l 'wrg_RECEIVED' |
40 |
|
|
</th><th class='sme-border'> |
41 |
|
|
- %=l 'wrg_LATEST_SEND' |
42 |
|
|
+ %=l 'wrg_SENT' |
43 |
|
|
</th><th class='sme-border'> |
44 |
|
|
%=l 'wrg_KEEPALIVE' |
45 |
|
|
</th> |
46 |
|
|
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 |
47 |
|
|
--- 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 |
48 |
|
|
+++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_mod.html.ep 2022-04-16 20:36:59.000000000 +0400 |
49 |
|
|
@@ -65,7 +65,7 @@ |
50 |
|
|
</p> |
51 |
|
|
|
52 |
|
|
<p><span class=label> |
53 |
|
|
- %=l 'STATUS' |
54 |
|
|
+ %=l 'wrg_LABEL_STATUS' |
55 |
|
|
</span><span class=data> |
56 |
|
|
% param 'Status' => $wrg_datas->{status} unless param 'Status'; |
57 |
|
|
%= select_field 'Status' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' |
58 |
|
|
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 |
59 |
|
|
--- 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 |
60 |
|
|
+++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/partials/_wrg_upd.html.ep 2022-04-16 20:38:00.000000000 +0400 |
61 |
|
|
@@ -54,7 +54,7 @@ |
62 |
|
|
</p> |
63 |
|
|
|
64 |
|
|
<p><span class=label> |
65 |
|
|
- %=l 'STATUS' |
66 |
|
|
+ %=l 'wrg_LABEL_STATUS' |
67 |
|
|
</span><span class=data> |
68 |
|
|
% param 'Status' => $wrg_datas->{status} unless param 'Status'; |
69 |
|
|
%= select_field 'Status' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' |
70 |
|
|
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 |
71 |
|
|
--- smeserver-wireguard-1.0.old/root/usr/share/smanager/themes/default/templates/wireguard.html.ep 2022-04-16 20:41:14.000000000 +0400 |
72 |
|
|
+++ smeserver-wireguard-1.0/root/usr/share/smanager/themes/default/templates/wireguard.html.ep 2022-04-16 17:47:43.000000000 +0400 |
73 |
|
|
@@ -1,7 +1,7 @@ |
74 |
|
|
% layout 'default', title => "Sme server 2 - wireguard"; |
75 |
|
|
|
76 |
|
|
% content_for 'module' => begin |
77 |
|
|
-<div id='module' class='localnetworks-panel'> |
78 |
|
|
+<div id='module' class='module wireguard-panel'> |
79 |
|
|
|
80 |
|
|
% if ($config->{debug} == 1) { |
81 |
|
|
<p> |