refactor(l10n): update translator notes for multisig policy display
What changed, and why it matters
This commit only rewrites the explanatory notes shown to translators so they understand what the numbers in a multisig wallet policy mean. No code behavior, user-facing text, or security logic changed.
No security action needed; this is a documentation-only localization refactor.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates three TRANSLATOR_NOTE comments in seed_views.py and tools_views.py and the corresponding entries in the localization template messages.pot. The actual format strings (‘{threshold} of {n}’ and ‘{threshold} / {n} multisig’) and their runtime formatting remain identical. There are no functional code changes.
Changed components
l10n/messages.potsrc/seedsigner/views/seed_views.pysrc/seedsigner/views/tools_views.pyInspect captured patch +5 / −5
diff --git a/l10n/messages.pot b/l10n/messages.pot
index cdbbb32..a00f6d5 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 9087359..e938da4 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 c42ea77..b2c6b9f 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
)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.