2814ec412d
Sets up the foundational files and dependencies for the AgentBlock scientific modeling platform. Includes project metadata, React app structure, Vite configuration, and essential dependencies for AI integration, UI components, and styling.
257 lines
9.5 KiB
TypeScript
257 lines
9.5 KiB
TypeScript
export type Language = 'en' | 'zh';
|
|
|
|
export const translations = {
|
|
en: {
|
|
// SciHub
|
|
scihub_title: 'SciHub',
|
|
resources: 'Resources',
|
|
documentation: 'Documentation',
|
|
video_tutorials: 'Video Tutorials',
|
|
api_specs: 'API Specs',
|
|
community: 'Community',
|
|
forum: 'Forum',
|
|
settings: 'Settings',
|
|
coming_soon: 'is coming soon in the next update!',
|
|
trending: 'Trending:',
|
|
hero_title: 'Scientific Knowledge Base',
|
|
hero_subtitle: 'Explore millions of literature papers in VISA format. Scientific insights made accessible and reproducible.',
|
|
search_placeholder: 'Search for VISA format papers...',
|
|
search_button: 'Search',
|
|
researcher_journey: "Researcher's Journey",
|
|
onboarding_path: 'New to SciHub? Follow this immersive onboarding path.',
|
|
view_roadmap: 'View Roadmap',
|
|
setup_env: 'Setup Environment',
|
|
setup_env_desc: 'Configure your workspace and local API keys for data fetching.',
|
|
understand_visa: 'Understand VISA',
|
|
understand_visa_desc: 'Learn the Virtual Integrated Scientific Architecture format.',
|
|
run_first_model: 'Run First Model',
|
|
run_first_model_desc: 'Execute a sample simulation from the case library.',
|
|
contribute: 'Contribute',
|
|
contribute_desc: 'Publish your findings and models to the community.',
|
|
case_library: 'Classic Case Library',
|
|
case_library_desc: 'Foundation models ready for exploration and replication.',
|
|
reproduce_one_click: 'Reproduce with One-click',
|
|
model_library: 'Model Library',
|
|
model_library_desc: 'Manage your personal workflows and discover shared assets.',
|
|
view_details: 'View Details',
|
|
start_reading: 'Start Reading',
|
|
|
|
// OmniEditor
|
|
omnieditor_title: 'OmniModel',
|
|
project_settings: 'Project Settings',
|
|
run_model: 'Run Model',
|
|
visa_connected: 'VISA Connected',
|
|
new_model_draft: 'New Model Draft',
|
|
active_projects: 'Active Projects',
|
|
model_drafts: 'Model Drafts',
|
|
visa_storage: 'VISA STORAGE',
|
|
ai_assistant: 'AI Assistant',
|
|
ai_researcher: 'AI RESEARCHER',
|
|
user: 'USER',
|
|
visual_canvas: 'Visual Canvas',
|
|
logic_blocks: 'Logic Blocks',
|
|
parameters: 'Parameters',
|
|
import_data: 'Import Data',
|
|
export_data: 'Export Data',
|
|
variable_name: 'Variable Name',
|
|
type: 'Type',
|
|
distribution: 'Distribution',
|
|
initial_value: 'Initial Value',
|
|
min: 'Min',
|
|
max: 'Max',
|
|
description: 'Description',
|
|
variable_params: 'Variable Parameters',
|
|
logic_validation: 'Logic Validation',
|
|
missing_value: 'Missing Value',
|
|
type_mismatch: 'Type Mismatch',
|
|
real_time_monitoring: 'Real-time Monitoring',
|
|
run_deep_scan: 'Run Deep Scan',
|
|
agentpy_preview: 'Agentpy Preview',
|
|
auto_generated: 'Auto Generated',
|
|
copy_code: 'Copy Code',
|
|
simulation_settings: 'Simulation Settings',
|
|
live_feed: 'Live Feed',
|
|
population_distribution: 'Population Distribution',
|
|
system_logs: 'System Logs',
|
|
|
|
// Landing
|
|
landing_product: 'Product',
|
|
landing_enterprise: 'Enterprise',
|
|
landing_industries: 'Industries',
|
|
landing_solutions: 'Solutions',
|
|
landing_pricing: 'Pricing',
|
|
landing_my_account: 'My Account',
|
|
landing_contact_sales: 'Contact Sales',
|
|
landing_launch_app: 'Launch App',
|
|
landing_hero_title: 'Scientific Modeling & Simulation Platform',
|
|
landing_hero_subtitle: 'Design better scientific models with better VISA tools.',
|
|
landing_cta: 'Start Your Research Now',
|
|
|
|
// Login
|
|
login_title: 'Sign in to SciHub',
|
|
login_subtitle: 'Enter your credentials to access your research workspace.',
|
|
email: 'Email address',
|
|
password: 'Password',
|
|
forgot_password: 'Forgot password?',
|
|
sign_in: 'Sign in',
|
|
or_continue_with: 'Or continue with',
|
|
google_sign_in: 'Sign in with Google',
|
|
no_account: "Don't have an account?",
|
|
sign_up: 'Sign up',
|
|
back_to_home: 'Back to home',
|
|
|
|
// Common
|
|
language: 'Language',
|
|
switch_to: '切换至中文',
|
|
|
|
// Environment Modal
|
|
env_modal_title: 'Initialize ABM Environment',
|
|
env_modal_subtitle: 'Agent-Based Models require a spatial subject. Would you like to add a visualization space?',
|
|
env_grid: 'Grid Space',
|
|
env_grid_desc: 'Discrete discrete cells (e.g., Schelling model).',
|
|
env_network: 'Network Space',
|
|
env_network_desc: 'Nodes and edges representing relationships.',
|
|
env_continuous: 'Continuous Space',
|
|
env_continuous_desc: 'Continuous coordinates for fluid movement.',
|
|
env_gis: 'GIS Space',
|
|
env_gis_desc: 'Real geography based on map coordinates.',
|
|
env_skip: 'Skip for now',
|
|
env_confirm: 'Initialize Space',
|
|
env_dim: 'Dimensions',
|
|
env_width: 'Width',
|
|
env_height: 'Height',
|
|
env_connections: 'Connections',
|
|
env_horizontal_wrap: 'Horizontal Wrap',
|
|
env_vertical_wrap: 'Vertical Wrap',
|
|
voice_input: 'Voice Input',
|
|
add_agent: 'Add Agent',
|
|
add_space: 'Add Space Hub',
|
|
},
|
|
zh: {
|
|
// SciHub
|
|
scihub_title: '科学中心',
|
|
resources: '资源',
|
|
documentation: '文档',
|
|
video_tutorials: '视频教程',
|
|
api_specs: 'API 规范',
|
|
community: '社区',
|
|
forum: '论坛',
|
|
settings: '设置',
|
|
coming_soon: '即将在下次更新中推出!',
|
|
trending: '热门:',
|
|
hero_title: '科学知识库',
|
|
hero_subtitle: '探索数百万篇 VISA 格式的文献论文。让科学见解触手可及且可重现。',
|
|
search_placeholder: '搜索 VISA 格式论文...',
|
|
search_button: '搜索',
|
|
researcher_journey: '研究者之旅',
|
|
onboarding_path: '初次来到 SciHub?跟随这个沉浸式入门路径。',
|
|
view_roadmap: '查看路线图',
|
|
setup_env: '环境搭建',
|
|
setup_env_desc: '配置您的工作区和本地 API 密钥以进行数据获取。',
|
|
understand_visa: '理解 VISA',
|
|
understand_visa_desc: '学习虚拟集成科学架构格式。',
|
|
run_first_model: '运行首个模型',
|
|
run_first_model_desc: '从案例库中执行一个示例仿真。',
|
|
contribute: '贡献',
|
|
contribute_desc: '向社区发布您的发现和模型。',
|
|
case_library: '经典案例库',
|
|
case_library_desc: '准备好进行探索和复制的基础模型。',
|
|
reproduce_one_click: '一键复现',
|
|
model_library: '模型库',
|
|
model_library_desc: '管理您的个人工作流并发现共享资产。',
|
|
view_details: '查看详情',
|
|
start_reading: '开始阅读',
|
|
|
|
// OmniEditor
|
|
omnieditor_title: '全能模型',
|
|
project_settings: '项目设置',
|
|
run_model: '运行模型',
|
|
visa_connected: 'VISA 已连接',
|
|
new_model_draft: '新建模型草稿',
|
|
active_projects: '进行中的项目',
|
|
model_drafts: '模型草稿',
|
|
visa_storage: 'VISA 存储',
|
|
ai_assistant: 'AI 助手',
|
|
ai_researcher: 'AI 研究员',
|
|
user: '用户',
|
|
visual_canvas: '可视化画布',
|
|
logic_blocks: '逻辑区块',
|
|
parameters: '参数',
|
|
import_data: '导入数据',
|
|
export_data: '导出数据',
|
|
variable_name: '变量名称',
|
|
type: '类型',
|
|
distribution: '分布',
|
|
initial_value: '初始值',
|
|
min: '最小值',
|
|
max: '最大值',
|
|
description: '描述',
|
|
variable_params: '变量参数',
|
|
logic_validation: '逻辑验证',
|
|
missing_value: '缺失值',
|
|
type_mismatch: '类型不匹配',
|
|
real_time_monitoring: '实时监测',
|
|
run_deep_scan: '运行深度扫描',
|
|
agentpy_preview: 'Agentpy 预览',
|
|
auto_generated: '自动生成',
|
|
copy_code: '复制代码',
|
|
simulation_settings: '仿真设置',
|
|
live_feed: '实时画面',
|
|
population_distribution: '种群分布',
|
|
system_logs: '系统日志',
|
|
|
|
// Landing
|
|
landing_product: '产品',
|
|
landing_enterprise: '企业',
|
|
landing_industries: '行业',
|
|
landing_solutions: '解决方案',
|
|
landing_pricing: '价格',
|
|
landing_my_account: '我的账户',
|
|
landing_contact_sales: '联系销售',
|
|
landing_launch_app: '启动应用',
|
|
landing_hero_title: '科学建模与仿真平台',
|
|
landing_hero_subtitle: '使用更好的 VISA 工具设计更好的科学模型。',
|
|
landing_cta: '立即开始您的研究',
|
|
|
|
// Login
|
|
login_title: '登录 SciHub',
|
|
login_subtitle: '输入您的凭据以访问您的研究工作区。',
|
|
email: '电子邮箱',
|
|
password: '密码',
|
|
forgot_password: '忘记密码?',
|
|
sign_in: '登录',
|
|
or_continue_with: '或通过以下方式继续',
|
|
google_sign_in: '使用 Google 登录',
|
|
no_account: '还没有账号?',
|
|
sign_up: '注册',
|
|
back_to_home: '返回首页',
|
|
|
|
// Common
|
|
language: '语言',
|
|
switch_to: 'Switch to English',
|
|
|
|
// Environment Modal
|
|
env_modal_title: '初始化 ABM 环境',
|
|
env_modal_subtitle: 'Agent-Based Model 默认需要一个环境主体。您是否要增加一个可视化空间主体?',
|
|
env_grid: '网格空间',
|
|
env_grid_desc: '离散的网格单元(例如:谢林隔离模型)。',
|
|
env_network: '网络空间',
|
|
env_network_desc: '代表节点与连线之间的关系网络。',
|
|
env_continuous: '连续空间',
|
|
env_continuous_desc: '支持流体运动的连续坐标空间。',
|
|
env_gis: 'GIS 真实地理空间',
|
|
env_gis_desc: '基于真实地图坐标的地理空间。',
|
|
env_skip: '稍后添加',
|
|
env_confirm: '初始化空间',
|
|
env_dim: '尺寸布局',
|
|
env_width: '宽度',
|
|
env_height: '高度',
|
|
env_connections: '连接性',
|
|
env_horizontal_wrap: '左右相连 (周期性边界)',
|
|
env_vertical_wrap: '上下相连 (周期性边界)',
|
|
voice_input: '语音输入',
|
|
add_agent: '添加 Agent 代理',
|
|
add_space: '添加 Space 空间枢纽',
|
|
}
|
|
};
|