# TraderPro contract — translation brief

Source: `src.txt` (336 numbered Persian lines, format `N|text`). Output: `tr/<lc>.txt`, SAME format, SAME 336 ids in order, one line per id, no blank lines, no line breaks inside a line.

## Register
Formal legal contract language of the target country (clear, precise, no slang). Translate the meaning of EVERY line fully — no additions, no omissions, no summarising. Keep the numbered/lettered structure ("الف)", "ب)" … → use the target language's natural list markers: Latin languages a) b) c); Cyrillic а) б) в); keep it consistent).
Persian is the controlling language; the translation is a convenience copy.

## Must be preserved exactly
- Tokens `@@NAME@@ @@DOB@@ @@NID@@ @@TGID@@ @@USERNAME@@ @@DATE@@ @@TIME@@ @@VERSION@@ @@DOCID@@ @@STATUS@@` (never translate, never alter).
- Article references `{{key}}` (they become article numbers) — keep them where the sentence needs them.
- Templates `{n}` and `{t}` (page / article / note numbers) — keep them.
- `**bold**` markers: same number of `**` as the source; bold the corresponding term.
- Numbers, percentages, durations, amounts: SAME VALUES, written with Latin digits 0-9 (e.g. ۳۰۰ → 300, ۰٫۰۵ → 0.05 or 0,05 per language custom — digits must stay the same). `$` / «دلار» → USD/dollars as natural; keep amounts.
- Latin names: TraderPro, XAUUSD, USDT … unchanged.
- Quotation marks «…» → the target language's normal quotes.
- NO Persian/Arabic-script letters or Persian digits in non-Persian output (Arabic target: Arabic letters ك ي only, no Persian پ چ ژ گ ک ی).

## Fixed terminology (use consistently; check the bot UI wording for your language in `lang-full.php` / `lang-v3.php` and align with it)
- ماده = Article; بند = Clause; زیربند = sub-clause (lettered); تبصره = Note (a note attached to a clause — same binding force)
- ارائه‌دهنده = the Provider; مدیریت = the Management; کاربر = the User; ربات = the Bot; مینی‌اپ = the Mini App
- حساب ریل ("ریل" is Persian slang for "real") = Real Account (the account holding the real balance)
- حساب بونوس = Bonus Account; اعتبار بونوس = Bonus Credit; دوره‌ی بونوس = Bonus Period
- بونوس پولی = Paid Bonus; بونوس رایگان = Free Bonus
- سود خالص بونوس = Net Bonus Profit; سود قابل واریز = Payable Profit
- دفتر کل = Ledger; تخلف = Violation; لات = lot; احراز هویت = identity verification (KYC)
- کارت‌به‌کارت = card-to-card transfer; رمزارز = cryptocurrency; واریز = deposit; برداشت = withdrawal
- مارجین = margin; حد ضرر/حد سود = stop loss / take profit; قوه‌ی قاهره = force majeure
- عنوان «تأیید نهایی» (button) = final confirmation button label as in the bot UI for your language (see `ct_btn_final` in lang-v3.php)
- Button/menu names quoted in the contract must match the bot's own wording for that language (grep `lang-full.php`).

## Workflow
1. Read `src.txt` fully. 2. Write `tr/<lc>.txt`. 3. Run `python3 validate_contract.py <lc>` and fix every reported error until it prints `OK`. 4. Re-read your file once for meaning fidelity against the Persian (not only the validator).
