Skip to content

Commit

Permalink
Merge pull request #2275 from shubhamkmr04/shubham/lsps1-replace-token
Browse files Browse the repository at this point in the history
LSPS1: Change token to discount code
  • Loading branch information
kaloudis authored Jul 9, 2024
2 parents 94971ea + a663f9a commit e42bd20
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"general.noLabel": "No label",
"general.used": "Used",
"general.unused": "Unused",
"general.discountCode": "Discount code",
"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 Expand Up @@ -880,7 +881,6 @@
"views.Settings.EmbeddedNode.LNDLogs.copyLogs": "Copy logs to clipboard",
"views.Settings.LSP.enableLSP": "Enable Lightning Service Provider (LSP)",
"views.Settings.LSP.enableLSP.subtitle": "The LSP will get you connected to the Lightning network by opening up payment channels for you.",
"views.Settings.LSP.lspAccessKey": "LSP Access Key (if needed)",
"views.Settings.LSP.requestSimpleTaproot": "Request Simple Taproot Channels",
"views.Settings.LSP.toProceed": "To proceed with using the LSP, the following settings must be configured:",
"views.Settings.LSP.zeroConfChans": "Zero-conf channels",
Expand Down Expand Up @@ -982,7 +982,6 @@
"views.LSPS1.requiredChannelConfirmations": "Required channel confirmations",
"views.LSPS1.minFundingConfirmWithingBlocks": "Min funding confirm within blocks",
"views.LSPS1.minRequiredChannelConfirmations": "Min required channel confirmations",
"views.LSPS1.token": "Token",
"views.LSPS1.refundOnchainAddress": "Refund onchain address",
"views.LSPS1.getQuote": "Get quote",
"views.LSPS1.createOrder": "Create order",
Expand Down
4 changes: 1 addition & 3 deletions views/Settings/LSP.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,7 @@ export default class LSP extends React.Component<LSPProps, LSPState> {
color: themeColor('secondaryText')
}}
>
{`${localeString(
'views.Settings.LSP.lspAccessKey'
)}`}
{`${localeString('general.discountCode')}`}
</Text>
<TextInput
value={accessKey}
Expand Down
2 changes: 1 addition & 1 deletion views/Settings/LSPS1/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default class LSPS1Settings extends React.Component<
marginTop: 12
}}
>
{localeString('views.LSPS1.token')}
{localeString('general.discountCode')}
</Text>
<TextInput
value={lsps1Token}
Expand Down
6 changes: 4 additions & 2 deletions views/Settings/LSPS1/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1173,11 +1173,13 @@ export default class LSPS1 extends React.Component<LSPS1Props, LSPS1State> {
}}
>
{localeString(
'views.LSPS1.token'
'general.discountCode'
)}
</Text>
<TextInput
placeholder="Token"
placeholder={localeString(
'general.discountCode'
)}
value={this.state.token}
onChangeText={(text: string) =>
this.setState({
Expand Down

0 comments on commit e42bd20

Please sign in to comment.