Files
AeroStart/i18n/locales/zh.ts
ZyphrZero 56dd6d8bf2 feat: initialize AeroStart browser start page project
Implement a modern, customizable browser start page with comprehensive features:

- Multi-theme support with 8 preset color schemes
- Custom wallpaper system supporting images and videos with multiple fit modes
- Integrated search functionality with 5 major search engines (Google, Baidu, Bing, DuckDuckGo, Bilibili)
- Real-time clock component with 12/24 hour format options
- Dynamic background blur effect during search for enhanced focus
- Complete i18n system with English and Chinese language support
- Responsive design with smooth animations and transitions
- Local storage integration for persistent user preferences
- Context menu system for quick settings access
- Toast notification system for user feedback
- Error boundary for robust error handling

Tech Stack:
- React 19 with TypeScript
- Vite 6 for build tooling
- Tailwind CSS for styling
- Local storage for data persistence

Project Structure:
- Core components: Clock, SearchBox, SettingsModal, ThemeSettings, WallpaperManager
- Utility modules: storage management, search suggestions
- Context providers: Toast notifications, i18n
- Type definitions and constants configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:55:50 +08:00

96 lines
2.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Translation } from '../types';
export const zh: Translation = {
// Common
settings: '设置',
appearance: '外观',
searchEngines: '搜索引擎',
// Theme Settings
themeColor: '主题颜色',
showSeconds: '显示秒数',
use24HourFormat: '24小时制',
maskBlurEffect: '遮罩层毛玻璃',
searchHistory: '搜索历史记录',
backgroundBlur: '背景模糊度',
searchBoxOpacity: '搜索框不透明度',
// Wallpaper Settings
wallpaperSettings: '壁纸设置',
uploadImageVideo: '上传图片/视频',
enterImageVideoUrl: '输入图片或视频链接...',
apply: '应用',
cover: '填充',
contain: '适应',
fill: '拉伸',
repeat: '平铺',
center: '居中',
deleteWallpaper: '删除壁纸',
// Search Engine Manager
addCustomEngine: '添加自定义引擎',
editSearchEngine: '编辑搜索引擎',
name: '名称',
searchUrl: '搜索 URL (使用 %s 或直接结尾)',
svgIconCode: 'SVG 图标代码',
optional: '可选',
preview: '预览',
cancel: '取消',
save: '保存',
add: '添加',
current: '当前使用',
setDefault: '设为默认',
edit: '编辑',
delete: '删除',
// Search Box
search: 'Search',
searchOn: 'Search on',
recentSearches: '最近搜索',
clearHistory: '清空历史记录',
// Context Menu
copy: '复制',
cut: '剪切',
paste: '粘贴',
// Error Boundary
somethingWentWrong: '出错了',
errorMessage: '应用遇到了一个意外错误。请尝试刷新页面或重置应用。',
retry: '重试',
refreshPage: '刷新页面',
// Toast Messages
searchEngineDeleted: '搜索引擎已删除',
searchEngineUpdated: '搜索引擎更新成功',
newSearchEngineAdded: '新搜索引擎已添加',
duplicateEngineName: '该搜索引擎名称已存在,请使用其他名称',
customWallpaperApplied: '自定义壁纸已应用',
wallpaperUploaded: '壁纸上传并应用成功',
wallpaperDeleted: '自定义壁纸已删除',
fileSizeExceeded: '文件大小不能超过 3.5MB。建议使用URL方式添加。',
unsupportedFileType: '不支持的文件类型。仅支持JPEG, PNG, GIF, WebP, SVG, MP4, WebM, OGG',
fileContentMismatch: '文件内容与类型不匹配',
storageFull: '存储空间不足!文件过大,无法保存。建议使用 URL 方式。',
invalidUrlFormat: '无效的 URL 格式',
unsupportedProtocol: '仅支持 HTTP 或 HTTPS 协议的链接',
invalidSearchUrl: '生成的搜索 URL 无效',
copyFailed: '复制失败',
cutFailed: '剪切失败',
cannotReadClipboard: '无法读取剪贴板',
// Clock
monday: '星期一',
tuesday: '星期二',
wednesday: '星期三',
thursday: '星期四',
friday: '星期五',
saturday: '星期六',
sunday: '星期日',
// Language
language: '语言',
english: 'English',
chinese: '简体中文',
};