Change "Ethereum wallet address" label to "STORJ payout address" (#3482)

This commit is contained in:
Kaloyan Raev 2019-11-05 16:33:01 +02:00 committed by Brandon Iglesias
parent ab5c623ac7
commit d6b5d49ff1
2 changed files with 6 additions and 6 deletions

View File

@ -65,13 +65,13 @@ namespace Storj
if (string.IsNullOrEmpty(wallet)) if (string.IsNullOrEmpty(wallet))
{ {
session["STORJ_WALLET_VALID"] = "The wallet address cannot be empty."; session["STORJ_WALLET_VALID"] = "The payout address cannot be empty.";
return ActionResult.Success; return ActionResult.Success;
} }
if (!wallet.StartsWith("0x")) if (!wallet.StartsWith("0x"))
{ {
session["STORJ_WALLET_VALID"] = "The wallet address must start with a '0x' prefix."; session["STORJ_WALLET_VALID"] = "The payout address must start with a '0x' prefix.";
return ActionResult.Success; return ActionResult.Success;
} }
@ -80,7 +80,7 @@ namespace Storj
if (wallet.Length != 40) if (wallet.Length != 40)
{ {
session["STORJ_WALLET_VALID"] = "The wallet address must have 40 characters after the '0x' prefix."; session["STORJ_WALLET_VALID"] = "The payout address must have 40 characters after the '0x' prefix.";
return ActionResult.Success; return ActionResult.Success;
} }

View File

@ -9,15 +9,15 @@
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control> </Control>
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Enter your Ethereum wallet address." /> <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Enter your payout address." />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Operator Information" /> <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Operator Information" />
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" /> <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /> <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
<Control Id="WalletLabel" Type="Text" X="20" Y="60" Width="320" Height="16" NoPrefix="yes" Text="Ethereum wallet address:" /> <Control Id="WalletLabel" Type="Text" X="20" Y="60" Width="320" Height="16" NoPrefix="yes" Text="STORJ payout address (ERC-20 compatible):" />
<Control Id="Wallet" Type="Edit" Property="STORJ_WALLET" X="20" Y="100" Width="320" Height="18" /> <Control Id="Wallet" Type="Edit" Property="STORJ_WALLET" X="20" Y="100" Width="320" Height="18" />
<Control Id="WalletDesc" Type="Text" X="20" Y="150" Width="320" Height="16" NoPrefix="yes" Text="This wallet address will receive the STORJ token payouts for running the storage node." /> <Control Id="WalletDesc" Type="Text" X="20" Y="150" Width="320" Height="16" NoPrefix="yes" Text="This payout address will receive the STORJ token payouts for running the storage node." />
<Control Id="WalletHowto" Type="Hyperlink" X="20" Y="170" Width="320" Height="16"> <Control Id="WalletHowto" Type="Hyperlink" X="20" Y="170" Width="320" Height="16">
<Text><![CDATA[<a href="https://support.storj.io/hc/en-us/articles/360026611692">Learn how to obtain a valid payout address.</a>]]></Text> <Text><![CDATA[<a href="https://support.storj.io/hc/en-us/articles/360026611692">Learn how to obtain a valid payout address.</a>]]></Text>
</Control> </Control>