From cb6063c8f60a403c79615057df479c3abfa46a4f Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Tue, 21 May 2024 16:19:34 +0100 Subject: [PATCH] fix: remove unused i18 strings --- src/utils/i18n/locales/en/lightning.json | 19 +------------------ src/utils/i18n/locales/en/other.json | 10 +--------- src/utils/i18n/locales/en/security.json | 2 -- src/utils/i18n/locales/en/settings.json | 3 --- src/utils/i18n/locales/en/slashtags.json | 6 ------ src/utils/i18n/locales/en/wallet.json | 17 ----------------- 6 files changed, 2 insertions(+), 55 deletions(-) diff --git a/src/utils/i18n/locales/en/lightning.json b/src/utils/i18n/locales/en/lightning.json index 3357e8eea..ee11cd091 100644 --- a/src/utils/i18n/locales/en/lightning.json +++ b/src/utils/i18n/locales/en/lightning.json @@ -31,11 +31,7 @@ }, "error_channel_purchase": "Instant Payments Setup Failed", "error_channel_receiving": "Receiving amount needs to be greater than ${usdValue}", - "error_channel_fee": "Fee estimation error", - "spending_money": "Spending\nMoney.", - "spending_balance": "Spending\nBalance.", "enter_money": "Enter the amount of bitcoin you want to be able to spend instantly.", - "enter_amount": "Choose how much bitcoin you want to be able to spend instantly and how much you want to keep in savings.", "spending": "Spending", "savings": "Savings", "spending_label": "Spending balance", @@ -45,8 +41,6 @@ "quick_setup": "Quick Setup", "quick_confirm_header": "Please\nconfirm", "quick_confirm_cost": "It costs {txFee} in network fees and {lspFee} in service provider fees to transfer your funds.", - "spending_header": "Spending Money.", - "receiving_header": "Receiving Money.", "spending_amount_bitcoin": "Choose how much money you want to be able to spend instantly.", "receiving_amount_money": "Choose how much money you want to be able to receive instantly.", "receiving_amount_bitcoin": "Enter the amount of Bitcoin you want to be able to receive instantly.", @@ -68,19 +62,10 @@ "timeout_header": "Keep Bitkit\nopen", "timeout_text": "Funds were not transferred yet. Bitkit will try to initiate the transfer during the next 30 minutes. Please keep your app open.", "awesome": "Awesome!", - "transfer_funds": "Transfer Funds", - "transfer_header": "Please\nConfirm.", - "transfer_header_keybrd": "Spending Money.", - "transfer_header_nokeybrd": "Spending\n& Saving.", "transfer_close": "Transferring your spending balance back to your savings requires a network fee. The exact fee depends on network conditions.", - "transfer_open": "It costs {txFee} in network fees and {lspFee} in service provider fees to transfer the additional funds to your spending balance.", "ts_savings_title": "Transfer\nto Savings", "ts_savings_text": "Transferring funds from your spending balance to your savings. You will be able to use these funds in ±1 hour.", - "ts_spendings_title": "Transferring\nto Spending.", - "ts_spendings_text": "Transferring funds from your savings to your spending balance. You will be able to use these funds in ±10 minutes.", "interrupted_title": "Transfer Interrupted", - "interrupted_header": "Keep Bitkit\nopen", - "interrupted_text": "Funds were not transferred yet. Bitkit will try to initiate the transfer during the next 30 minutes. Please keep your app open.", "availability_title": "Funds Availability", "availability_header": "Availability\nof funds", "availability_text": "Transferring funds to savings usually takes\n±1 hour, but settlement may take 14 days under certain network conditions.", @@ -165,7 +150,5 @@ "open": "Connection open" }, "wait_text_top": "Please wait for Bitkit to connect to the payment network (±10 seconds).", - "wait_text_bottom": "Connecting & Syncing...", - "migrating_ldk_title": "Migration In Progress", - "migrating_ldk_description": "LDK is currently in the process of migrating. Please restart your app, wait a few blocks and try again." + "wait_text_bottom": "Connecting & Syncing..." } diff --git a/src/utils/i18n/locales/en/other.json b/src/utils/i18n/locales/en/other.json index 8a71f3873..9a4e76757 100644 --- a/src/utils/i18n/locales/en/other.json +++ b/src/utils/i18n/locales/en/other.json @@ -13,8 +13,6 @@ "buy_header": "Bitcoin\nfor Bitkit", "buy_text": "Don’t have any Bitcoin or need more?", "buy_button": "Buy Bitcoin", - "connection_lost_title": "Bitkit Connection Lost", - "connection_lost_message": "Please check your Electrum Server settings.", "connection_restored_title": "Electrum Connection Restored", "connection_restored_message": "Bitkit successfully reconnected to Electrum.", "connection_issue": "Internet Connectivity Issues", @@ -28,14 +26,12 @@ "up_button": "Update Bitkit", "camera_ask_title": "Permission to use camera", "camera_ask_msg": "Bitkit needs permission to use your camera", - "camera_no_title": "Permission", "camera_no_text": "It appears Bitkit does not have permission to access your camera.\n\nTo utilize this feature in the future you will need to enable camera permissions for this app from your phone's settings.", "clipboard_redirect_title": "Clipboard Data Detected", "clipboard_redirect_msg": "Do you want to be redirected to the relevant screen?", "pay_insufficient_savings": "Insufficient Savings", "pay_insufficient_spending": "Insufficient Spending Balance", "pay_insufficient_savings_description": "More ₿ needed to pay this Bitcoin invoice.", - "pay_insufficient_spending_description": "More ₿ needed to pay this Lightning invoice.", "pay_insufficient_savings_amount_description": "₿ {amount} more needed to pay this Bitcoin invoice.", "pay_insufficient_spending_amount_description": "₿ {amount} more needed to pay this Lightning invoice.", "swipe": "Swipe To Confirm", @@ -71,13 +67,11 @@ "lnurl_withdr_error_generic": "Sorry, an error occurred.", "lnurl_withdr_error_no_capacity": "Not enough receiving capacity to complete withdraw request.", "lnurl_withdr_error_create_invoice": "Could not create invoice for withdraw.", - "lnurl_withdr_error_connect": "Could not connect to LNURL Withdraw server.", "lnurl_withdr_error_minmax": "Incorrect LNURL withdraw params, min/max not set correctly.", "lnurl_withdr_success_title": "Withdraw Requested", "lnurl_withdr_success_msg": "Your withdraw was successfully requested.", "phone_settings": "Open Phone Settings", "bt_error_retrieve": "Transfer Failed", - "bt_channel_purchase_fee_error": "Not enough funds to cover the transaction fee.", "bt_channel_purchase_cost_error": "You need {delta} more to complete this transaction.", "earlier": "EARLIER", "update_title": "Update Available", @@ -86,7 +80,5 @@ "high_title": "High Balance", "high_text1": "Wallet balance exceeds", "high_text2": "For your security, please consider moving some of your savings to an offline wallet soon.", - "high_button_more": "Learn More", - "caution_header": "Caution:\nBeta Risk.", - "caution_text": "Beta software may put your money at risk. We recommend using only small amounts while Bitkit is in beta." + "high_button_more": "Learn More" } diff --git a/src/utils/i18n/locales/en/security.json b/src/utils/i18n/locales/en/security.json index 6134ace66..6cff73de6 100644 --- a/src/utils/i18n/locales/en/security.json +++ b/src/utils/i18n/locales/en/security.json @@ -4,8 +4,6 @@ "backup_funds": "Now that you have some funds in your wallet, it is time to back up your money!", "backup_funds_no": "There are no funds in your wallet yet, but you can create a backup if you wish.", "backup_button": "Back Up", - "backup_data_title": "Back Up Data", - "backup_data_text": "Your profile, contacts, accounts, tags, and activity will be encrypted and backed up automatically to our free cloud service.", "pass": "passphrase", "pass_your": "Your Passphrase", "pass_text": "You added a passphrase to your recovery phrase during wallet setup.", diff --git a/src/utils/i18n/locales/en/settings.json b/src/utils/i18n/locales/en/settings.json index cd57d8257..f87a9f498 100644 --- a/src/utils/i18n/locales/en/settings.json +++ b/src/utils/i18n/locales/en/settings.json @@ -72,7 +72,6 @@ "latest": "latest data backups", "status_failed": "Failed Backup: {time}", "status_success": "Latest Backup: {time}", - "status_empty": "Backup not needed", "category_connections": "Connections", "category_connection_receipts": "Connection Receipts", "category_transaction_log": "Transaction Log", @@ -88,7 +87,6 @@ "report": "Report Issue", "help": "Help Center", "status": "App Status", - "help_url": "https://help.bitkit.to", "report_text": "Please describe the issue you are experiencing or ask a general question.", "label_address": "Email address", "label_message": "Issue or question", @@ -247,7 +245,6 @@ "rgs": { "server_url": "Rapid-Gossip-Sync Server URL", "button_connect": "Connect", - "button_reconnect": "Re-Connect", "update_success_title": "Rapid-Gossip-Sync Server Updated", "update_success_description": "You may need to restart the app once or twice for this change to take effect." }, diff --git a/src/utils/i18n/locales/en/slashtags.json b/src/utils/i18n/locales/en/slashtags.json index 85c6ff1d8..673f92bdc 100644 --- a/src/utils/i18n/locales/en/slashtags.json +++ b/src/utils/i18n/locales/en/slashtags.json @@ -58,7 +58,6 @@ "offline_enable_explain": "* This requires sharing payment data.", "widgets": "Widgets", "widget_add": "Add Widget", - "widget_loading_title": "Loading widget...", "widget_loading_description": "Loading widget description...", "widget_failed_description": "Failed to load widget", "widget_source": "Source", @@ -79,13 +78,8 @@ "widget_delete_yes": "Yes, Delete", "widget_delete_title": "Delete Widget?", "widget_delete_desc": "Are you sure you want to delete ‘{name}‘ from your widgets?", - "auth_error_link": "Sign In Failed", - "auth_error_open": "Error opening login link", "error_saving_contact": "Unable To Save Contact", "error_saving_profile": "Unable To Save Profile", - "error_delete_contact": "Unable To Delete Contact", - "error_sdk_title": "Please Restart Bitkit", - "error_sdk_msg": "An essential component is not working properly. Please restart Bitkit.", "error_pay_title": "Unable To Pay Contact", "error_pay_empty_msg": "There is no payment data available for this contact.", "auth_depricated_title": "Deprecated", diff --git a/src/utils/i18n/locales/en/wallet.json b/src/utils/i18n/locales/en/wallet.json index 464363553..8b1e0b362 100644 --- a/src/utils/i18n/locales/en/wallet.json +++ b/src/utils/i18n/locales/en/wallet.json @@ -2,7 +2,6 @@ "send": "Send", "receive": "Receive", "balance_total": "Total balance", - "balance_total_transferring": "Total balance ( in transfer)", "balance_total_pending": "Total balance ( pending)", "create_wallet_mnemonic_error": "Invalid recovery phrase.", "create_wallet_mnemonic_restore_error": "Please double-check if your recovery phrase is accurate.", @@ -41,8 +40,6 @@ "send_error_tx_failed": "Transaction Failed", "send_error_contact": "Unable To Pay to this contact", "send_error_create_tx": "Error creating transaction", - "send_error_no_inputs": "There are no inputs available to spend.", - "send_error_fee_exceeds": "The fee is larger than the intended payment.", "tag_remove_error_title": "Removing Tag Failed", "tag_remove_error_description": "Bitkit was unable to find the transaction data.", "error_no_invoice": "No lightning invoice found.", @@ -63,8 +60,6 @@ "send_output_to_small_title": "Send Amount Too Small", "send_output_to_small_description": "Please increase your send amount to proceed.", "send_coin_selection_output_to_small_description": "Please remove UTXO's or increase your send amount to proceed.", - "send_fee_error_max": "Unable to increase the fee as the new total exceeds your available balance.", - "send_fee_error_half": "Unable to increase the fee. It would exceed half of your current balance.", "send_fee_error_min": "Unable to decrease the fee any further.", "send_fee_custom": "Set Custom Fee", "send_fee_total": "₿ {feeSats} for this transaction", @@ -89,9 +84,6 @@ "selection_auto": "Auto", "selection_total_required": "Total required", "selection_total_selected": "Total selected", - "preference_small": "Small: Use smallest UTXO's first.", - "preference_large": "Large: Use largest UTXO's first.", - "preference_consolidate": "Consolidate: Combine all UTXO's.", "receive_bitcoin": "Receive Bitcoin", "receive_specify": "Edit Invoice", "receive_copied": "Invoice copied to clipboard", @@ -104,10 +96,6 @@ "receive_spending": "Receive on Spending Balance", "receive_connect_initial": "To set up your spending balance, a {lspFee} service provider fee will be deducted.", "receive_connect_additional": "To receive more instant Bitcoin, Bitkit has to increase your liquidity. A {lspFee} service provider fee will be deducted from the amount you specified.", - "receive_error_min_title": "Below Minimum Amount", - "receive_error_min_description": "Invoice must be at least {txt}", - "receive_error_max_title": "Above Maximum Amount", - "receive_error_max_description": "Invoice must be less than {txt}", "receive_cjit_error": "CJIT Error", "receive_will": "You will receive", "minimum": "MINIMUM", @@ -126,7 +114,6 @@ "activity_transfer_savings_done": "From Spending", "activity_transfer_spending_pending": "From Savings (±{duration}m)", "activity_transfer_spending_done": "From Savings", - "activity_transfer_to_savings": "To Savings", "activity_transfer_to_spending": "To Spending", "activity_transfer_pending": "Transfer (±{duration}m)", "activity_confirms_in": "Confirms in {feeRateDescription}", @@ -134,8 +121,6 @@ "activity_low_fee": "Fee potentially too low", "activity_bitcoin_sent": "Sent Bitcoin", "activity_bitcoin_received": "Received Bitcoin", - "activity_tether_sent": "Sent Tether", - "activity_tether_received": "Received Tether", "activity_error_get": "Transaction Retrieval Failed", "activity_error_get_description": "Bitkit was not able to fetch the transaction data.", "activity_error_tx_not_found": "The transaction was not found.", @@ -199,7 +184,6 @@ "boost_swipe": "Swipe To Boost", "payment_received": "Received Bitcoin", "instant_payment_received": "Received Instant Bitcoin", - "payment_confirming": "Confirming", "error_create_tx": "Transaction Creation Failed", "error_broadcast_tx": "Transaction Broadcast Failed", "error_broadcast_tx_connection": "Please check your connection and try again.\n{message}", @@ -222,7 +206,6 @@ "balance_unit_switched_title": "Switched to {unit}", "balance_unit_switched_message": "Tap your wallet balance to switch it back to {unit}.", "refresh_error_title": "Refresh Failed", - "refresh_error_description": "Bitkit was unable to refresh your wallet.", "refresh_error_throttle_title": "Connection Throttled", "refresh_error_throttle_description": "Electrum server connection is throttled. Please wait several minutes before trying again.", "ldk_sync_error_title": "Lightning Sync Error"