Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "My Lightning Node" as nickname for Quick Start #2573

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
"general.sorting": "Sorting",
"general.count": "Count",
"general.experimental": "Experimental",
"general.defaultNodeNickname": "My Lightning Node",
"restart.title": "Restart required",
"restart.msg": "ZEUS has to be restarted before the new configuration is applied.",
"restart.msg1": "Would you like to restart now?",
Expand Down
5 changes: 4 additions & 1 deletion views/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ const Intro: React.FC<IntroProps> = (props) => {
seed.cipher_seed_mnemonic,
walletPassword: randomBase64,
embeddedLndNetwork: 'Mainnet',
implementation: 'embedded-lnd'
implementation: 'embedded-lnd',
nickname: localeString(
'general.defaultNodeNickname'
)
}
];

Expand Down
5 changes: 4 additions & 1 deletion views/IntroSplash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,10 @@ export default class IntroSplash extends React.Component<
embeddedLndNetwork:
'Mainnet',
implementation:
'embedded-lnd'
'embedded-lnd',
nickname: localeString(
'general.defaultNodeNickname'
)
}
];

Expand Down
4 changes: 3 additions & 1 deletion views/Settings/WalletConfiguration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,9 @@ export default class WalletConfiguration extends React.Component<
)}
</Text>
<TextInput
placeholder={'My lightning node'}
placeholder={localeString(
'general.defaultNodeNickname'
)}
value={nickname}
onChangeText={(text: string) =>
this.setState({
Expand Down
Loading