Skip to content

Commit 5258c7d

Browse files
myleshortonclaude
andcommitted
smc: i18n the 'On — tap to view' subtitle in VPN settings
Added share_my_connection_on_tap_to_view key to assets/locales/en.po and consumed it via .i18n. Matches the existing share_my_connection_subtitle pattern in the same conditional. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 281d5b7 commit 5258c7d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

assets/locales/en.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@ msgstr "Share My Connection"
557557
msgid "share_my_connection_subtitle"
558558
msgstr "Let other Lantern users route through your connection to bypass censorship."
559559

560+
msgid "share_my_connection_on_tap_to_view"
561+
msgstr "On — tap to view"
562+
560563
# Share My Connection screen — body / hero copy
561564
msgid "smc_intro"
562565
msgstr "Help others bypass censorship by sharing a small portion of your home internet connection. While sharing is on, traffic from users in censored regions will egress through your IP."

lib/features/setting/vpn_setting.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class VPNSetting extends HookConsumerWidget {
129129
label: 'share_my_connection'.i18n,
130130
subtitle: Text(
131131
peerProxy
132-
? 'On — tap to view'
132+
? 'share_my_connection_on_tap_to_view'.i18n
133133
: 'share_my_connection_subtitle'.i18n,
134134
style: textTheme.labelMedium!.copyWith(
135135
color: context.textTertiary,

0 commit comments

Comments
 (0)