[03/19] ovpnclients.dat: Fix hard coded language string

Message ID 20200413074550.2735-3-stefan.schantl@ipfire.org
State Accepted
Commit 6317d55c4ae85338b847ffe4e276fd75a076fb1c
Headers show
Series [01/19] openvpn: Add WUI page for client usage statistics | expand

Commit Message

Stefan Schantl April 13, 2020, 7:45 a.m. UTC
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 html/cgi-bin/logs.cgi/ovpnclients.dat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/html/cgi-bin/logs.cgi/ovpnclients.dat b/html/cgi-bin/logs.cgi/ovpnclients.dat
index 46667a9d1..bb7bdfb7b 100755
--- a/html/cgi-bin/logs.cgi/ovpnclients.dat
+++ b/html/cgi-bin/logs.cgi/ovpnclients.dat
@@ -207,7 +207,7 @@  print "<table width='100%'>\n";
 		print "<td class='base' colspan='2'>\n";
 
 			print "<select name='CONNECTION_NAME' size='1'>\n";
-				print "<option value=''>All</option>\n";
+				print "<option value=''>$Lang::tr{'all'}</option>\n";
 
 				# Loop through all configured OpenVPN connections and sort them by name.
 				foreach my $key (sort { $ovpnsettings{$a}[2] cmp $ovpnsettings{$b}[2] } keys %ovpnsettings) {