From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 0B2F498841 for ; Sun, 16 Apr 2023 05:31:08 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E006031ED3 for ; Sun, 16 Apr 2023 05:30:37 +0200 (CEST) Received: from 2.mo575.mail-out.ovh.net (2.mo575.mail-out.ovh.net [46.105.52.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Sun, 16 Apr 2023 05:30:36 +0200 (CEST) Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.138.153]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id DE31424831 for ; Sun, 16 Apr 2023 03:30:29 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-w24nf (unknown [10.111.208.197]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 401031FD7A; Sun, 16 Apr 2023 03:30:29 +0000 (UTC) Received: from koc.pl ([37.59.142.110]) by ghost-submission-6684bf9d7b-w24nf with ESMTPSA id mMhnCdVrO2QnfgAAzEDIMQ (envelope-from ); Sun, 16 Apr 2023 03:30:29 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-110S00437faaeb5-04b4-4633-a810-91796f0eb957, C93395EB8120350612EF59D0233856F1D9AF770F) smtp.auth=daniel@koć.pl X-OVh-ClientIp: 178.235.190.99 From: =?UTF-8?q?Daniel=20Ko=C4=87?= To: pve-devel@lists.proxmox.com Date: Sun, 16 Apr 2023 05:29:38 +0200 Message-Id: <20230416032939.3850877-1-daniel@xn--ko-wla.pl> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7770116733985102105 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelfedgjeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomhepffgrnhhivghlucfmohgtuceouggrnhhivghlseignhdqqdhkohdqfihlrgdrphhlqeenucggtffrrghtthgvrhhnpedttdfftdejfedvtdevheevgeeljeeigeekkeejiedvueffvedtffeikeffgedtieenucfkphepuddvjedrtddrtddruddpudejkedrvdefhedrudeltddrleelpdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeouggrnhhivghlseignhdqqdhkohdqfihlrgdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehpvhgvqdguvghvvghlsehlihhsthhsrdhprhhogihmohigrdgtohhmpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth X-SPAM-LEVEL: Spam detection results: 0 AWL -0.001 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH pve-manager 0/1] fixing gettext problems X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2023 03:31:08 -0000 Hi, I wanted to make the translation of Proxmox apps more complete and there are multiple places where gettext() is missing. I would be happy to add it wherever possible to give translators more power, but I'd like to fix at least most visible gaps. Here is my first try to do that. I'm not a developer and I don't plan to be one, so it's hard for me to do everything properly. Especially I did not test the changes, since instructions to make devel environment look pretty complex to me. If there is a quick way to easily update JS and POT files on running PVE environment, I would be happy to use it. There are some cases where gettext blocks are already here, but are not visible, so it would be good to fix that too, but I don't know how. Examples from fresh PVE 7.4-3 installation: - native language names are not visible on the login page and in the top right menu, even if they are translated - Hint "Without any keep option, the storage's configuration or node's vzdump.conf is used as fallback" is already gettextized in www/manager6/dc/Backup.js, but I see original string instead Any comments are welcome. Daniel Koć (1): adding missing gettext www/manager6/ceph/FS.js | 4 ++-- www/manager6/ceph/OSD.js | 6 +++--- www/manager6/ceph/OSDDetails.js | 2 +- www/manager6/form/VLanField.js | 2 +- www/manager6/ha/Fencing.js | 4 ++-- www/manager6/ha/GroupEdit.js | 2 +- www/manager6/node/Config.js | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) -- 2.34.1