import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';

const resources = {
  en: {
    translation: {
      "Loading wallet data...": "Loading wallet data...",
      "Add new wallet": "Add new wallet",
      "Manage wallets": "Manage wallets",
      "Crypto": "Crypto",
      "Manage crypto": "Manage crypto",
      "Connect Wallet": "Connect Wallet",
      "Create New Wallet": "Create New Wallet",
      "Enter Password": "Enter Password",
      "Enter your 12-word seed phrase": "Enter your 12-word seed phrase",
      "Password": "Password",
      "Login": "Login",
      "Generate New Wallet": "Generate New Wallet",
      "Your Seed Phrase": "Your Seed Phrase",
      "Copy": "Copy",
      "Balance": "Balance",
      "Address": "Address",
      "Wallet": "Wallet",
      "Settings": "Settings",
      "Logout": "Logout",
      "Token Management": "Token Management",
      "Show/Hide Tokens": "Show/Hide Tokens",
      "Save Changes": "Save Changes"
    }
  }
};

i18n
  .use(initReactI18next)
  .init({
    resources,
    lng: 'en',
    fallbackLng: 'en',
    interpolation: {
      escapeValue: false
    }
  });

export default i18n;
