From 4c94f427b9aaee167f9da2969d652b7f18a3e428 Mon Sep 17 00:00:00 2001 From: okaybro <66475772+Chaitanya-Keyal@users.noreply.github.com> Date: Thu, 19 Feb 2026 19:14:31 +0000 Subject: [PATCH] refactor(l10n): update translator notes for multisig policy display --- l10n/messages.pot | 6 +++--- src/seedsigner/views/seed_views.py | 2 +- src/seedsigner/views/tools_views.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/l10n/messages.pot b/l10n/messages.pot index cdbbb324..a00f6d56 100644 --- a/l10n/messages.pot +++ b/l10n/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: seedsigner 0.8.6\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-02-19 07:41+0000\n" +"POT-Creation-Date: 2026-02-19 19:13+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1340,7 +1340,7 @@ msgstr "" msgid "Verify addr" msgstr "" -#. Multisig policy display showing signing threshold (e.g. "2 of 3") +#. Multisig policy. For a "2 of 3" policy, "threshold" = 2; "n" = 3 #: src/seedsigner/views/seed_views.py msgid "{threshold} of {n}" msgstr "" @@ -1471,7 +1471,7 @@ msgstr "" msgid "Change addresses" msgstr "" -#. Multisig wallet policy display (e.g. "2 / 3 multisig") +#. Multisig policy. For a "2 / 3 multisig" policy, "threshold" = 2; "n" = 3 #: src/seedsigner/views/tools_views.py msgid "{threshold} / {n} multisig" msgstr "" diff --git a/src/seedsigner/views/seed_views.py b/src/seedsigner/views/seed_views.py index 90873591..e938da49 100644 --- a/src/seedsigner/views/seed_views.py +++ b/src/seedsigner/views/seed_views.py @@ -2070,7 +2070,7 @@ class MultisigWalletDescriptorView(View): from seedsigner.helpers.embit_utils import get_multisig_policy threshold, n = get_multisig_policy(descriptor) - # TRANSLATOR_NOTE: Multisig policy display showing signing threshold (e.g. "2 of 3") + # TRANSLATOR_NOTE: Multisig policy. For a "2 of 3" policy, "threshold" = 2; "n" = 3 policy = _("{threshold} of {n}").format(threshold=threshold, n=n) button_data = [self.OK] diff --git a/src/seedsigner/views/tools_views.py b/src/seedsigner/views/tools_views.py index c42ea77a..b2c6b9fb 100644 --- a/src/seedsigner/views/tools_views.py +++ b/src/seedsigner/views/tools_views.py @@ -601,7 +601,7 @@ class ToolsAddressExplorerAddressTypeView(View): if "wallet_descriptor" in data: from seedsigner.helpers.embit_utils import get_multisig_policy threshold, n = get_multisig_policy(data["wallet_descriptor"]) - # TRANSLATOR_NOTE: Multisig wallet policy display (e.g. "2 / 3 multisig") + # TRANSLATOR_NOTE: Multisig policy. For a "2 / 3 multisig" policy, "threshold" = 2; "n" = 3 wallet_descriptor_display_name = _("{threshold} / {n} multisig").format( threshold=threshold, n=n )