From patchwork Wed May 13 13:59:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 3083 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49MbsD2sqtz3xQp for ; Wed, 13 May 2020 14:00:00 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49MbsC3qq5z2kw; Wed, 13 May 2020 13:59:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 49MbsC1mZYz2yHP; Wed, 13 May 2020 13:59:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 49Mbs86RQfz2xpc for ; Wed, 13 May 2020 13:59:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 49Mbs82MCNz1Bp for ; Wed, 13 May 2020 13:59:56 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1589378396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=J6qGA12ltYAvk3SUkxK6eavrAYv7aHhboP2lifoMrmM=; b=Q92sr9iJbmMfwjCyI0JvxgmSRRfaFoQa820zRv9dT1cj1zgI+r/d/94SM/L8Ne1QHFEaKb q6ZV1KToc7QlShAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1589378396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=J6qGA12ltYAvk3SUkxK6eavrAYv7aHhboP2lifoMrmM=; b=LriS5IEZze7x+b46IBTpJ8l8UZnYvDXeEJBtiTr/PDeMm6pQVC2G+OCskipNBbud3VN+1m W4e5iY/Vv7dXMBr5C8ciwu+QhBHwz6hVU5zjf2x5gbwIohb78jATsfGn052YDfzncXqW8+ oX1tWGQA+9BfjaRwhIDG5xM8YV1Klc+d2bmmvTeiFXne7eeqK2NqvVXLRihdwM5Vl9lEvr EZAJrfIEMijfdhEMCbMOczQcqXPw0sp8igqf6LXPu54Xy0v6081F+Sq6KN2QeH9O2fHGHf XCVaTzczPBUIN6Iy4fFNS2caiwSzYeJu+7JEgLPFGDO7fZ3dtgMGWnHWUsKRxg== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] Typo in 'qos.cgi' Date: Wed, 13 May 2020 15:59:51 +0200 Message-Id: <20200513135951.30474-1-matthias.fischer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=matthias.fischer@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 'bandwith*' => 'bandwidth*' Plus: Image button for going back... Signed-off-by: Matthias Fischer --- html/cgi-bin/qos.cgi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi index e3b3eefb4..faf8a4745 100644 --- a/html/cgi-bin/qos.cgi +++ b/html/cgi-bin/qos.cgi @@ -777,10 +777,10 @@ END } sub changebandwidth { - &Header::openbox('100%', 'center', $Lang::tr{'bandwithsettings'}); + &Header::openbox('100%', 'center', $Lang::tr{'bandwidthsettings'}); if ($qossettings{'ENABLED'} eq 'on') { - print "$Lang::tr{'bandwitherror'}"; - print "$Lang::tr{'back'}"; + print "$Lang::tr{'bandwidtherror'}"; + print "
$Lang::tr{
"; } else { print < @@ -871,10 +871,10 @@ END print <   - $Lang::tr{'guaranteed bandwith'}: + $Lang::tr{'guaranteed bandwidth'}:   - $Lang::tr{'max bandwith'} *: + $Lang::tr{'max bandwidth'} *:   Burst: @@ -1036,8 +1036,8 @@ sub showclasses { $Lang::tr{'interface'} $Lang::tr{'Class'} $Lang::tr{'priority'} - $Lang::tr{'guaranteed bandwith'} - $Lang::tr{'max bandwith'} + $Lang::tr{'guaranteed bandwidth'} + $Lang::tr{'max bandwidth'} Burst Ceil Burst TOS @@ -1248,7 +1248,7 @@ sub validminbwdth { } unless ( ( $qossettings{'MINBWDTH'} >= 1 ) && ( $qossettings{'MINBWDTH'} <= $qossettings{'SPD'} ) ) { $qossettings{'VALID'} = 'no'; - $message = "$Lang::tr{'false min bandwith'}"; + $message = "$Lang::tr{'false min bandwidth'}"; } $qossettings{'SPD'} = ''; } @@ -1263,7 +1263,7 @@ sub validmaxbwdth { } unless ( ( $qossettings{'MAXBDWTH'} >= 0 ) && ($qossettings{'MAXBDWTH'} >= $qossettings{'MINBDWTH'}) &&( $qossettings{'MAXBDWTH'} <= $qossettings{'SPD'} ) ) { $qossettings{'VALID'} = 'no'; - $message = "$Lang::tr{'false max bandwith'}"; + $message = "$Lang::tr{'false max bandwidth'}"; } $qossettings{'SPD'} = ''; }