Translate the interface into 12 languages
Add full lang/ translations for fr, de, it, nl, pl, el, ja, ko, zh, ru,
tr, and ar — all 23 base files each, with identical key trees to lang/en,
preserved :placeholders and plural forms, and native product terminology.
2026-07-03 18:38:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
'workspaces' => 'مساحات العمل',
|
|
|
|
|
'select_workspace' => 'اختر مساحة العمل',
|
|
|
|
|
'create_workspace' => 'إنشاء مساحة عمل',
|
|
|
|
|
'create_post' => 'إنشاء منشور',
|
|
|
|
|
'profile' => 'الملف الشخصي',
|
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-06 00:33:16 +00:00
|
|
|
'my_account' => 'حسابي',
|
|
|
|
|
'account_settings' => 'الحساب والفوترة',
|
|
|
|
|
'workspace_settings' => 'إعدادات مساحة العمل',
|
Translate the interface into 12 languages
Add full lang/ translations for fr, de, it, nl, pl, el, ja, ko, zh, ru,
tr, and ar — all 23 base files each, with identical key trees to lang/en,
preserved :placeholders and plural forms, and native product terminology.
2026-07-03 18:38:40 +00:00
|
|
|
'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' => 'الوسائط',
|
MCP: workspace settings, viewer read access, and token access (#241)
* Add workspace MCP settings and token access controls.
Ship MCP settings UI, OAuth revoke/list helpers, Passport deploy wiring,
and workspace.token:mcp gating so assistants can connect without pulling
in welcome/onboarding from the parent epic.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Type MCP client config shapes instead of string checks.
Encode http/config-root on each advanced client and tighten primary
client ids so snippet generation does not branch on magic strings.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Polish MCP settings follow-ups from review.
Translate Ukrainian MCP copy, deep-link ChatGPT into connector
creation, drop an unused asset and revoke arg, and assert PATs are
rejected on the MCP endpoint.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Harden MCP connected clients, revoke scope, and OAuth consent.
List recoverable sessions with live refresh tokens, revoke only PATs,
throttle registration alone, and block viewers from authorizing MCP.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Simplify MCP OAuth route throttling to a single middleware group.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Allow workspace viewers read-only MCP access with web policy writes.
Mirror the web app: MCP connects on view + OAuth mcp:use, write tools
enforce createPost/update/delete/manageAccounts/manageTeam, and demotion
to Viewer keeps grants. Cover role denials, consent, and disconnect.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Harden MCP tool authz with shared workspace helpers.
Route ApiKey tools through AuthorizesMcpTool, fail closed on null user
or policy argument, and resolve the current workspace before mutating.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Drop redundant string casts on validated request data.
Enum::from and validated() fields are already strings, so the casts
add noise without changing behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Show only the current user's MCP connections in settings.
Match API keys privacy: list and disconnect your own OAuth clients,
not teammates' across the account.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Cover LoadWorkspaceFromToken gaps and harden AuthorizesMcpTool tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Drop redundant is_string guard before UpdatePostTool find.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Refactor AppSidebar to always show MCP link and simplify route middleware definition in ai.php. The MCP link is now consistently displayed regardless of the current workspace state, and the route middleware syntax has been streamlined.
* Refresh MCP connected clients with Inertia usePoll.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Bump laravel/mcp to 0.9.1 and add the TryPost server icon.
Requires laravel/boost 2.5 for the Icon attribute; expose images/trypost/icon.png on TryPostServer.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Drop no-op ReflectionClass import in TryPostServerTest.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:54:51 +00:00
|
|
|
'mcp' => 'MCP',
|
Translate the interface into 12 languages
Add full lang/ translations for fr, de, it, nl, pl, el, ja, ko, zh, ru,
tr, and ar — all 23 base files each, with identical key trees to lang/en,
preserved :placeholders and plural forms, and native product terminology.
2026-07-03 18:38:40 +00:00
|
|
|
'api_keys' => 'مفاتيح API',
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'notifications' => 'الإشعارات',
|
|
|
|
|
'mark_all_read' => 'تعليم الكل كمقروء',
|
|
|
|
|
'mark_as_read' => 'تعليم كمقروء',
|
|
|
|
|
'archive_all' => 'أرشفة الكل',
|
|
|
|
|
'no_notifications' => 'لا توجد إشعارات',
|
|
|
|
|
|
|
|
|
|
'support' => [
|
|
|
|
|
'docs' => 'التوثيق',
|
|
|
|
|
'referral' => 'اربح عمولة إحالة 30%',
|
2026-08-06 14:34:50 +00:00
|
|
|
'discord' => 'مجتمع Discord',
|
Translate the interface into 12 languages
Add full lang/ translations for fr, de, it, nl, pl, el, ja, ko, zh, ru,
tr, and ar — all 23 base files each, with identical key trees to lang/en,
preserved :placeholders and plural forms, and native product terminology.
2026-07-03 18:38:40 +00:00
|
|
|
],
|
|
|
|
|
];
|