-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathLocalizable.strings
More file actions
401 lines (364 loc) · 18.6 KB
/
Localizable.strings
File metadata and controls
401 lines (364 loc) · 18.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
/*
Localizable.strings (Simplified Chinese)
Usage4Claude
Created by f-is-h on 2025-10-15.
Copyright © 2025 f-is-h. All rights reserved.
*/
// MARK: - Menu Items
"menu.general_settings" = "通用设置";
"menu.auth_settings" = "认证信息";
"menu.check_updates" = "检查更新";
"menu.about" = "关于";
"menu.web_usage" = "访问 Claude 用量";
"menu.coffee" = "Buy Me A Coffee";
"menu.github_sponsor" = "GitHub Sponsor";
"menu.quit" = "退出 Usage4Claude";
"menu.account" = "账户";
"menu.account_prefix" = "账户:";
// MARK: - Usage Detail View
"usage.title" = "Claude 使用情况";
"usage.not_started" = "开始使用后显示";
"usage.reset_in" = "距离重置还剩";
"usage.remaining" = "剩余时间";
"usage.loading" = "加载中...";
"usage.not_configured" = "未配置认证信息";
"usage.go_to_settings" = "去设置认证信息";
"usage.reset_time" = "重置时间";
"usage.used" = "已使用";
"usage.five_hour_limit" = "5小时限制";
"usage.seven_day_limit" = "7天限制";
"usage.five_hour_limit_short" = "5h";
"usage.seven_day_limit_short" = "7d";
"usage.reset_date" = "重置日期";
"usage.refresh" = "刷新";
"usage.refresh_cooldown" = "请稍后再试";
"usage.run_diagnostic" = "运行诊断";
// MARK: - Settings - Tabs
"settings.tab.general" = "通用";
"settings.tab.auth" = "认证";
"settings.tab.about" = "关于";
// MARK: - Settings - General
"settings.general.launch_section" = "开机启动";
"settings.general.launch_at_login" = "登录时自动启动";
"settings.general.launch_hint" = "启用后,应用将在系统登录时自动运行";
"settings.general.display_section" = "显示设置";
"settings.general.menubar_icon" = "菜单栏图标";
"settings.general.menubar_hint" = "选择菜单栏中显示的内容";
"settings.general.menubar_theme" = "菜单栏主题";
"settings.general.display_content" = "显示内容";
"settings.general.monochrome_no_icon_hint" = "单色主题下不支持显示图标";
"settings.general.refresh_section" = "刷新设置";
"settings.general.refresh_mode" = "刷新模式";
"settings.general.refresh_interval" = "固定刷新频率";
"settings.general.refresh_hint_smart" = "根据使用情况自动调整刷新频率(活跃时1分钟,静默时最长10分钟)";
"settings.general.refresh_hint_fixed" = "按照设定的固定时间间隔刷新数据";
"settings.general.language_section" = "语言设置";
"settings.general.interface_language" = "界面语言";
"settings.general.language_hint" = "更改界面显示语言";
"settings.general.reset_button" = "恢复默认设置";
"icon_style.color_translucent" = "彩色通透";
"icon_style.color_with_background" = "彩色背景";
"icon_style.monochrome" = "单色主题";
"icon_style.color_translucent_desc" = "彩色圆环,背景透明,适合大部分菜单栏样式";
"icon_style.color_with_background_desc" = "彩色圆环带半透明白色背景,适合彩色通透主题在深色壁纸表现不佳时";
"icon_style.monochrome_desc" = "自动适应系统菜单栏样式,简洁优雅";
// MARK: - Settings - Authentication
"settings.auth.how_to_title" = "如何获取认证信息";
"settings.auth.step1" = "1. 在浏览器中访问 claude.ai 并登录";
"settings.auth.step2" = "2. 打开浏览器开发者工具(F12 或 Cmd+Option+I)";
"settings.auth.step3" = "3. 切换到 Network(网络)标签";
"settings.auth.step4" = "4. 刷新页面,找到 usage 请求";
"settings.auth.step5" = "5. 在 Headers 中的 Cookie 找到 sessionKey";
"settings.auth.step6" = "6. 复制 sessionKey 的值并粘贴到上方";
"settings.auth.open_browser" = "在浏览器中打开 Claude 用量页面";
"settings.auth.session_key_label" = "Session Key";
"settings.auth.session_key_placeholder" = "粘贴 Session Key";
"settings.auth.session_key_hint" = "以 sk-ant-sid01- 开头的长字符串";
"settings.auth.configured" = "认证信息已配置";
"settings.auth.not_configured" = "请填写 Session Key";
"settings.auth.credentials_title" = "认证信息";
"settings.auth.ready_to_use" = "可以开始使用应用了";
"settings.auth.need_credentials" = "需要填写 Session Key";
"settings.auth.show_password" = "显示";
"settings.auth.hide_password" = "隐藏";
// MARK: - Settings - About
"settings.about.version" = "版本 %@";
"settings.about.description" = "监控 Claude AI 的5小时使用限制";
"settings.about.developer" = "开发者";
"settings.about.license" = "许可证";
"settings.about.license_value" = "MIT License";
"settings.about.github" = "访问 GitHub 仓库";
"settings.about.coffee" = "Buy Me A Coffee";
"settings.about.github_sponsor" = "GitHub Sponsor";
"settings.about.copyright" = "© 2025 All Rights Reserved";
// MARK: - Welcome View
"welcome.title" = "欢迎使用 Usage4Claude";
"welcome.subtitle" = "开始之前,请先配置您的认证信息";
"welcome.setup_button" = "去设置认证信息";
"welcome.later_button" = "稍后设置";
// MARK: - Update Checker
"update.new_version_title" = "发现新版本";
"update.latest_version" = "最新版本";
"update.current_version" = "当前版本";
"update.view_details_hint" = "点击【查看详情】查看完整更新内容";
"update.view_release_page" = "查看完整更新内容请访问Release页面";
"update.download_button" = "下载更新";
"update.remind_later_button" = "稍后提醒";
"update.view_details_button" = "查看详情";
"update.up_to_date_title" = "已是最新版本";
"update.up_to_date_message" = "当前版本 %@ 已是最新版本。";
"update.ok_button" = "好的";
"update.check_failed_title" = "检查更新失败";
"update.confirm_button" = "确定";
"update.error.invalid_url" = "无效的URL";
"update.error.network" = "网络错误,请检查网络连接";
"update.error.no_data" = "无法获取数据";
"update.error.parse_failed" = "解析更新信息失败";
// MARK: - Update Notification
"update.notification.available" = "有新版本可用!";
"update.notification.badge_menu" = "🎉 有新版本可用!";
"update.notification.badge_short" = "🎉 新!";
// MARK: - Icon Display Mode
"display.percentage_only" = "仅显示百分比";
"display.icon_only" = "仅显示图标";
"display.both" = "图标和百分比";
"display.show_icon" = "显示图标";
"display.show_percentage" = "显示百分比";
// MARK: - Refresh Interval
"refresh.smart_mode" = "智能频率";
"refresh.fixed_mode" = "固定频率";
"refresh.1_minute" = "1分钟";
"refresh.3_minutes" = "3分钟";
"refresh.5_minutes" = "5分钟";
"refresh.10_minutes" = "10分钟";
// MARK: - Language Names
"language.english" = "English";
"language.japanese" = "日本語";
"language.chinese" = "中文(简体)";
"language.chinese_traditional" = "中文(繁体)";
"language.korean" = "한국어";
"language.french" = "Français";
// MARK: - Window Titles
"window.settings_title" = "Usage4Claude 设置";
"window.welcome_title" = "欢迎";
// MARK: - Usage Data Formatting
"usage_data.not_started_reset" = "使用后显示重置时间";
"usage_data.resetting_soon" = "即将重置";
"usage_data.resets_in_hours" = "剩余约%d小时%d分";
"usage_data.resets_in_minutes" = "剩余约%d分";
"usage_data.resets_in_days" = "剩余约%d天%d小时";
"usage_data.unknown" = "未知";
"usage_data.today" = "今天";
"usage_data.tomorrow" = "明天";
// MARK: - Error Messages
"error.invalid_url" = "无效的 URL";
"error.no_data" = "未收到数据";
"error.session_expired" = "会话已过期,请在设置中重新配置";
"error.cloudflare_blocked" = "请求被安全系统拦截。请在浏览器中访问 claude.ai 确认你不是机器人,然后重试。";
"error.no_credentials" = "请先在设置中配置认证信息";
"error.network_failed" = "网络请求失败,请检查网络连接";
"error.decoding_failed" = "解析响应数据失败,请检查认证信息是否正确";
"error.no_organizations_found" = "未找到组织";
"error.unauthorized" = "认证失败,请检查您的凭据";
"error.rate_limited" = "请求过于频繁,请稍后再试";
// MARK: - Launch at Login
"launch.status.enabled" = "已启用";
"launch.status.disabled" = "未启用";
"launch.status.requires_approval" = "等待授权";
"launch.status.not_found" = "未找到";
"launch.error.title" = "开机启动错误";
"launch.error.enable" = "启用开机启动失败";
"launch.error.disable" = "禁用开机启动失败";
// MARK: - Diagnostics
"diagnostic.section_title" = "连接诊断";
"diagnostic.section_description" = "测试与 Claude API 的连接并诊断问题。报告中的所有敏感信息都会自动脱敏处理。";
"diagnostic.test_button" = "测试连接";
"diagnostic.view_details_button" = "查看详情";
"diagnostic.export_button" = "导出报告";
"diagnostic.testing_connection" = "正在测试连接...";
"diagnostic.test_completed" = "测试完成";
"diagnostic.test_success" = "连接测试成功";
"diagnostic.test_failed" = "连接测试失败";
"diagnostic.result_success" = "连接成功";
"diagnostic.result_failed" = "连接失败";
"diagnostic.http_status" = "HTTP 状态";
"diagnostic.response_time" = "响应时间";
"diagnostic.response_type" = "响应类型";
"diagnostic.cloudflare_detected" = "检测到 Cloudflare 挑战";
"diagnostic.diagnosis" = "诊断结果";
"diagnostic.suggestions" = "建议操作";
"diagnostic.privacy_notice" = "所有敏感数据都已自动脱敏,可安全分享";
"diagnostic.detailed_report_title" = "详细诊断报告";
"diagnostic.no_report_available" = "暂无报告。请先运行测试。";
"diagnostic.copy_to_clipboard" = "复制到剪贴板";
"diagnostic.export_title" = "导出诊断报告";
"diagnostic.export_message" = "此报告不包含任何敏感信息,可安全分享。";
"diagnostic.export_success_title" = "导出成功";
"diagnostic.export_success_message" = "诊断报告已保存至:";
"diagnostic.export_error_title" = "导出失败";
// Diagnosis messages
"diagnostic.diagnosis_success" = "连接正常工作。API 返回了有效的使用数据。";
"diagnostic.diagnosis_cloudflare" = "请求被 Cloudflare 安全系统拦截。这可能是由于 IP 信誉或网络配置导致的。";
"diagnostic.diagnosis_decoding" = "服务器返回了数据但无法解析。这通常意味着认证信息不正确或不匹配。";
"diagnostic.diagnosis_network" = "网络连接失败。请检查您的互联网连接。";
"diagnostic.diagnosis_no_credentials" = "未配置认证信息。";
"diagnostic.diagnosis_invalid_url" = "组织 ID 格式无效。";
"diagnostic.diagnosis_unknown" = "发生未知错误。请导出此报告并分享给开发者。";
// Suggestion messages
"diagnostic.suggestion_success" = "一切正常运行。无需任何操作。";
"diagnostic.suggestion_visit_browser" = "在浏览器中访问 claude.ai 并完成任何安全验证";
"diagnostic.suggestion_wait_and_retry" = "等待 5-10 分钟后重试";
"diagnostic.suggestion_check_vpn" = "检查 VPN 或代理是否影响连接";
"diagnostic.suggestion_use_smart_mode" = "使用智能刷新模式以降低请求频率";
"diagnostic.suggestion_verify_credentials" = "验证组织 ID 和会话密钥是否正确";
"diagnostic.suggestion_update_session_key" = "您的会话密钥可能已过期。请从浏览器更新它";
"diagnostic.suggestion_check_browser" = "验证您可以在浏览器中访问 claude.ai/settings/usage";
"diagnostic.suggestion_check_internet" = "检查您的互联网连接";
"diagnostic.suggestion_check_firewall" = "检查防火墙或杀毒软件设置";
"diagnostic.suggestion_retry_later" = "稍后重试";
"diagnostic.suggestion_configure_auth" = "请在上方字段中配置组织 ID 和会话密钥";
"diagnostic.suggestion_check_org_id" = "检查组织 ID 格式是否正确(应该是 UUID 格式)";
"diagnostic.suggestion_export_and_share" = "导出此诊断报告并在 GitHub Issues 上分享";
"diagnostic.suggestion_contact_support" = "在 github.com/f-is-h/Usage4Claude/issues 联系开发者寻求帮助";
"diagnostic.open_log_folder" = "打开日志文件夹";
// MARK: - Limit Types (v2.0.0)
"five_hour_limit" = "5小时限制";
"seven_day_limit" = "7天限制";
"opus_weekly_limit" = "7天Opus限制";
"sonnet_weekly_limit" = "7天Sonnet限制";
"extra_usage" = "额外用量";
// MARK: - Display Options (v2.0.0)
"display_options" = "显示选项";
"smart_display" = "智能显示";
"smart_display_description" = "自动显示所有有数据的限制类型";
"custom_display" = "自定义显示";
"custom_display_description" = "手动选择要显示的限制";
"display_mode_label" = "显示模式";
"select_limit_types" = "选择要显示的限制类型";
"circular_icon_constraint" = "至少必须选择一个圆形图标(5小时或7天)";
"colored_theme_unavailable" = "彩色主题仅在显示1-2个圆形图标且无其他类型时可用";
// MARK: - Theme Selection (v2.0.0)
"theme_selection" = "主题";
"monochrome_theme" = "单色主题";
"colored_theme" = "彩色主题";
"colored_theme_unavailable_reason" = "不可用:仅在显示2个或更少圆形指示器时支持";
// MARK: - Credentials Configuration (v2.0.0)
"credentials" = "凭据";
"session_key_hint" = "在浏览器开发者工具 → Application → Cookies → claude.ai 中查找";
"session_key_help" = "您的 Session Key 将被安全地存储在 macOS 钥匙串中";
"session_key_required" = "需要 Session Key";
"fetching" = "获取中...";
"refetch" = "重新获取";
"configuring" = "配置中...";
"credentials_saved" = "凭据保存成功";
"save" = "保存";
"back" = "返回";
"continue" = "继续";
// MARK: - Welcome Flow (v2.0.0)
"welcome_credentials_title" = "配置 Claude 访问";
"welcome_credentials_subtitle" = "输入您的 Session Key,我们会自动获取您的 Organization ID";
"welcome_display_title" = "选择显示选项";
"welcome_display_subtitle" = "选择在菜单栏中显示哪些使用限制";
"preview" = "预览";
"welcome.skip" = "跳过";
"welcome.finish" = "完成";
"welcome.authentication_setup" = "认证设置";
"welcome.session_key" = "Session Key";
"welcome.session_key_placeholder" = "在此粘贴您的 Session Key";
"welcome.session_key_hint" = "以 sk-ant-sid01- 开头...";
"welcome.valid_format" = "格式正确";
"welcome.invalid_format" = "Session Key 长度应在 20-500 字符之间";
"welcome.select_limits" = "选择限制";
"welcome.smart_mode_recommended" = "智能模式(推荐)";
"welcome.custom_selection" = "自定义选择";
"welcome.display_title" = "显示选项";
"welcome.display_subtitle" = "选择要显示的限制类型";
"welcome.preview" = "预览";
"welcome.back" = "返回";
"welcome.continue" = "继续";
"welcome.how_to_get_session_key" = "如何获取 Session Key?";
"welcome.configuring" = "正在配置...";
"welcome.fetch_org_id_failed" = "无法获取 Organization ID,请稍后在设置中重试";
"welcome.menubar_icon_not_visible" = "看不见菜单栏图标?";
"welcome.multi_account_hint" = "需要多账户?完成设置后可在设置页面中添加更多账户。";
// MARK: - Detail Window - Date/Time Formats (v2.0.0)
"today" = "今天";
"today_time" = "今天 %@";
"month_day" = "%d月%d日";
"extra_usage_format" = "$%d/$%d";
// MARK: - Detail Window - Remaining Time (v2.0.0)
"extra_usage_remaining" = "还可使用$%@";
"remaining_days_hours" = "还剩%d天%d小时";
"remaining_hours_minutes" = "还剩%d小时%d分钟";
"remaining_minutes" = "还剩%d分钟";
// MARK: - Settings Window (v2.0.0)
"settings" = "设置";
// MARK: - General (v2.0.0)
"unknown" = "未知";
// MARK: - Usage Data - Compact Remaining Formats
"usage_data.compact_resetting_soon" = "即将重置";
"usage_data.compact_remaining_minutes" = "还剩 %d分钟";
"usage_data.compact_remaining_hours" = "还剩 %d小时%d分钟";
"usage_data.compact_remaining_days" = "还剩 %d天%d小时";
// MARK: - Extra Usage
"extra_usage.not_enabled" = "未启用";
"extra_usage.usage_amount" = "$%.0f/$%.0f";
"extra_usage.remaining_amount" = "还可使用 $%.0f";
// MARK: - Loading Animation
"loading_animation.rainbow" = "彩虹渐变";
"loading_animation.dashed" = "虚线旋转";
"loading_animation.pulse" = "脉冲效果";
"loading_animation.current" = "加载动画: %@";
// MARK: - Time Format
"time_format.system" = "跟随系统";
"time_format.twelve_hour" = "12 小时制(下午 2:30)";
"time_format.twenty_four_hour" = "24 小时制(14:30)";
"settings.general.time_format_section" = "时间格式";
"settings.general.time_format_hint" = "选择应用中时间的显示格式";
"settings.general.time_format_preview" = "预览";
// MARK: - Appearance
"appearance.system" = "跟随系统";
"appearance.light" = "浅色";
"appearance.dark" = "深色";
"settings.general.appearance_section" = "外观";
"settings.general.appearance_hint" = "选择应用的配色方案,或跟随系统设置";
// MARK: - Account Management (v2.1.0)
"account.list_title" = "账户列表";
"account.no_accounts" = "还没有配置账户。添加一个账户开始使用。";
"account.add_account" = "添加账户";
"account.add_new_account" = "添加新账户";
"account.current_account" = "当前账户";
"account.alias" = "别名";
"account.alias_optional" = "别名(可选)";
"account.alias_placeholder" = "例如:个人 Pro、工作团队";
"account.clear_alias" = "清除别名";
"account.organization_id" = "组织 ID";
"account.copy_org_id" = "复制组织 ID";
"account.delete_account" = "删除此账户";
"account.delete_confirm_title" = "删除账户";
"account.delete_confirm_message" = "确定要删除此账户吗?此操作无法撤销。";
"account.delete" = "删除";
"account.cancel" = "取消";
"account.validate_and_add" = "验证并添加";
"account.multi_org_added" = "发现 %d 个组织,已自动为每个组织创建账户。可在账户详情中设置别名。";
// MARK: - Usage Notifications
"notification.section" = "通知";
"notification.hint" = "用量达到阈值或重置时发送通知";
"notification.enable" = "启用用量通知";
"notification.description" = "当任意限制达到 90%%,或用量重置时,发送系统通知。";
"notification.warning_title" = "用量警告";
"notification.warning_body" = "%@ 已达到 %d%% 用量";
"notification.reset_title" = "用量已重置";
"notification.reset_body" = "%@ 用量已重置";
// MARK: - Web Login (v2.2.0)
"weblogin.window_title" = "登录 Claude";
"weblogin.browser_login" = "浏览器登录";
"weblogin.browser_login_recommended" = "通过浏览器登录(推荐)";
"weblogin.manual_input" = "手动输入";
"weblogin.or_manual_input" = "或手动输入 Session Key";
"weblogin.loading" = "正在加载登录页面...";
"weblogin.waiting_for_login" = "请登录您的 Claude 账户";
"weblogin.validating" = "正在验证凭据...";
"weblogin.success" = "已成功添加账户:%@";
"weblogin.cloudflare_blocked" = "如果页面无法加载,请使用手动输入方式。";
"weblogin.privacy_notice" = "您的登录信息仅在本地使用,并安全存储于系统 Keychain 中。";