mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Start using named variables in l10n English source strings
This commit is contained in:
+5
-4
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: seedsigner 0.8.5-rc1\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2025-01-14 10:35-0600\n"
|
||||
"POT-Creation-Date: 2025-01-15 10:45-0600\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"
|
||||
@@ -539,11 +539,12 @@ msgstr ""
|
||||
msgid "Build Final Word"
|
||||
msgstr ""
|
||||
|
||||
#. Number of BIP-39 seed words, and the entropy -- in bits, contained within.
|
||||
#. Final word calc. `mnemonic_length` = 12 or 24. `num_bits` = 7 or 3 (bits of
|
||||
#. entropy in final word).
|
||||
#: src/seedsigner/gui/screens/tools_screens.py
|
||||
msgid ""
|
||||
"The {}th word is built from {} more entropy bits plus auto-calculated "
|
||||
"checksum."
|
||||
"The {mnemonic_length}th word is built from {num_bits} more entropy bits "
|
||||
"plus auto-calculated checksum."
|
||||
msgstr ""
|
||||
|
||||
#. current coin-flip number vs total flips (e.g. flip 3 of 4)
|
||||
|
||||
@@ -183,8 +183,8 @@ class ToolsCalcFinalWordFinalizePromptScreen(ButtonListScreen):
|
||||
super().__post_init__()
|
||||
|
||||
self.components.append(TextArea(
|
||||
# TRANSLATOR_NOTE: Number of BIP-39 seed words, and the entropy -- in bits, contained within.
|
||||
text=_("The {}th word is built from {} more entropy bits plus auto-calculated checksum.").format(self.mnemonic_length, self.num_entropy_bits),
|
||||
# TRANSLATOR_NOTE: Final word calc. `mnemonic_length` = 12 or 24. `num_bits` = 7 or 3 (bits of entropy in final word).
|
||||
text=_("The {mnemonic_length}th word is built from {num_bits} more entropy bits plus auto-calculated checksum.").format(mnemonic_length=self.mnemonic_length, num_bits=self.num_entropy_bits),
|
||||
screen_y=self.top_nav.height + int(GUIConstants.COMPONENT_PADDING/2),
|
||||
))
|
||||
|
||||
@@ -454,7 +454,7 @@ class ToolsAddressExplorerAddressTypeScreen(ButtonListScreen):
|
||||
self.components.append(IconTextLine(
|
||||
# TRANSLATOR_NOTE: a label for a BIP-380-ish Output Descriptor
|
||||
label_text=_("Wallet descriptor"),
|
||||
value_text=self.wallet_descriptor_display_name,
|
||||
value_text=self.wallet_descriptor_display_name, # TODO: English text from embit (e.g. "1 / 2 multisig"); make l10 friendly
|
||||
is_text_centered=True,
|
||||
screen_x=GUIConstants.EDGE_PADDING,
|
||||
screen_y=self.top_nav.height + GUIConstants.COMPONENT_PADDING,
|
||||
|
||||
Reference in New Issue
Block a user