What changed, and why it matters
This commit simply replaces a few non-ASCII accented characters in a code comment with plain ASCII equivalents (for example, 'Français' becomes 'Francais'). It does not change any program behavior, user-facing text, or security logic. It is a style/CI follow-up to keep an internal linting script named ban_unicode.py happy.
No action needed. This is a non-functional comment cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only edits a comment block in electrum/i18n.py. It removes Unicode characters with diacritics (ç, ö) from an explanatory comment about language names and replaces them with ASCII approximations. No executable code, translation strings, or security-sensitive functionality is modified.
Changed components
electrum/i18n.py (comment only)Inspect captured patch +2 / −2
diff --git a/electrum/i18n.py b/electrum/i18n.py
index a56471a..04389d2 100644
--- a/electrum/i18n.py
+++ b/electrum/i18n.py
@@ -127,8 +127,8 @@ def set_language(x: Optional[str]) -> None:
# note: The values (human-visible lang names) should be either in English or in their own lang,
# but NOT translated to the currently selected lang.
-# e.g. "fr_FR" we could show as either "French" or "Français", or even as "French - Français",
-# but it is evil to show it as "Französisch". How am I supposed to switch back to English from Korean??? :)
+# e.g. "fr_FR" we could show as either "French" or "Francais", or even as "French - Francais",
+# but it is evil to show it as "Franzosisch". How am I supposed to switch back to English from Korean??? :)
languages = {
'': _('Default'),
'ar_SA': 'Arabic',
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.