feat: Complete Spanish, French, Portuguese, Chinese localization and add German/Italian support
- Updated all Spanish (es) translation files with comprehensive translations for tracking, AI, family, insights, children, and settings pages - Updated French (fr), Portuguese (pt), and Chinese (zh) translations to match English structure - Added German (de) and Italian (it) language support with complete translation files - Fixed medicine tracker route from /track/medication to /track/medicine - Updated i18n config to support 7 languages: en, es, fr, pt, zh, de, it - All tracking pages now fully localized: sleep, feeding, diaper, medicine, activity - AI assistant interface fully translated with thinking messages and suggested questions - Family management and insights pages now support all languages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,69 +1,69 @@
|
||||
{
|
||||
"general": {
|
||||
"unknown": "An unknown error occurred",
|
||||
"networkError": "Network error. Please check your connection.",
|
||||
"serverError": "Server error. Please try again later.",
|
||||
"notFound": "The requested resource was not found",
|
||||
"unauthorized": "You are not authorized to perform this action",
|
||||
"forbidden": "Access denied",
|
||||
"validation": "Please check your input and try again",
|
||||
"timeout": "Request timed out. Please try again."
|
||||
"unknown": "发生未知错误",
|
||||
"networkError": "网络错误。请检查您的连接。",
|
||||
"serverError": "服务器错误。请稍后重试。",
|
||||
"notFound": "未找到请求的资源",
|
||||
"unauthorized": "您无权执行此操作",
|
||||
"forbidden": "访问被拒绝",
|
||||
"validation": "请检查您的输入并重试",
|
||||
"timeout": "请求超时。请重试。"
|
||||
},
|
||||
"auth": {
|
||||
"invalidCredentials": "Invalid email or password",
|
||||
"emailExists": "An account with this email already exists",
|
||||
"emailNotVerified": "Please verify your email address",
|
||||
"accountLocked": "Your account has been locked. Please contact support.",
|
||||
"sessionExpired": "Your session has expired. Please sign in again.",
|
||||
"weakPassword": "Password is too weak",
|
||||
"tokenInvalid": "Invalid or expired token",
|
||||
"deviceNotTrusted": "Device not trusted. Please verify your device."
|
||||
"invalidCredentials": "邮箱或密码无效",
|
||||
"emailExists": "此邮箱已存在账户",
|
||||
"emailNotVerified": "请验证您的邮箱地址",
|
||||
"accountLocked": "您的账户已被锁定。请联系支持。",
|
||||
"sessionExpired": "您的会话已过期。请重新登录。",
|
||||
"weakPassword": "密码太弱",
|
||||
"tokenInvalid": "令牌无效或已过期",
|
||||
"deviceNotTrusted": "设备不受信任。请验证您的设备。"
|
||||
},
|
||||
"family": {
|
||||
"limitExceeded": "Family size limit exceeded",
|
||||
"memberNotFound": "Family member not found",
|
||||
"cannotRemoveSelf": "You cannot remove yourself from the family",
|
||||
"insufficientPermissions": "You don't have permission to perform this action",
|
||||
"invitationExpired": "This invitation has expired",
|
||||
"alreadyMember": "This person is already a family member"
|
||||
"limitExceeded": "超出家庭规模限制",
|
||||
"memberNotFound": "未找到家庭成员",
|
||||
"cannotRemoveSelf": "您不能将自己从家庭中移除",
|
||||
"insufficientPermissions": "您没有权限执行此操作",
|
||||
"invitationExpired": "此邀请已过期",
|
||||
"alreadyMember": "此人已是家庭成员"
|
||||
},
|
||||
"child": {
|
||||
"notFound": "Child profile not found",
|
||||
"invalidAge": "Invalid age. Please check the date of birth.",
|
||||
"limitExceeded": "You've reached the maximum number of children"
|
||||
"notFound": "未找到孩子档案",
|
||||
"invalidAge": "年龄无效。请检查出生日期。",
|
||||
"limitExceeded": "您已达到最大孩子数量"
|
||||
},
|
||||
"tracking": {
|
||||
"invalidData": "Invalid tracking data",
|
||||
"futureDate": "You cannot log activities in the future",
|
||||
"duplicateEntry": "A similar entry already exists",
|
||||
"invalidDuration": "Invalid duration",
|
||||
"invalidAmount": "Invalid amount"
|
||||
"invalidData": "跟踪数据无效",
|
||||
"futureDate": "您不能记录未来的活动",
|
||||
"duplicateEntry": "类似条目已存在",
|
||||
"invalidDuration": "持续时间无效",
|
||||
"invalidAmount": "数量无效"
|
||||
},
|
||||
"ai": {
|
||||
"dailyLimitReached": "Daily AI question limit reached",
|
||||
"contextError": "Failed to load context for AI",
|
||||
"responseError": "Failed to generate AI response",
|
||||
"moderationFlag": "Your message was flagged by our content moderation system"
|
||||
"dailyLimitReached": "已达到每日AI问题限制",
|
||||
"contextError": "加载AI上下文失败",
|
||||
"responseError": "生成AI回复失败",
|
||||
"moderationFlag": "您的消息被我们的内容审核系统标记"
|
||||
},
|
||||
"offline": {
|
||||
"noConnection": "No internet connection",
|
||||
"syncFailed": "Failed to sync data",
|
||||
"pendingChanges": "You have pending changes that need to be synced"
|
||||
"noConnection": "无网络连接",
|
||||
"syncFailed": "同步数据失败",
|
||||
"pendingChanges": "您有待同步的更改"
|
||||
},
|
||||
"validation": {
|
||||
"required": "This field is required",
|
||||
"invalidEmail": "Please enter a valid email address",
|
||||
"invalidPhone": "Please enter a valid phone number",
|
||||
"invalidDate": "Please enter a valid date",
|
||||
"minLength": "Must be at least {{min}} characters",
|
||||
"maxLength": "Must be no more than {{max}} characters",
|
||||
"minValue": "Must be at least {{min}}",
|
||||
"maxValue": "Must be no more than {{max}}",
|
||||
"invalidFormat": "Invalid format",
|
||||
"passwordMismatch": "Passwords do not match"
|
||||
"required": "此字段是必需的",
|
||||
"invalidEmail": "请输入有效的邮箱地址",
|
||||
"invalidPhone": "请输入有效的电话号码",
|
||||
"invalidDate": "请输入有效的日期",
|
||||
"minLength": "至少需要{{min}}个字符",
|
||||
"maxLength": "不能超过{{max}}个字符",
|
||||
"minValue": "至少需要{{min}}",
|
||||
"maxValue": "不能超过{{max}}",
|
||||
"invalidFormat": "格式无效",
|
||||
"passwordMismatch": "密码不匹配"
|
||||
},
|
||||
"retry": "Retry",
|
||||
"goBack": "Go Back",
|
||||
"contactSupport": "Contact Support",
|
||||
"dismiss": "Dismiss"
|
||||
}
|
||||
"retry": "重试",
|
||||
"goBack": "返回",
|
||||
"contactSupport": "联系支持",
|
||||
"dismiss": "关闭"
|
||||
}
|
||||
Reference in New Issue
Block a user