trypost/lang/zh/sidebar.php
Paulo Castellano f62b4bb4a5
Unify sidebar workspace and account menus (#240)
* Unify sidebar workspace and account menus.

Merge workspace switching, profile, billing, and language into one header dropdown, move notifications beside it, pin support links to the footer, and add Workspace Settings to the nav — without MCP or onboarding residual.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove Workspace Settings from the sidebar nav.

Settings already lives in the unified account menu; keep the workspace group free for items like MCP later.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Cover sidebar menu role gates in browser tests.

Assert account/workspace settings visibility for owner, admin, member, and self-hosted so the unified menu stays aligned with WorkspacePolicy.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Rename sidebar wait helper to avoid Pest browser collision.

waitForTestId was already declared in MobileEditorTest, which fataled the e2e suite when listing Browser tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add sidebar menu browser coverage for workspace viewers.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:33:16 -03:00

64 lines
1.6 KiB
PHP

<?php
declare(strict_types=1);
return [
'workspaces' => '工作区',
'select_workspace' => '选择工作区',
'create_workspace' => '创建工作区',
'create_post' => '创建帖子',
'profile' => '个人资料',
'my_account' => '我的账户',
'account_settings' => '账户与账单',
'workspace_settings' => '工作区设置',
'log_out' => '退出登录',
'workspace' => '工作区::name',
'workspace_select' => '工作区:选择',
'theme' => '主题::name',
'theme_light' => '浅色',
'theme_dark' => '深色',
'theme_system' => '跟随系统',
'language' => '语言::name',
'language_select' => '语言:选择',
'groups' => [
'posts' => '帖子',
'workspace' => '工作区',
'others' => '其他',
],
'analytics' => '分析',
'automations' => '自动化',
'settings' => '设置',
'posts' => [
'calendar' => '日历',
'all' => '全部',
'scheduled' => '已排期',
'posted' => '已发布',
'drafts' => '草稿',
],
'workspace' => [
'connections' => '连接',
'signatures' => '签名',
'labels' => '标签',
'assets' => '素材库',
'api_keys' => 'API 密钥',
],
'notifications' => '通知',
'mark_all_read' => '全部标为已读',
'mark_as_read' => '标为已读',
'archive_all' => '全部归档',
'no_notifications' => '暂无通知',
'support' => [
'docs' => '文档',
'referral' => '赚取 30% 推荐奖励',
'stay_updated' => '获取最新动态',
],
];