From patchwork Sat Sep 5 15:41:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 3429 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4BkJg94jDQz3x3K for ; Sat, 5 Sep 2020 15:41:25 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4BkJg730qYznX; Sat, 5 Sep 2020 15:41:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BkJg71gWcz30WS; Sat, 5 Sep 2020 15:41:23 +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 4BkJg52hksz2xTN for ; Sat, 5 Sep 2020 15:41:21 +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 4BkJg43j29znX for ; Sat, 5 Sep 2020 15:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1599320480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=kS4yMKSIMpzzrjIGZw7XUwXrHSEWINivRi2MbgEmgu0=; b=pSBcy5Sxlj5qmOHB4aJH2aySpeJ3Eu8YMFJqxMRta49GsDcDVGiS6NOunRu4Q07tS0cBRS CH+qSYuNlw+mrFf8EMm5XEBy3N70oqKl0GuriY3XFmbKZLigazeVR6liNBfHhERAS4elz6 wNNF6VJJfrkwdK969kUj2Mv4FsWqvYKXhJcRLdpH/X2ym+MWovRwUmFqYj4rLwlvXmkPhg IMXc2ZzsfWrLZ2ucF1ZkBSAdECeyAyIdg/BzbSYPQvAnH2TYURTyagDwOCsf0BSwHJyS25 rDMgS2zxR6y+JTlE1Q1bJ3qjQQQ3xcYbKGXLrlyhMM/Hp94ubHdjXnhslmKA6w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1599320481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=kS4yMKSIMpzzrjIGZw7XUwXrHSEWINivRi2MbgEmgu0=; b=NEcSzLdb+bn2DL3oMY5M/NB920mMhi3t0x5dpti8xMXVCGgRUWTrR4pRQIzM4HlOfxW9Ac Iz8JXe5zaN8kQkCw== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH 1/4] graphs.pl: Added translation for 'ACPI Thermal Zone' Date: Sat, 5 Sep 2020 17:41:10 +0200 Message-Id: <20200905154113.3555-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" This patchset is based on https://git.ipfire.org/?p=people/ms/ipfire-2.x.git;a=commitdiff;h=4bf0d000ffe961cdc5d9dbd27b3a11f900b3daed Signed-off-by: Matthias Fischer --- config/cfgroot/graphs.pl | 2 +- langs/de/cgi-bin/de.pl | 1 + langs/en/cgi-bin/en.pl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl index 5f146d226..8473613a3 100644 --- a/config/cfgroot/graphs.pl +++ b/config/cfgroot/graphs.pl @@ -1088,7 +1088,7 @@ sub updatethermaltempgraph { "--start", "-1".$period, "-r", - "-t "."ACPI Thermal-Zone Temperature"." - ".$Lang::tr{$period."-graph"}, + "-t ".$Lang::tr{'acpitemp'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"}, "-v Grad Celsius", "--color=SHADEA".$color{"color19"}, "--color=SHADEB".$color{"color19"}, diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 0c4a3b5b9..119b29913 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -135,6 +135,7 @@ 'accounting' => 'Benutzerverwaltung', 'accounting user nonpdc' => 'Benutzerverwaltung - kein PDC Modus', 'accounting user pdc' => 'Benutzerverwaltung - PDC Modus', +'acpitemp' => 'ACPI - Temperaturen', 'action' => 'Aktion', 'activate' => 'aktivieren', 'activate user' => 'Benutzer aktivieren', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 42ee304f7..592ee7fb7 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -133,6 +133,7 @@ 'accounting' => 'Accounting', 'accounting user nonpdc' => 'Accounting - none PDC Mode', 'accounting user pdc' => 'Accounting - PDC Mode', +'acpitemp' => 'ACPI - Temperatures', 'action' => 'Action', 'activate' => 'Activate', 'activate user' => 'Activate user',