From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 7ADBE1FF0E1 for ; Mon, 27 Jul 2026 12:00:03 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id DA82321408; Mon, 27 Jul 2026 12:00:02 +0200 (CEST) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox-i18n v3 00/12] Makefile simplifications and improvements Date: Mon, 27 Jul 2026 11:59:43 +0200 Message-ID: <20260727095957.223209-1-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1785146363235 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.249 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 36DSNLPYDEKNWCHGZJT7G666WK7XCBIG X-Message-ID-Hash: 36DSNLPYDEKNWCHGZJT7G666WK7XCBIG X-MailFrom: m.sandoval@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The main difference in behavior is that we add --previous to the msgmerge command used to update the PO files. This can add some extra information to translations, which can make it easier to determine whether the previous translation is still valid or what kind of modifications it needs. See individual commits and their notes. Additionally: - there are a couple of cleanups - we move the LINGUAS to a dedicated file - check LINGUAS and add languages to it on the init-%.po target - split the do_update target on a per-language basis Differences from v2: - Rename check-% to check-%.po for consistency - Use sort --unique instead of --uniq - Fix typo - Simplify check-linguas test - check: add check-linguas as a prerequisite - use $< on the msgmerge commands Differences from v1: - Move LINGUAS to a dedicated file - split the do_update target on a per-language basis Maximiliano Sandoval (12): make: catalog-%.mo: explicitly set template file make: simplify msgmerge commands make: clean: remove *.mo files make: use long options for msgmerge and msginit make: do_update: add --update for msgmerge make: do_update: add --previous flag to msgmerge gitignore: remove proxmox-datacenter-manager.pot make: move linguas to a file make: add check-linguas target make: init-%.po: add language to linguas make: add targets to update specific PO files make: rename check-% target to check-%.po .gitignore | 1 - LINGUAS | 32 +++++++++++++++++++++++++ Makefile | 70 ++++++++++++++++++------------------------------------ 3 files changed, 55 insertions(+), 48 deletions(-) create mode 100644 LINGUAS -- 2.47.3