Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
12.6 KB
Raw Blame
---
en:
  questrade_items:
    default_name: "Questrade Connection"
    # Model method strings (i18n for item_model.rb)
    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"
    errors:
      provider_not_configured: "Questrade provider is not configured"

    # Syncer status messages
    sync:
      status:
        importing: "Importing accounts from Questrade..."
        processing: "Processing holdings and activities..."
        calculating: "Calculating balances..."
        importing_data: "Importing account data..."
        checking_setup: "Checking account configuration..."
        needs_setup: "%{count} accounts need setup..."
      success: "Sync started"

    # Panel (settings view)
    panel:
      eyebrow: "Setup · desktop only"
      help_text: "Questrade API docs"
      disconnect: "Disconnect"
      disconnect_confirm: "Disconnect Questrade? This removes the connection and unlinks its synced accounts."
      steps:
        s1_html: 'Sign in to the <a href="https://my.questrade.com" target="_blank" rel="noopener noreferrer" class="text-primary font-medium underline">Questrade portal</a> on a desktop browser. The API settings are not available in the mobile app.'
        s2: "Open Settings, and under General settings edit the IQ API settings."
        s3_html: "In the API access modal, click <strong>Manage</strong> under <strong>My applications</strong>."
        s4: "Register a personal app with a name and description, then save."
        s5: "Add a new device and generate a token."
        s6: "Paste the generated token below and save."
      setup_instructions: "Setup instructions:"
      step_1: "Visit your Questrade dashboard to get your credentials"
      step_2: "Enter your credentials below and click the Save button"
      step_3: "After a successful connection, go to the Accounts tab to set up new accounts"
      field_descriptions: "Field descriptions:"
      optional: "(Optional)"
      required: "(required)"
      optional_with_default: "(optional, defaults to %{default_value})"
      save_button: "Save Configuration"
      update_button: "Update Configuration"
      token_refresh_hint: "Questrade tokens renew automatically each time your accounts sync. If a connection sits unused for over 7 days and goes stale, paste a new token here to re-arm it without disconnecting."
      status_configured_html: "Configured and ready to use. Visit the <a href=\"%{accounts_path}\" class=\"link\">Accounts</a> tab to manage and set up accounts."
      status_not_configured: "Not configured"
      fields:
        refresh_token:
          label: "Refresh Token"
          description: "Your Questrade refresh token"
          placeholder_new: "Paste refresh token here"
          placeholder_update: "Enter new refresh token to update"
        api_server:
          label: "Api Server"
          description: "Your Questrade api server"
          placeholder_new: "Paste api server here"
          placeholder_update: "Enter new api server to update"

    # CRUD success messages
    create:
      success: "Questrade connection created successfully"
    update:
      success: "Questrade connection updated"
    destroy:
      success: "Questrade connection removed"
    index:
      title: "Questrade Connections"

    # Loading states
    loading:
      loading_message: "Loading Questrade accounts..."
      loading_title: "Loading"

    # Account linking
    link_accounts:
      all_already_linked:
        one: "The selected account (%{names}) is already linked"
        other: "All %{count} selected accounts are already linked: %{names}"
      api_error: "API error: %{message}"
      invalid_account_names:
        one: "Cannot link account with blank name"
        other: "Cannot link %{count} accounts with blank names"
      link_failed: "Failed to link accounts"
      no_accounts_selected: "Please select at least one account"
      no_api_key: "Questrade API key not found. Please configure it in Provider Settings."
      partial_invalid: "Successfully linked %{created_count} account(s), %{already_linked_count} were already linked, %{invalid_count} account(s) had invalid names"
      partial_success: "Successfully linked %{created_count} account(s). %{already_linked_count} account(s) were already linked: %{already_linked_names}"
      success:
        one: "Successfully linked %{count} account"
        other: "Successfully linked %{count} accounts"

    # Provider item display (used in _item partial)
    questrade_item:
      kind: Brokerage
      accounts_need_setup: "Accounts need setup"
      delete: "Delete connection"
      deletion_in_progress: "deletion in progress..."
      error: "Error"
      more_accounts_available:
        one: "%{count} more account available"
        other: "%{count} more accounts available"
      no_accounts_description: "This connection has no linked accounts yet."
      no_accounts_title: "No accounts"
      provider_name: "Questrade"
      requires_update: "Connection needs update"
      setup_action: "Set Up New Accounts"
      setup_description: "%{linked} of %{total} accounts linked. Choose account types for your newly imported Questrade accounts."
      setup_needed: "New accounts ready to set up"
      status: "Synced %{timestamp} ago"
      status_never: "Never synced"
      status_with_summary: "Last synced %{timestamp} ago - %{summary}"
      syncing: "Syncing..."
      total: "Total"
      unlinked: "Unlinked"
      update_credentials: "Update credentials"

    # Select accounts view
    select_accounts:
      accounts_selected: "accounts selected"
      api_error: "API error: %{message}"
      cancel: "Cancel"
      configure_name_in_provider: "Cannot import - please configure account name in Questrade"
      description: "Select the accounts you want to link to your %{product_name} account."
      link_accounts: "Link selected accounts"
      no_accounts_found: "No accounts found. Please check your API key configuration."
      no_api_key: "Questrade API key is not configured. Please configure it in Settings."
      no_credentials_configured: "Please configure your Questrade credentials first in Provider Settings."
      no_name_placeholder: "(No name)"
      title: "Select Questrade Accounts"

    # Select existing account view
    select_existing_account:
      page_title: "Link a Questrade account"
      dialog_title: "Link to a Questrade account"
      linking_label: "Linking"
      none_available: "No unlinked Questrade accounts available."
      buttons:
        cancel: "Cancel"
        link: "Link"
      account_already_linked: "This account is already linked to a provider"
      all_accounts_already_linked: "All Questrade accounts are already linked"
      api_error: "API error: %{message}"
      balance_label: "Balance:"
      cancel: "Cancel"
      cancel_button: "Cancel"
      configure_name_in_provider: "Cannot import - please configure account name in Questrade"
      connect_hint: "Connect a Questrade account to enable automatic syncing."
      description: "Select a Questrade account to link with this account. Transactions will be synced and deduplicated automatically."
      header: "Link with Questrade"
      link_account: "Link account"
      link_button: "Link this account"
      linking_to: "Linking to:"
      no_account_specified: "No account specified"
      no_accounts: "No unlinked Questrade accounts found."
      no_accounts_found: "No Questrade accounts found. Please check your API key configuration."
      no_api_key: "Questrade API key is not configured. Please configure it in Settings."
      no_credentials_configured: "Please configure your Questrade credentials first in Provider Settings."
      no_name_placeholder: "(No name)"
      settings_link: "Go to Provider Settings"
      subtitle: "Connect this account to one of your Questrade accounts"
      title: "Link %{account_name} with Questrade"

    # Link existing account
    link_existing_account:
      account_already_linked: "This account is already linked to a provider"
      api_error: "API error: %{message}"
      invalid_account_name: "Cannot link account with blank name"
      provider_account_already_linked: "This Questrade account is already linked to another account"
      provider_account_not_found: "Questrade account not found"
      missing_parameters: "Missing required parameters"
      no_api_key: "Questrade API key not found. Please configure it in Provider Settings."
      success: "Successfully linked %{account_name} with Questrade"

    # Setup accounts wizard
    setup_accounts:
      page_title: "Set up Questrade accounts"
      dialog_title: "Set up your Questrade accounts"
      all_linked: "All Questrade accounts are already linked."
      import_as: "Import as"
      buttons:
        cancel: "Cancel"
        create: "Create accounts"
        done: "Done"
      types:
        investment: "Investment"
        depository: "Cash / Depository"
        skip: "Skip this account"
      account_type_label: "Account Type:"
      accounts_count:
        one: "%{count} account available"
        other: "%{count} accounts available"
      all_accounts_linked: "All your Questrade accounts have already been set up."
      api_error: "API error: %{message}"
      creating: "Creating accounts..."
      fetch_failed: "Failed to Fetch Accounts"
      import_selected: "Import selected accounts"
      instructions: "Select the accounts you want to import from Questrade. You can choose multiple accounts."
      no_accounts: "No unlinked accounts found from this Questrade connection."
      no_accounts_to_setup: "No Accounts to Set Up"
      no_api_key: "Questrade API key is not configured. Please check your connection settings."
      select_all: "Select all"
      account_types:
        skip: "Skip this account"
        depository: "Checking or Savings Account"
        credit_card: "Credit Card"
        investment: "Investment Account"
        crypto: "Cryptocurrency Account"
        loan: "Loan or Mortgage"
        other_asset: "Other Asset"
      subtype_labels:
        depository: "Account Subtype:"
        credit_card: ""
        investment: "Investment Type:"
        crypto: ""
        loan: "Loan Type:"
        other_asset: ""
      subtype_messages:
        credit_card: "Credit cards will be automatically set up as credit card accounts."
        other_asset: "No additional options needed for Other Assets."
        crypto: "Cryptocurrency accounts will be set up to track holdings and transactions."
      subtypes:
        depository:
          checking: "Checking"
          savings: "Savings"
          hsa: "Health Savings Account"
          cd: "Certificate of Deposit"
          money_market: "Money Market"
        investment:
          brokerage: "Brokerage"
          pension: "Pension"
          retirement: "Retirement"
          "401k": "401(k)"
          roth_401k: "Roth 401(k)"
          "403b": "403(b)"
          tsp: "Thrift Savings Plan"
          "529_plan": "529 Plan"
          hsa: "Health Savings Account"
          mutual_fund: "Mutual Fund"
          ira: "Traditional IRA"
          roth_ira: "Roth IRA"
          angel: "Angel"
        loan:
          mortgage: "Mortgage"
          student: "Student Loan"
          auto: "Auto Loan"
          other: "Other Loan"
      balance: "Balance"
      cancel: "Cancel"
      choose_account_type: "Choose the correct account type for each Questrade account:"
      create_accounts: "Create Accounts"
      creating_accounts: "Creating Accounts..."
      historical_data_range: "Historical Data Range:"
      subtitle: "Choose how to import each account"
      sync_start_date_help: "Select how far back you want to sync transaction history."
      sync_start_date_label: "Start syncing transactions from:"
      title: "Set Up Your Questrade Accounts"

    # Complete account setup
    setup_required:
      title: Connect Questrade first
      not_configured_title: Questrade isn't connected yet
      not_configured_description: Add your Questrade connection under Provider settings, then come back here to link accounts.
      go_to_provider_settings: Go to provider settings
    complete_account_setup:
      all_skipped: "All accounts were skipped. No accounts were created."
      creation_failed: "Failed to create accounts: %{error}"
      no_accounts: "No accounts to set up."
      success: "Successfully created %{count} account(s)."

    # Preload accounts
    preload_accounts:
      no_credentials_configured: "Please configure your Questrade credentials first in Provider Settings."