Skip to content

Commit

Permalink
fix: remove unused i18 strings
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed May 21, 2024
1 parent 510f311 commit 9322582
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 56 deletions.
19 changes: 1 addition & 18 deletions src/utils/i18n/locales/en/lightning.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -45,8 +41,6 @@
"quick_setup": "Quick Setup",
"quick_confirm_header": "Please\n<accent>confirm</accent>",
"quick_confirm_cost": "It costs <accent>{txFee}</accent> in network fees and <accent>{lspFee}</accent> in service provider fees to transfer your funds.",
"spending_header": "<purple>Spending Money.</purple>",
"receiving_header": "<purple>Receiving Money.</purple>",
"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.",
Expand All @@ -68,19 +62,10 @@
"timeout_header": "<accent>Keep Bitkit</accent>\nopen",
"timeout_text": "Funds were not transferred yet. Bitkit will try to initiate the transfer during the next <accent>30 minutes</accent>. 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 <accent>{txFee}</accent> in network fees and <accent>{lspFee}</accent> in service provider fees to transfer the additional funds to your spending balance.",
"ts_savings_title": "Transfer\n<accent>to Savings</accent>",
"ts_savings_text": "Transferring funds from your spending balance to your savings. You will be able to use these funds in <accent>±1 hour</accent>.",
"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 <accent>±10 minutes</accent>.",
"interrupted_title": "Transfer Interrupted",
"interrupted_header": "<accent>Keep Bitkit</accent>\nopen",
"interrupted_text": "Funds were not transferred yet. Bitkit will try to initiate the transfer during the next <accent>30 minutes</accent>. Please keep your app open.",
"availability_title": "Funds Availability",
"availability_header": "Availability\n<accent>of funds</accent>",
"availability_text": "Transferring funds to savings usually takes\n<accent>±1 hour</accent>, but settlement may take <accent>14 days</accent> under certain network conditions.",
Expand Down Expand Up @@ -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..."
}
10 changes: 1 addition & 9 deletions src/utils/i18n/locales/en/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
"buy_header": "Bitcoin\n<accent>for Bitkit</accent>",
"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",
Expand All @@ -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": "<bold>It appears Bitkit does not have permission to access your camera.</bold>\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",
Expand Down Expand Up @@ -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",
Expand All @@ -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:\n<yellow>Beta Risk.</yellow>",
"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"
}
2 changes: 0 additions & 2 deletions src/utils/i18n/locales/en/security.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
3 changes: 0 additions & 3 deletions src/utils/i18n/locales/en/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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."
},
Expand Down
6 changes: 0 additions & 6 deletions src/utils/i18n/locales/en/slashtags.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
18 changes: 0 additions & 18 deletions src/utils/i18n/locales/en/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"send": "Send",
"receive": "Receive",
"balance_total": "Total balance",
"balance_total_transferring": "<text>Total balance (</text><pending/><text> in transfer)</text>",
"balance_total_pending": "<text>Total balance (</text><pending/><text> pending)</text>",
"create_wallet_mnemonic_error": "Invalid recovery phrase.",
"create_wallet_mnemonic_restore_error": "Please double-check if your recovery phrase is accurate.",
Expand Down Expand Up @@ -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.",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -104,10 +96,6 @@
"receive_spending": "Receive on Spending Balance",
"receive_connect_initial": "To set up your spending balance, a <accent>{lspFee}</accent> service provider fee will be deducted.",
"receive_connect_additional": "To receive more instant Bitcoin, Bitkit has to increase your liquidity. A <accent>{lspFee}</accent> 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",
Expand All @@ -126,16 +114,13 @@
"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}",
"activity_confirms_in_boosted": "Boosting. Confirms in {feeRateDescription}",
"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.",
Expand Down Expand Up @@ -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}",
Expand All @@ -208,7 +192,6 @@
"filter_apply": "Apply",
"reorg_detected": "Blockchain Reorg Detected",
"reorg_msg_begin": "{count, plural, one {# of your transactions is no longer confirmed.} other {# of your transactions are no longer confirmed.}} Please wait.",
"reorg_msg_end": "Please check your activity list for affected transactions.",
"lnurl_w_title": "Withdraw Bitcoin",
"lnurl_w_max": "AvailablE TO WITHDRAW",
"lnurl_w_text": "The funds you withdraw will be deposited into your Bitkit spending balance.",
Expand All @@ -222,7 +205,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"
Expand Down

0 comments on commit 9322582

Please sign in to comment.