Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum _Screen { input, confirm, progress }

class _ClaimRewardsDialogState extends State<_ClaimRewardsDialog> {
final _addressController = TextEditingController();
final _claimService = WormholeClaimService();
final _claimService = WormholeSendService();
final _walletService = MinerWalletService();
final _settingsService = MinerSettingsService();

Expand Down
54 changes: 47 additions & 7 deletions mobile-app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
"@multisigCreateSignersSubtitle": {
"description": "Helper text under signers section on create multisig"
},
"multisigCreateAddSignerHint": "Signer SS58 address",
"multisigCreateAddSignerHint": "Signer address",
"@multisigCreateAddSignerHint": {
"description": "Hint for adding a signer address"
},
Expand All @@ -451,7 +451,7 @@
"@multisigCreateDuplicateSigner": {
"description": "Error when signer address is duplicate"
},
"multisigCreateInvalidSigner": "Enter a valid SS58 address.",
"multisigCreateInvalidSigner": "Enter a valid signer address.",
"@multisigCreateInvalidSigner": {
"description": "Error when signer address is invalid"
},
Expand Down Expand Up @@ -555,7 +555,7 @@
}
}
},
"multisigStatusApproved": "APPROVED",
"multisigStatusApproved": "SIGNED",
"@multisigStatusApproved": {
"description": "Proposal status chip when the current signer has approved"
},
Expand Down Expand Up @@ -612,6 +612,18 @@
"@multisigProposeFeeFetchFailed": {
"description": "Shown when proposal fee estimation fails on the amount screen"
},
"multisigProposeFeePayerBalanceLabel": "Your Balance:",
"@multisigProposeFeePayerBalanceLabel": {
"description": "Label for the proposing member's balance on the amount screen"
},
"multisigProposeFeePayerInsufficient": "Insufficient Balance for Fee",
"@multisigProposeFeePayerInsufficient": {
"description": "Button text when proposer cannot afford the proposal fee"
},
"multisigProposeProposerLabel": "PROPOSER",
"@multisigProposeProposerLabel": {
"description": "Row label for the proposer address on the propose review screen"
},
"multisigProposeReviewButton": "Review transfer",
"@multisigProposeReviewButton": {
"description": "Button to open propose review screen"
Expand Down Expand Up @@ -748,7 +760,7 @@
"@multisigApprovalTimeoutToast": {
"description": "Toast when approval indexer polling times out"
},
"multisigProposalAlreadySignedNote": "You've already approved this proposal.",
"multisigProposalAlreadySignedNote": "You've already signed this proposal.",
"@multisigProposalAlreadySignedNote": {
"description": "Note shown when the current member already approved"
},
Expand Down Expand Up @@ -816,9 +828,9 @@
"@multisigApproveButton": {
"description": "Approve button on proposal detail"
},
"multisigAlreadyApproved": "Already Approved",
"multisigAlreadyApproved": "Already Signed",
"@multisigAlreadyApproved": {
"description": "Disabled approve button when user already approved"
"description": "Disabled approve button when user already signed"
},
"multisigCancelProposalButton": "Cancel Proposal",
"@multisigCancelProposalButton": {
Expand Down Expand Up @@ -1228,7 +1240,7 @@
"@addHardwareAccountAddressLabel": {
"description": "Address field label"
},
"addHardwareAccountAddressHint": "SS58 address",
"addHardwareAccountAddressHint": "Signer address",
"@addHardwareAccountAddressHint": {
"description": "Address field hint"
},
Expand Down Expand Up @@ -2693,5 +2705,33 @@
"type": "int"
}
}
},
"encryptedSendFeeLabel": "Privacy fee",
"@encryptedSendFeeLabel": {
"description": "Fee label for encrypted sends (wormhole volume fee)"
},
"encryptedSendAmountStep": "Use steps of 0.01 QUAN",
"@encryptedSendAmountStep": {
"description": "Shown when an encrypted send amount is not a multiple of 0.01 QUAN"
},
"encryptedSendMinimum": "Encrypted sends must move at least 0.1 QUAN",
"@encryptedSendMinimum": {
"description": "Shown when an encrypted send falls below the chain's minimum exit amount"
},
"encryptedSendProgressTitle": "Sending Privately...",
"@encryptedSendProgressTitle": {
"description": "App bar title while an encrypted send is proving/submitting"
},
"encryptedSendFailedTitle": "Send Failed",
"@encryptedSendFailedTitle": {
"description": "App bar title when an encrypted send failed"
},
"encryptedSendCancelledTitle": "Send Cancelled",
"@encryptedSendCancelledTitle": {
"description": "App bar title when an encrypted send was cancelled"
},
"encryptedSendingLabel": "SENDING",
"@encryptedSendingLabel": {
"description": "Status header label on encrypted send progress"
}
}
24 changes: 17 additions & 7 deletions mobile-app/lib/l10n/app_id.arb
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@
"multisigCreateAuthReason": "Autentikasi untuk membuat multisig ini",
"multisigCreateSignersLabel": "PENANDATANGAN",
"multisigCreateSignersSubtitle": "Tambahkan setidaknya satu penandatangan selain diri Anda.",
"multisigCreateAddSignerHint": "Alamat SS58 penandatangan",
"multisigCreateAddSignerHint": "Alamat penandatangan",
"multisigCreateAddSignerButton": "Tambah Penandatangan",
"multisigCreateDuplicateSigner": "Penandatangan ini sudah ada dalam daftar.",
"multisigCreateInvalidSigner": "Masukkan alamat SS58 yang valid.",
"multisigCreateInvalidSigner": "Masukkan alamat penandatangan yang valid.",
"multisigCreateThresholdLabel": "AMBANG BATAS",
"multisigCreateThresholdValue": "{count} dari {total}",
"multisigCreatePredictedAddressLabel": "ALAMAT MULTISIG",
Expand All @@ -128,7 +128,7 @@
"multisigNoPastProposals": "Tidak ada proposal sebelumnya.",
"multisigLoadFailed": "Gagal memuat: {error}",
"multisigProposalToAddress": "ke {address}",
"multisigStatusApproved": "DISETUJUI",
"multisigStatusApproved": "DITANDATANGANI",
"multisigStatusProposed": "DIAJUKAN",
"multisigStatusExpired": "KEDALUWARSA",
"multisigStatusCancelled": "DIBATALKAN",
Expand All @@ -141,6 +141,9 @@
"multisigProposeMemberTotalLabel": "TOTAL DARI AKUN ANDA",
"multisigProposeFeeLabel": "Biaya Proposal:",
"multisigProposeFeeFetchFailed": "Tidak dapat memperkirakan biaya",
"multisigProposeFeePayerBalanceLabel": "Saldo Anda:",
"multisigProposeFeePayerInsufficient": "Saldo Tidak Cukup untuk Biaya",
"multisigProposeProposerLabel": "PENGUSUL",
"multisigProposeReviewButton": "Tinjau transfer",
"multisigProposeReviewProposing": "TRANSFER YANG DIAJUKAN",
"multisigProposeReviewFromName": "dari {name}",
Expand Down Expand Up @@ -168,7 +171,7 @@
"activityTxApproving": "Menyetujui…",
"activityTxCancelling": "Membatalkan…",
"multisigApprovalTimeoutToast": "Konfirmasi persetujuan membutuhkan waktu lebih lama. Periksa chain atau coba lagi.",
"multisigProposalAlreadySignedNote": "Anda sudah menyetujui proposal ini.",
"multisigProposalAlreadySignedNote": "Anda sudah menandatangani proposal ini.",
"multisigProposalAlreadyExecutedNote": "Proposal ini sudah dieksekusi.",
"multisigProposalAlreadyCancelledNote": "Proposal ini sudah dibatalkan.",
"multisigProposalProposerLabel": "PENGAJU",
Expand All @@ -185,7 +188,7 @@
"activityTxProposalExecuted": "Proposal dieksekusi",
"activityTxProposalCancelled": "Proposal dibatalkan",
"multisigApproveButton": "Setujui",
"multisigAlreadyApproved": "Sudah Disetujui",
"multisigAlreadyApproved": "Sudah Ditandatangani",
"multisigCancelProposalButton": "Batalkan Proposal",
"multisigProposalExpiresLabel": "KEDALUWARSA",
"multisigProposalAtLabel": "PADA",
Expand Down Expand Up @@ -277,7 +280,7 @@
"addHardwareAccountNameHintWallet": "Hardware Wallet",
"addHardwareAccountNameHintAccount": "Akun",
"addHardwareAccountAddressLabel": "ALAMAT",
"addHardwareAccountAddressHint": "Alamat SS58",
"addHardwareAccountAddressHint": "Alamat penandatangan",
"addHardwareAccountDebugFill": "Isi Debug",
"addHardwareAccountNameRequired": "Nama wajib diisi",
"addHardwareAccountInvalidAddress": "Alamat tidak valid",
Expand Down Expand Up @@ -610,5 +613,12 @@
"redeemRetry": "Coba Lagi",
"redeemClose": "Tutup",
"redeemDone": "Selesai",
"redeemSuccessBanner": "{amount} ditukar dalam {count} batch"
"redeemSuccessBanner": "{amount} ditukar dalam {count} batch",
"encryptedSendFeeLabel": "Biaya privasi",
"encryptedSendAmountStep": "Gunakan kelipatan 0,01 QUAN",
"encryptedSendMinimum": "Pengiriman terenkripsi minimal 0,1 QUAN",
"encryptedSendProgressTitle": "Mengirim Secara Privat...",
"encryptedSendFailedTitle": "Pengiriman Gagal",
"encryptedSendCancelledTitle": "Pengiriman Dibatalkan",
"encryptedSendingLabel": "MENGIRIM"
}
74 changes: 67 additions & 7 deletions mobile-app/lib/l10n/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ abstract class AppLocalizations {
/// Hint for adding a signer address
///
/// In en, this message translates to:
/// **'Signer SS58 address'**
/// **'Signer address'**
String get multisigCreateAddSignerHint;

/// Button to add a signer from address field
Expand All @@ -683,7 +683,7 @@ abstract class AppLocalizations {
/// Error when signer address is invalid
///
/// In en, this message translates to:
/// **'Enter a valid SS58 address.'**
/// **'Enter a valid signer address.'**
String get multisigCreateInvalidSigner;

/// Threshold slider section label on create multisig
Expand Down Expand Up @@ -797,7 +797,7 @@ abstract class AppLocalizations {
/// Proposal status chip when the current signer has approved
///
/// In en, this message translates to:
/// **'APPROVED'**
/// **'SIGNED'**
String get multisigStatusApproved;

/// Proposal status chip when the current signer has not approved yet
Expand Down Expand Up @@ -872,6 +872,24 @@ abstract class AppLocalizations {
/// **'Unable to estimate fee'**
String get multisigProposeFeeFetchFailed;

/// Label for the proposing member's balance on the amount screen
///
/// In en, this message translates to:
/// **'Your Balance:'**
String get multisigProposeFeePayerBalanceLabel;

/// Button text when proposer cannot afford the proposal fee
///
/// In en, this message translates to:
/// **'Insufficient Balance for Fee'**
String get multisigProposeFeePayerInsufficient;

/// Row label for the proposer address on the propose review screen
///
/// In en, this message translates to:
/// **'PROPOSER'**
String get multisigProposeProposerLabel;

/// Button to open propose review screen
///
/// In en, this message translates to:
Expand Down Expand Up @@ -1037,7 +1055,7 @@ abstract class AppLocalizations {
/// Note shown when the current member already approved
///
/// In en, this message translates to:
/// **'You\'ve already approved this proposal.'**
/// **'You\'ve already signed this proposal.'**
String get multisigProposalAlreadySignedNote;

/// Note shown on proposal detail when the proposal is executed
Expand Down Expand Up @@ -1136,10 +1154,10 @@ abstract class AppLocalizations {
/// **'Approve'**
String get multisigApproveButton;

/// Disabled approve button when user already approved
/// Disabled approve button when user already signed
///
/// In en, this message translates to:
/// **'Already Approved'**
/// **'Already Signed'**
String get multisigAlreadyApproved;

/// Cancel proposal button on detail screen
Expand Down Expand Up @@ -1661,7 +1679,7 @@ abstract class AppLocalizations {
/// Address field hint
///
/// In en, this message translates to:
/// **'SS58 address'**
/// **'Signer address'**
String get addHardwareAccountAddressHint;

/// Debug fill button
Expand Down Expand Up @@ -3451,6 +3469,48 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'{amount} redeemed in {count} batch(es)'**
String redeemSuccessBanner(String amount, int count);

/// Fee label for encrypted sends (wormhole volume fee)
///
/// In en, this message translates to:
/// **'Privacy fee'**
String get encryptedSendFeeLabel;

/// Shown when an encrypted send amount is not a multiple of 0.01 QUAN
///
/// In en, this message translates to:
/// **'Use steps of 0.01 QUAN'**
String get encryptedSendAmountStep;

/// Shown when an encrypted send falls below the chain's minimum exit amount
///
/// In en, this message translates to:
/// **'Encrypted sends must move at least 0.1 QUAN'**
String get encryptedSendMinimum;

/// App bar title while an encrypted send is proving/submitting
///
/// In en, this message translates to:
/// **'Sending Privately...'**
String get encryptedSendProgressTitle;

/// App bar title when an encrypted send failed
///
/// In en, this message translates to:
/// **'Send Failed'**
String get encryptedSendFailedTitle;

/// App bar title when an encrypted send was cancelled
///
/// In en, this message translates to:
/// **'Send Cancelled'**
String get encryptedSendCancelledTitle;

/// Status header label on encrypted send progress
///
/// In en, this message translates to:
/// **'SENDING'**
String get encryptedSendingLabel;
}

class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
Expand Down
Loading
Loading