<?php

return [
    'core' => [
        'aiSettings' => 'AI',
        'aiAssistant' => 'AI Assistant',
        'newConversation' => 'New Conversation',
        'loading' => 'Loading...',
        'send' => 'Send',
        'sending' => 'Sending...',
        'askQuestion' => 'Ask a question about your restaurant data...',
        'noMessages' => 'No messages yet',
        'startConversation' => 'Start a conversation by asking a question',
        'tokensRemaining' => ':count tokens remaining this month',
        'noTokensRemaining' => 'No tokens remaining this month',
        'aiAssistantNotAvailable' => 'AI Assistant Not Available',
        'goToAiSettings' => 'Go to AI Settings',
        'suggestedQuestions' => 'Suggested questions:',
        'thinking' => 'Thinking...',
        'processingRequest' => 'Processing your request',
        'apiKeyNotConfiguredError' => 'OpenAI API key is not configured. Please contact your superadmin to configure the API key in AI settings.',
        'availableCapabilities' => 'Available Capabilities',
        'capabilitiesDescription' => 'You can ask questions about your restaurant data. Here are the types of questions you can ask:',
        'exampleQuestions' => 'Example Questions',
        'whatCanIAsk' => 'What Can I Ask?',
        'noCapabilitiesAvailable' => 'No capabilities available at the moment.',
    ],
    'settings' => [
        'title' => 'AI Settings',
        'description' => 'Configure AI assistant settings for your restaurant.',
        'enableAi' => 'Enable AI Assistant',
        'monthlyTokenLimit' => 'AI Monthly Token Limit',
        'monthlyTokenLimitDescription' => 'Maximum number of AI tokens per month from package. Use -1 for unlimited. This limit resets when the package renews.',
        'monthlyTokenLimitInfo' => 'Set the monthly AI token limit for this package. This limit applies to all restaurants subscribed to this package and resets when the package renews monthly.',
        'allowedRoles' => 'Allowed Roles',
        'allowedRolesDescription' => 'Select which roles can access the AI assistant',
        'saveSettings' => 'Save Settings',
        'packageLimit' => 'Package Monthly Limit',
        'package' => 'Package',
        'monthlyLimit' => 'Monthly Limit',
        'used' => 'Used',
        'remaining' => 'Remaining',
        'usedThisMonth' => 'used this month',
        'tokensConsumed' => 'Tokens Consumed This Month',
        'packageLimitNote' => 'Your AI usage is controlled by your package\'s monthly token limit. The limit resets when your package renews.',
    ],
    'superadmin' => [
        'title' => 'AI',
        'description' => 'Configure OpenAI API key for the AI assistant module. This key will be used by all restaurants using the AI assistant feature.',
        'openaiApiKey' => 'OpenAI API Key',
        'openaiApiKeyDescription' => 'Enter your OpenAI API key. This key is required for the AI assistant to function.',
        'openaiApiKeyLink' => 'You can get your API key from OpenAI Platform',
        'openaiOrganizationId' => 'OpenAI Organization ID (Optional)',
        'openaiOrganizationIdDescription' => 'Enter your OpenAI Organization ID if you want to use organization-level features. This is optional but may help access usage statistics and organization-specific endpoints.',
        'openaiOrganizationIdLink' => 'Find your Organization ID in OpenAI Platform',
        'apiKeyConfigured' => 'API key is configured (hidden for security)',
        'apiKeyNotConfigured' => 'No API key configured. AI assistant will not function without a valid API key.',
        'saveSettings' => 'Save Settings',
        'testApiKey' => 'Test API Key',
        'testingApiKey' => 'Testing...',
        'apiKeyTestSuccess' => 'API key is valid and working correctly',
        'apiKeyTestError' => 'API key test failed',
        'apiKeyRequiredForTest' => 'Please enter an API key to test',
        'apiKeyDetails' => 'API Key Details',
        'loadingDetails' => 'Loading API key details...',
        'organization' => 'Organization',
        'account' => 'Account',
        'usage' => 'Usage',
        'availableModels' => 'Available Models',
        'name' => 'Name',
        'organizationId' => 'Organization ID',
        'isDefault' => 'Is Default',
        'accountId' => 'Account ID',
        'totalUsage' => 'Total Usage (Last 30 Days)',
        'dailyCosts' => 'Daily Costs',
        'days' => 'days',
        'more' => 'more',
        'tokenUsage' => 'Token Usage & Statistics',
        'totalTokens' => 'Total Tokens',
        'totalRequests' => 'Total Requests',
        'promptTokens' => 'Prompt Tokens',
        'completionTokens' => 'Completion Tokens',
        'daysWithActivity' => 'Days with Activity',
        'avgTokensPerRequest' => 'Avg Tokens per Request',
        'detailedTokenInfoNotAvailable' => 'Detailed token information is not available. Please check the OpenAI Dashboard for more details.',
        'usageApiNote' => 'The OpenAI Usage API requires special permissions or organization-level access. Token usage statistics are only available through the OpenAI Dashboard for most API keys.',
        'noUsageToday' => 'No usage data found for today. Usage statistics will appear here once you start making API calls.',
        'usageNoteTodayOnly' => 'Note: This shows usage for today only. Historical data requires multiple API calls and may hit rate limits.',
        'errorFetchingDetails' => 'Error fetching details',
        'errors' => 'Errors',
        'debugInfo' => 'Debug Information',
        'noDataFetched' => 'No data was fetched. This might be due to API limitations or the API key not having access to these endpoints.',
        'note' => 'Note',
        'balanceNote' => 'OpenAI does not provide balance information via API. Please check your account balance and usage on the',
        'openaiDashboard' => 'OpenAI Dashboard',
        'refreshDetails' => 'Refresh',
        'refreshing' => 'Refreshing...',
        'totalTokenUsage' => 'Total Token Usage',
        'tokensConsumed' => 'Tokens Consumed',
        'tokensRemaining' => 'Tokens Remaining',
        'acrossAllRestaurants' => 'Across all restaurants',
        'ofTotalLimit' => 'of :total total limit',
        'usageProgress' => 'Usage Progress',
        'unlimitedPackages' => 'Some packages have unlimited tokens',
        'aiSettings' => 'AI Settings',
        'tokenConsumed' => 'Token Consumed',
        'tokenConsumptionDescription' => 'View token consumption for all restaurants using AI features.',
        'currentMonthTokens' => 'Current Month Tokens',
        'viewHistory' => 'View History',
        'tokenUsageHistory' => 'Token Usage History',
        'noRestaurantsWithAI' => 'No restaurants have AI enabled.',
        'noTokenHistory' => 'No token usage history available.',
        'currentMonthData' => 'Current Month Data',
        'refresh' => 'Refresh',
        'tokenLimit' => 'Token Limit',
        'usage' => 'Usage',
        'restaurant' => 'Restaurant',
        'package' => 'Package',
        'actions' => 'Actions',
        'month' => 'Month',
        'close' => 'Close',
        'remaining' => 'Remaining',
        'loadingTokenStatistics' => 'Loading token statistics...',
    ],
    'messages' => [
        'settingsUpdated' => 'Settings updated successfully',
        'conversationCreated' => 'Conversation created successfully',
        'messageSent' => 'Message sent successfully',
    ],
];
