docs(ar): second-pass localization cleanup

This commit is contained in:
Adam
2026-02-11 14:42:53 -06:00
parent 3befd0c6c5
commit 8eea53a41e
12 changed files with 39 additions and 39 deletions

View File

@@ -45,7 +45,7 @@ description: هيّئ الوكلاء المتخصصين واستخدمهم.
---
### استخدام build
### استخدام Build
_الوضع_: `primary`
@@ -53,7 +53,7 @@ Build هو الوكيل الأساسي **الافتراضي** مع تفعيل ج
---
### استخدام plan
### استخدام Plan
_الوضع_: `primary`
@@ -67,7 +67,7 @@ _الوضع_: `primary`
---
### استخدام general
### استخدام General
_الوضع_: `subagent`
@@ -75,7 +75,7 @@ _الوضع_: `subagent`
---
### استخدام explore
### استخدام Explore
_الوضع_: `subagent`
@@ -83,7 +83,7 @@ _الوضع_: `subagent`
---
### استخدام compaction
### استخدام Compaction
_الوضع_: `primary`
@@ -91,7 +91,7 @@ _الوضع_: `primary`
---
### استخدام title
### استخدام Title
_الوضع_: `primary`
@@ -99,7 +99,7 @@ _الوضع_: `primary`
---
### استخدام summary
### استخدام Summary
_الوضع_: `primary`

View File

@@ -69,10 +69,10 @@ opencode attach [url]
يتيح ذلك استخدام واجهة TUI مع واجهة خلفية لـ OpenCode تعمل عن بعد. على سبيل المثال:
```bash
# Start the backend server for web/mobile access
# ابدأ خادم الواجهة الخلفية للوصول عبر الويب/الجوال
opencode web --port 4096 --hostname 0.0.0.0
# In another terminal, attach the TUI to the running backend
# في محطة طرفية (terminal) أخرى، اربط TUI بالواجهة الخلفية قيد التشغيل
opencode attach http://10.20.30.40:4096
```
@@ -326,10 +326,10 @@ opencode run Explain the use of context in Go
يمكنك أيضا الإرفاق بمثيل `opencode serve` قيد التشغيل لتجنّب زمن الإقلاع البارد لخوادم MCP في كل تشغيل:
```bash
# Start a headless server in one terminal
# ابدأ خادمًا بلا واجهة في محطة طرفية واحدة
opencode serve
# In another terminal, run commands that attach to it
# في محطة طرفية أخرى، شغّل الأوامر التي ترتبط به
opencode run --attach http://localhost:4096 "Explain async/await in JavaScript"
```

View File

@@ -54,11 +54,11 @@ Focus on the failing tests and suggest fixes.
{
"$schema": "https://opencode.ai/config.json",
"command": {
// This becomes the name of the command
// يصبح هذا اسم الأمر
"test": {
// This is the prompt that will be sent to the LLM
// هذه هي المطالبة التي ستُرسل إلى LLM
"template": "Run the full test suite with coverage report and show any failures.\nFocus on the failing tests and suggest fixes.",
// This is shown as the description in the TUI
// يظهر هذا كوصف في TUI
"description": "Run tests with coverage",
"agent": "build",
"model": "anthropic/claude-3-5-sonnet-20241022"

View File

@@ -14,7 +14,7 @@ description: استخدام ملف إعدادات OpenCode بصيغة JSON.
```jsonc title="opencode.jsonc"
{
"$schema": "https://opencode.ai/config.json",
// Theme configuration
// إعدادات السمة
"theme": "opencode",
"model": "anthropic/claude-sonnet-4-5",
"autoupdate": true,
@@ -326,7 +326,7 @@ opencode run "Hello world"
"model": "anthropic/claude-sonnet-4-5",
"prompt": "You are a code reviewer. Focus on security, performance, and maintainability.",
"tools": {
// Disable file modification tools for review-only agent
// تعطيل أدوات تعديل الملفات لوكيل المراجعة فقط
"write": false,
"edit": false,
},

View File

@@ -221,7 +221,7 @@ How is authentication handled in @packages/functions/src/api/index.ts
انتقل إليه باستخدام مفتاح **Tab**. سترى مؤشرا لذلك في الزاوية السفلية اليمنى.
```bash frame="none" title="Switch to Plan mode"
```bash frame="none" title="التبديل إلى وضع Plan"
<TAB>
```

View File

@@ -278,10 +278,10 @@ opencode mcp logout my-oauth-server
إذا فشل خادم MCP بعيد في المصادقة، يمكنك تشخيص المشكلة باستخدام:
```bash
# View auth status for all OAuth-capable servers
# عرض حالة المصادقة لجميع الخوادم القادرة على OAuth
opencode mcp auth list
# Debug connection and OAuth flow for a specific server
# تصحيح الاتصال وتدفق OAuth لخادم محدد
opencode mcp debug my-oauth-server
```

View File

@@ -12,13 +12,13 @@ description: إعداد الوكلاء والشهادات المخصصة.
يتبع OpenCode متغيرات بيئة الوكيل القياسية.
```bash
# HTTPS proxy (recommended)
# وكيل HTTPS (موصى به)
export HTTPS_PROXY=https://proxy.example.com:8080
# HTTP proxy (if HTTPS not available)
# وكيل HTTP (إذا لم يتوفر HTTPS)
export HTTP_PROXY=http://proxy.example.com:8080
# Bypass proxy for local server (required)
# تجاوز الوكيل للخادم المحلي (مطلوب)
export NO_PROXY=localhost,127.0.0.1
```

View File

@@ -89,7 +89,7 @@ OpenCode Zen هي قائمة نماذج يوفّرها فريق OpenCode وقد
فلا تتردد في فتح PR.
:::note
ألا ترى مزوّدا هنا؟ أرسل PR.
لم تجد المزوّد الذي تبحث عنه؟ أرسل PR.
:::
---
@@ -139,13 +139,13 @@ OpenCode Zen هي قائمة نماذج يوفّرها فريق OpenCode وقد
عيّن أحد متغيرات البيئة التالية أثناء تشغيل opencode:
```bash
# Option 1: Using AWS access keys
# الخيار 1: استخدام مفاتيح وصول AWS
AWS_ACCESS_KEY_ID=XXX AWS_SECRET_ACCESS_KEY=YYY opencode
# Option 2: Using named AWS profile
# الخيار 2: استخدام ملف تعريف AWS مسمّى
AWS_PROFILE=my-profile opencode
# Option 3: Using Bedrock bearer token
# الخيار 3: استخدام رمز Bedrock المميز (bearer token)
AWS_BEARER_TOKEN_BEDROCK=XXX opencode
```

View File

@@ -366,7 +366,7 @@ OPENCODE_ENABLE_EXA=1 opencode
---
### Ignore patterns
### أنماط التجاهل
لتضمين ملفات يتم تجاهلها عادة، أنشئ ملف `.ignore` في جذر المشروع. يمكن لهذا الملف السماح صراحة بمسارات محددة.

View File

@@ -290,12 +290,12 @@ How is auth handled in @packages/functions/src/api/index.ts?
<Tabs>
<TabItem label="Linux/macOS">
```bash
# Example for nano or vim
# مثال لـ nano أو vim
export EDITOR=nano
export EDITOR=vim
# For GUI editors, VS Code, Cursor, VSCodium, Windsurf, Zed, etc.
# include --wait
# للمحررات الرسومية، VS Code، Cursor، VSCodium، Windsurf، Zed، إلخ.
# قم بتضمين --wait
export EDITOR="code --wait"
```
@@ -308,8 +308,8 @@ How is auth handled in @packages/functions/src/api/index.ts?
```bash
set EDITOR=notepad
# For GUI editors, VS Code, Cursor, VSCodium, Windsurf, Zed, etc.
# include --wait
# للمحررات الرسومية، VS Code، Cursor، VSCodium، Windsurf، Zed، إلخ.
# قم بتضمين --wait
set EDITOR=code --wait
```
@@ -321,8 +321,8 @@ How is auth handled in @packages/functions/src/api/index.ts?
```powershell
$env:EDITOR = "notepad"
# For GUI editors, VS Code, Cursor, VSCodium, Windsurf, Zed, etc.
# include --wait
# للمحررات الرسومية، VS Code، Cursor، VSCodium، Windsurf، Zed، إلخ.
# قم بتضمين --wait
$env:EDITOR = "code --wait"
```

View File

@@ -113,10 +113,10 @@ OPENCODE_SERVER_PASSWORD=secret opencode web
يمكنك إرفاق واجهة terminal (TUI) بخادم ويب قيد التشغيل:
```bash
# Start the web server
# ابدأ خادم الويب
opencode web --port 4096
# In another terminal, attach the TUI
# في محطة طرفية أخرى، اربط TUI
opencode attach http://localhost:4096
```

View File

@@ -57,9 +57,9 @@
"share.opencode_name": "opencode",
"share.models": "النماذج",
"share.cost": "التكلفة",
"share.input_tokens": "Input Tokens",
"share.output_tokens": "Output Tokens",
"share.reasoning_tokens": "Reasoning Tokens",
"share.input_tokens": "رموز الإدخال",
"share.output_tokens": "رموز الإخراج",
"share.reasoning_tokens": "رموز التفكير",
"share.scroll_to_bottom": "التمرير إلى الأسفل",
"share.attachment": "مرفق",
"share.thinking": "تفكير",