-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translate all messages and labels to english
- Loading branch information
Showing
3 changed files
with
70 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
<!DOCTYPE html> | ||
<html lang="fa" dir="rtl"> | ||
<html lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>اصلاح کانفیگهای V2Ray</title> | ||
<meta name="description" content="ابزاری برای اصلاح کانفیگهای V2Ray"> | ||
<title>V2Ray Config Modifier</title> | ||
<meta name="description" content="A tool for modifying V2Ray configs"> | ||
<meta name="theme-color" content="#0d6efd"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap" rel="stylesheet"> | ||
<link href="assets/css/style.css?v=1.0.0" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<nav class="navbar navbar-expand navbar-dark bg-primary"> | ||
<div class="container"> | ||
<a class="navbar-brand me-0" href="https://seramo.github.io/v2ray-config-modifier/">اصلاح کانفیگ</a> | ||
<ul class="navbar-nav px-0"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="https://youtu.be/J9g1kbdW8Oc/" target="_blank">آموزش</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link ps-0" href="https://github.com/seramo/v2ray-config-modifier/" target="_blank">گیتهاب</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
<div class="container mt-5"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="alert" role="alert" id="messageBox" style="display: none;"> | ||
<span id="messageText"></span> | ||
</div> | ||
<nav class="navbar navbar-expand navbar-dark bg-primary"> | ||
<div class="container"> | ||
<a class="navbar-brand me-0" href="https://seramo.github.io/v2ray-config-modifier/">V2Ray Config Modifier</a> | ||
<ul class="navbar-nav px-0"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="https://youtu.be/J9g1kbdW8Oc/" target="_blank">Tutorial</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link ps-0" href="https://github.com/seramo/v2ray-config-modifier/" target="_blank">GitHub</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
<div class="container mt-5"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="alert" role="alert" id="messageBox" style="display: none;"> | ||
<span id="messageText"></span> | ||
</div> | ||
</div> | ||
|
||
<div class="col-12"> | ||
<label for="inputConfig" class="form-label">کانفیگ</label> | ||
<input type="text" id="inputConfig" class="form-control" placeholder="vless یا vmess" dir="ltr"> | ||
</div> | ||
<div class="col-12"> | ||
<label for="inputConfig" class="form-label">Config</label> | ||
<input type="text" id="inputConfig" class="form-control" placeholder="vless or vmess" dir="ltr"> | ||
</div> | ||
|
||
<div class="col-12 mt-3"> | ||
<label for="inputType" class="form-label">نوع ورودی</label> | ||
<select id="inputType" class="form-control" onchange="toggleInputFields()"> | ||
<option value="cidr">رنج آی پی</option> | ||
<option value="list">لیست آی پی</option> | ||
</select> | ||
</div> | ||
<div class="col-12 mt-3"> | ||
<label for="inputType" class="form-label">Input Type</label> | ||
<select id="inputType" class="form-control" onchange="toggleInputFields()"> | ||
<option value="cidr">IP Ranges</option> | ||
<option value="list">IP List</option> | ||
</select> | ||
</div> | ||
|
||
<div class="col-12 mt-3" id="cidrFields"> | ||
<label for="ipRange" class="form-label">رنج آی پی (CIDR)</label> | ||
<button onclick="loadIPRanges('cloudflare')" class="badge bg-cloudflare border-0 me-1">کلودفلر</button> | ||
<button onclick="loadIPRanges('gcore')" class="badge bg-gcore border-0 me-1">جیکور</button> | ||
<button onclick="loadIPRanges('fastly')" class="badge bg-fastly border-0 me-1">فستلی</button> | ||
<textarea id="ipRange" class="form-control" rows="4" placeholder="هر رنج آی پی در یک خط" dir="ltr"></textarea> | ||
<label for="outputCount" class="form-label mt-3">تعداد خروجیها: <span id="outputCountValue">5000</span></label> | ||
<input type="range" class="form-range" min="1000" max="50000" step="1000" id="outputCount" value="5000" oninput="updateOutputCountValue()"> | ||
</div> | ||
<div class="col-12 mt-3" id="cidrFields"> | ||
<label for="ipRange" class="form-label">IP Ranges (CIDR)</label> | ||
<button onclick="loadIPRanges('cloudflare')" class="badge bg-cloudflare border-0 me-1">Cloudflare</button> | ||
<button onclick="loadIPRanges('gcore')" class="badge bg-gcore border-0 me-1">Gcore</button> | ||
<button onclick="loadIPRanges('fastly')" class="badge bg-fastly border-0 me-1">Fastly</button> | ||
<textarea id="ipRange" class="form-control" rows="4" placeholder="Each IP range on a new line" dir="ltr"></textarea> | ||
<label for="outputCount" class="form-label mt-3">Number of outputs: <span id="outputCountValue">5000</span></label> | ||
<input type="range" class="form-range" min="1000" max="50000" step="1000" id="outputCount" value="5000" oninput="updateOutputCountValue()"> | ||
</div> | ||
|
||
<div class="col-12 mt-3" id="listFields" style="display: none;"> | ||
<label for="ipList" class="form-label">لیست آی پی</label> | ||
<textarea id="ipList" class="form-control" rows="8" placeholder="هر آی پی در یک خط" dir="ltr"></textarea> | ||
</div> | ||
<div class="col-12 mt-3" id="listFields" style="display: none;"> | ||
<label for="ipList" class="form-label">IP List</label> | ||
<textarea id="ipList" class="form-control" rows="8" placeholder="Each IP on a new line" dir="ltr"></textarea> | ||
</div> | ||
|
||
<div class="col-12 mt-4"> | ||
<button onclick="generateConfigs()" class="btn btn-primary">تولید کانفیگها</button> | ||
<button onclick="copyToClipboard()" class="btn btn-secondary px-4" id="copyButton" style="display: none;">کپی</button> | ||
<button onclick="downloadOutput()" class="btn btn-success px-4" id="downloadButton" style="display: none;">دانلود</button> | ||
</div> | ||
<div class="col-12 mt-4"> | ||
<button onclick="generateConfigs()" class="btn btn-primary">Generate Configs</button> | ||
<button onclick="copyToClipboard()" class="btn btn-secondary px-4" id="copyButton" style="display: none;">Copy</button> | ||
<button onclick="downloadOutput()" class="btn btn-success px-4" id="downloadButton" style="display: none;">Download</button> | ||
</div> | ||
</div> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/ipaddr.js/2.0.1/ipaddr.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/base64.min.js"></script> | ||
<script src="assets/js/script.js?v=1.0.3"></script> | ||
</div> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/ipaddr.js/2.0.1/ipaddr.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/base64.min.js"></script> | ||
<script src="assets/js/script.js?v=1.0.4"></script> | ||
</body> | ||
</html> |