
- 重构AppSettingFeature,采用@Reducer和@ObservableState以优化状态管理。 - 新增用户信息加载逻辑,支持从服务器获取用户信息并更新界面。 - 更新AppSettingView,整合头像、昵称及其他设置项的展示,提升用户体验。 - 增加多语言支持,更新Localizable.strings文件以适应新的设置项。
129 lines
4.5 KiB
Plaintext
129 lines
4.5 KiB
Plaintext
/*
|
||
Localizable.strings
|
||
yana
|
||
|
||
Created on 2024.
|
||
中文简体本地化文件
|
||
*/
|
||
|
||
// MARK: - 登录界面
|
||
"login.id_login" = "ID 登录";
|
||
"login.email_login" = "邮箱登录";
|
||
"login.app_title" = "E-PARTI";
|
||
"login.agreement_policy" = "同意《用戶服務協議》和《隱私政策》";
|
||
"login.agreement" = "《用戶服務協議》";
|
||
"login.policy" = "《隱私政策》";
|
||
|
||
// MARK: - 通用按钮
|
||
"common.login" = "登录";
|
||
"common.register" = "注册";
|
||
"common.cancel" = "取消";
|
||
"common.confirm" = "确认";
|
||
"common.ok" = "确定";
|
||
|
||
// MARK: - 错误信息
|
||
"error.network" = "网络错误";
|
||
"error.invalid_input" = "输入无效";
|
||
"error.login_failed" = "登录失败";
|
||
|
||
// MARK: - 占位符文本
|
||
"placeholder.email" = "请输入邮箱";
|
||
"placeholder.password" = "请输入密码";
|
||
"placeholder.username" = "请输入用户名";
|
||
"placeholder.enter_id" = "请输入ID";
|
||
"placeholder.enter_password" = "请输入密码";
|
||
|
||
// MARK: - ID登录页面
|
||
"id_login.title" = "ID 登录";
|
||
"id_login.forgot_password" = "忘记密码?";
|
||
"id_login.login_button" = "登录";
|
||
"id_login.logging_in" = "登录中...";
|
||
|
||
// MARK: - 邮箱登录页面
|
||
"email_login.title" = "邮箱登录";
|
||
"email_login.email_required" = "请输入邮箱";
|
||
"email_login.invalid_email" = "请输入有效的邮箱地址";
|
||
"email_login.fields_required" = "请输入邮箱和验证码";
|
||
"email_login.get_code" = "获取验证码";
|
||
"email_login.resend_code" = "重新发送";
|
||
"email_login.code_sent" = "验证码已发送";
|
||
"email_login.login_button" = "登录";
|
||
"email_login.logging_in" = "登录中...";
|
||
"placeholder.enter_email" = "请输入邮箱";
|
||
"placeholder.enter_verification_code" = "请输入验证码";
|
||
|
||
// MARK: - 验证和错误信息
|
||
"validation.id_required" = "请输入您的ID";
|
||
"validation.password_required" = "请输入您的密码";
|
||
"error.encryption_failed" = "加密失败,请重试";
|
||
"error.login_failed" = "登录失败,请检查您的凭据";
|
||
|
||
// MARK: - 密码恢复页面
|
||
"recover_password.title" = "找回密码";
|
||
"recover_password.placeholder_email" = "请输入邮箱";
|
||
"recover_password.placeholder_verification_code" = "请输入验证码";
|
||
"recover_password.placeholder_new_password" = "6-16位数字+英文字母";
|
||
"recover_password.get_code" = "获取";
|
||
"recover_password.confirm_button" = "确认";
|
||
"recover_password.email_required" = "请输入邮箱";
|
||
"recover_password.invalid_email" = "请输入有效的邮箱地址";
|
||
"recover_password.fields_required" = "请填写所有字段";
|
||
"recover_password.invalid_password" = "密码必须是6-16位数字和字母";
|
||
"recover_password.code_send_failed" = "验证码发送失败";
|
||
"recover_password.reset_failed" = "密码重置失败";
|
||
"recover_password.reset_success" = "密码重置成功";
|
||
"recover_password.resetting" = "重置中...";
|
||
|
||
// MARK: - 主页
|
||
"home.title" = "享受您的生活时光";
|
||
|
||
"createFeed.enterContent" = "输入内容";
|
||
"createFeed.processingImages" = "处理图片中...";
|
||
"createFeed.publishing" = "发布中...";
|
||
"createFeed.publish" = "发布";
|
||
"createFeed.title" = "图文发布";
|
||
|
||
"editFeed.title" = "图文发布";
|
||
"editFeed.publish" = "发布";
|
||
"editFeed.enterContent" = "输入内容";
|
||
|
||
"feedList.title" = "享受您的生活时光";
|
||
"feedList.slogan" = "疾病如同残酷的统治者,\n而时间是我们最宝贵的财富。\n我们活着的每一刻,都是对不可避免命运的胜利。";
|
||
|
||
"feed.title" = "享受您的生活时光";
|
||
"feed.empty" = "暂无动态内容";
|
||
"feed.error" = "错误: %@";
|
||
"feed.retry" = "重试";
|
||
"feed.loadingMore" = "加载更多...";
|
||
|
||
"splash.title" = "E-Parti";
|
||
|
||
"setting.title" = "设置";
|
||
"setting.user" = "用户";
|
||
"setting.language" = "语言设置";
|
||
"setting.about" = "关于我们";
|
||
"setting.version" = "版本信息";
|
||
"setting.logout" = "退出登录";
|
||
|
||
"me.title" = "我的";
|
||
"me.nickname" = "用户昵称";
|
||
"me.id" = "ID: %@";
|
||
"language.select" = "选择语言";
|
||
"language.current" = "当前语言";
|
||
"language.info" = "语言信息";
|
||
"feed.user" = "用户%d";
|
||
"feed.2hoursago" = "2小时前";
|
||
"feed.demoContent" = "今天是美好的一天,分享一些生活中的小确幸。希望大家都能珍惜每一个当下的时刻。";
|
||
"feed.vip" = "VIP%d";
|
||
|
||
// MARK: - App Setting
|
||
"appSetting.title" = "编辑";
|
||
"appSetting.nickname" = "昵称";
|
||
"appSetting.personalInfoPermissions" = "个人信息与权限";
|
||
"appSetting.help" = "帮助";
|
||
"appSetting.clearCache" = "清除缓存";
|
||
"appSetting.checkUpdates" = "检查更新";
|
||
"appSetting.logout" = "退出登录";
|
||
"appSetting.aboutUs" = "关于我们";
|
||
"appSetting.logoutAccount" = "退出账户";
|