Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
11.2 KB
Raw Blame
en:
  snaptrade_items:
    default_name: "SnapTrade Connection"
    destroy:
      success: "Scheduled SnapTrade connection for deletion."
    connect:
      decryption_failed: "Unable to read SnapTrade credentials. Please delete and recreate this connection."
      connection_failed: "Failed to connect to SnapTrade: %{message}"
    callback:
      success: "Brokerage connected! Please select which accounts to link."
      no_item: "SnapTrade configuration not found."
    complete_account_setup:
      success:
        one: "Successfully linked %{count} account."
        other: "Successfully linked %{count} accounts."
      partial_success:
        one: "Linked %{count} account. %{failed_count} failed to link."
        other: "Linked %{count} accounts. %{failed_count} failed to link."
      link_failed: "Failed to link accounts: %{errors}"
      no_accounts: "No accounts were selected for linking."
    preload_accounts:
      not_configured: "SnapTrade is not configured."
    select_accounts:
      not_configured: "SnapTrade is not configured."
    oauth_authorize:
      not_configured: "The SnapTrade browser authorization needs SNAPTRADE_OAUTH_CLIENT_SECRET as well as SNAPTRADE_OAUTH_CLIENT_ID. Set it and restart, or authorize with a device code instead."
    oauth_callback:
      success: "SnapTrade authorization complete."
      access_denied: "SnapTrade authorization was cancelled."
      state_mismatch: "SnapTrade authorization failed a security check. Please try again."
      failed: "Unable to complete SnapTrade authorization. Please try again."
    oauth_device_flow:
      title: "Connect SnapTrade"
      subtitle: "Authorize Sure for SnapTrade with a device code."
      instructions: "Open SnapTrade, confirm this device code, then come back here to finish."
      code_label: "Device code"
      open_snaptrade: "Open SnapTrade"
      start_button: "Start authorization"
      complete_button: "I've authorized SnapTrade"
      cancel_button: "Cancel"
      missing_client_id: "SnapTrade OAuth is not configured. Add SNAPTRADE_OAUTH_CLIENT_ID to .env.local, restart the app, then try again."
    start_oauth_device_flow:
      failed: "Unable to start SnapTrade device authorization. Please try again."
    personal_key:
      success: "SnapTrade Personal API key saved. Syncing your accounts..."
      missing_fields: "Enter both the SnapTrade client ID and consumer key."
    complete_oauth_device_flow:
      success: "SnapTrade authorization complete."
      device_code_required: "No SnapTrade device authorization is in progress for this connection. Start it again to get a new code."
      authorization_pending: "SnapTrade hasn't seen your confirmation yet. Approve the code in SnapTrade, then try again."
      expired: "This device code expired. Start the authorization again."
      access_denied: "SnapTrade authorization was declined."
      failed: "Unable to complete SnapTrade device authorization. Please try again."
    select_existing_account:
      not_found: "Account or SnapTrade configuration not found."
      title: "Link to SnapTrade Account"
      header: "Link Existing Account"
      subtitle: "Select a SnapTrade account to link to"
      no_accounts: "No unlinked SnapTrade accounts available."
      connect_hint: "You may need to connect a brokerage first."
      settings_link: "Go to Provider Settings"
      linking_to: "Linking to account:"
      balance_label: "Balance:"
      link_button: "Link"
      cancel_button: "Cancel"
    link_existing_account:
      success: "Successfully linked to SnapTrade account."
      failed: "Failed to link account: %{message}"
      not_found: "Account not found."
    connections:
      unknown_brokerage: "Unknown Brokerage"
    delete_connection:
      success: "Connection deleted successfully. One slot freed up."
      failed: "Failed to delete connection: %{message}"
      missing_authorization_id: "Missing authorization ID"
      api_deletion_failed: "Could not delete connection from SnapTrade - this item is not authorized. The connection may still exist in your SnapTrade account."
    setup_accounts:
      title: "Set Up SnapTrade Accounts"
      header: "Set Up Your SnapTrade Accounts"
      subtitle: "Select which brokerage accounts to link"
      syncing: "Fetching your accounts..."
      loading: "Fetching accounts from SnapTrade..."
      loading_hint: "Click Refresh to check for accounts."
      refresh: "Refresh"
      info_title: "SnapTrade Investment Data"
      info_holdings: "Holdings with current prices and quantities"
      info_cost_basis: "Cost basis per position (when available)"
      info_activities: "Trade history with activity labels (Buy, Sell, Dividend, etc.)"
      info_history: "Up to 3 years of transaction history"
      free_tier_note: "SnapTrade free tier allows 20 brokerage connections."
      no_accounts_title: "No Accounts Found"
      no_accounts_message: "No brokerage accounts were found. This can happen if you cancelled the connection or if your brokerage isn't supported."
      try_again: "Connect Brokerage"
      back_to_settings: "Back to Settings"
      available_accounts: "Available Accounts"
      balance_label: "Balance:"
      account_number: "Account:"
      account_type_label: "Account type"
      account_types:
        depository: "Checking or Savings Account"
        credit_card: "Credit Card"
        investment: "Investment Account"
        crypto: "Crypto Account"
        loan: "Loan or Line of Credit"
        other_asset: "Other Asset"
      sync_start_date_label: "Import transactions from:"
      sync_start_date_help: "Leave blank for all available history"
      create_button: "Create Selected Accounts"
      cancel_button: "Cancel"
      creating: "Creating Accounts..."
      done_button: "Done"
      or_link_existing: "Or link to an existing account instead of creating a new one:"
      select_account: "Select an account..."
      link_button: "Link"
      linked_accounts: "Already Linked"
      linked_to: "Linked to:"
    snaptrade_item:
      accounts_need_setup:
        one: "%{count} account needs setup"
        other: "%{count} accounts need setup"
      deletion_in_progress: "Deletion in progress..."
      syncing: "Syncing..."
      requires_update: "Connection needs update"
      error: "Sync error"
      status: "Last synced %{timestamp} ago - %{summary}"
      status_never: "Never synced"
      reconnect: "Reconnect"
      connect_brokerage: "Connect Brokerage"
      add_another_brokerage: "Connect another brokerage"
      delete: "Delete"
      setup_needed: "Accounts need setup"
      setup_description: "Some accounts from SnapTrade need to be linked to Sure accounts."
      setup_action: "Setup Accounts"
      setup_accounts_menu: "Set Up Accounts"
      manage_connections: "Manage Connections"
      more_accounts_available:
        one: "%{count} more account available to set up"
        other: "%{count} more accounts available to set up"
      no_accounts_title: "No accounts discovered"
      no_accounts_description: "Connect a brokerage to import your investment accounts."

  providers:
    snaptrade:
      name: "SnapTrade"
      connection_description: "Connect to your brokerage via SnapTrade (25+ brokers supported)"
      description: "SnapTrade connects to 25+ major brokerages (Fidelity, Vanguard, Schwab, Robinhood, etc.) and provides full trade history with activity labels and cost basis."
      oauth_setup_step_1_html: "Register an OAuth app at <a href=\"https://dashboard.snaptrade.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">dashboard.snaptrade.com</a>"
      oauth_setup_step_2_html: "For the browser flow only: add this app's callback URL (<code>%{callback_url}</code>) as a registered redirect URI"
      oauth_setup_step_3: "Set SNAPTRADE_OAUTH_CLIENT_ID in your environment and restart. That alone enables the device code flow; add SNAPTRADE_OAUTH_CLIENT_SECRET for the browser flow too"
      free_tier_warning: "SnapTrade's free tier covers 20 brokerage connections."
      personal_key_title: "SnapTrade Personal API key"
      personal_key_description_html: "Use the free Personal key for your own brokerage accounts. Create it at <a href=\"https://dashboard.snaptrade.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">dashboard.snaptrade.com</a> and paste the client ID and consumer key here."
      personal_key_client_id_label: "Client ID"
      personal_key_consumer_key_label: "Consumer key"
      personal_key_save_button: "Save key"
      oauth_alternative: "Running Sure for other people? Register a SnapTrade OAuth app instead:"
      oauth_title: "SnapTrade OAuth"
      oauth_status_ready: "Authorize Sure to read your SnapTrade account data."
      oauth_status_ready_device: "Authorize Sure with a device code to read your SnapTrade account data."
      oauth_status_authorized: "Authorized with SnapTrade."
      oauth_status_personal_key: "Syncing with your SnapTrade Personal API key. Authorizing with OAuth switches this connection to OAuth."
      oauth_connect_button: "Connect with SnapTrade"
      oauth_device_button: "Use a device code"
      oauth_reauthorize_button: "Reauthorize"
      status_connected:
        one: "%{count} account from SnapTrade"
        other: "%{count} accounts from SnapTrade"
      needs_setup:
        one: "%{count} needs setup"
        other: "%{count} need setup"
      status_ready: "Ready to connect brokerages"
      setup_accounts_button: "Setup Accounts"
      connect_button: "Connect Brokerage"
      connected_brokerages: "Connected:"
      manage_connections: "Manage Connections"
      loading_connections: "Loading connections..."
      connections_error: "Failed to load connections: %{message}"
      accounts_count:
        one: "%{count} account"
        other: "%{count} accounts"
      orphaned_connection: "Orphaned connection (not synced locally)"
      needs_linking: "needs linking"
      no_connections: "No brokerage connections found."
      delete_connection: "Delete"
      delete_connection_title: "Delete Brokerage Connection?"
      delete_connection_body: "This will permanently remove the %{brokerage} connection from SnapTrade. All accounts from this brokerage will be unlinked. You'll need to reconnect to sync these accounts again."
      delete_connection_confirm: "Delete Connection"
      manage_at_snaptrade: "Manage connections at SnapTrade"

  snaptrade_item:
    sync_status:
      no_accounts: "No accounts found"
      synced:
        one: "%{count} account synced"
        other: "%{count} accounts synced"
      synced_with_setup: "%{linked} synced, %{unlinked} need setup"
    institution_summary:
      none: "No institutions connected"
      count:
        one: "%{count} institution"
        other: "%{count} institutions"
    brokerage_summary:
      none: "No brokerages connected"
      count:
        one: "%{count} brokerage"
        other: "%{count} brokerages"
    syncer:
      discovering: "Discovering accounts..."
      importing: "Importing accounts from SnapTrade..."
      processing: "Processing holdings and activities..."
      calculating: "Calculating balances..."
      checking_config: "Checking account configuration..."
      needs_setup: "%{count} accounts need setup..."
      activities_fetching_async: "Activities are being fetched in the background. This may take up to a minute for fresh brokerage connections."