Skip to content

Commit

Permalink
اضافه کردن راهنمای بروزرسانی اشتراک
Browse files Browse the repository at this point in the history
  • Loading branch information
ircfspace committed Feb 14, 2024
1 parent 4494393 commit a911939
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ input:checked + .slider {
.modal-footer button:nth-child(even) {
width: calc(50% - 5px)
}
.modal-body .alert {
margin: 0;
}

.tooltip .tooltip-inner {
font: 11px vazir;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function setLanguagePreference(lang) {
}

async function fetchLanguageData(lang) {
const response = await fetch("assets/lang/"+lang+".json?v1.12.1");
const response = await fetch("assets/lang/"+lang+".json?v1.12.3");
return response.json();
}

Expand Down
1 change: 1 addition & 0 deletions assets/lang/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"config_form_copyurl": "复制网址",
"config_form_jsonurl": "查看代码",
"config_form_qrcode": "QR码",
"config_form_qrcode_alert": "扫描 QR 码后,一些应用可能需要执行“订阅更新”。",
"config_form_convert": "转换为片段",
"config_switch_tls": "TLS",
"config_switch_tls_tooltip": "切换TLS片段和TCP段之间的能力",
Expand Down
1 change: 1 addition & 0 deletions assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"config_form_copyurl": "Copy URL",
"config_form_jsonurl": "View code",
"config_form_qrcode": "QR CODE",
"config_form_qrcode_alert": "After scanning the QR code, it may be necessary to perform a \"subscription update\" in some apps.",
"config_form_convert": "Convert to Fragment",
"config_switch_tls": "TLS",
"config_switch_tls_tooltip": "the ability to switch between TLS Fragment and TCP Segment",
Expand Down
1 change: 1 addition & 0 deletions assets/lang/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"config_form_jsonurl": "مشاهده کد",
"config_form_convert": "تبدیل به فرگمنت",
"config_form_qrcode": "QR CODE",
"config_form_qrcode_alert": "بعد از اسکن کد کیوآر ممکنه توی بعضی\u200Cاز اپ\u200Cها به انجام «بروزرسانی اشتراک» نیاز باشه.",
"config_switch_tls": "TLS",
"config_switch_tls_tooltip": "امکان سوییچ بین حالت TLS Fragment و TCP Segment",
"config_switch_insecure": "Insecure",
Expand Down
1 change: 1 addition & 0 deletions assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"config_form_copyurl": "Скопируйте URL",
"config_form_jsonurl": "Посмотреть код",
"config_form_qrcode": "QR-код",
"config_form_qrcode_alert": "После сканирования QR-кода в некоторых приложениях может потребоваться выполнить «обновление подписки».",
"config_form_convert": "Преобразовать в фрагмент",
"config_switch_tls": "TLS",
"config_switch_tls_tooltip": "Возможность переключения между фрагментацией TLS и сегментацией TCP",
Expand Down
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<link href="./assets/css/bootstrap.min.css" rel="stylesheet" />
<link href="./assets/css/bootstrap-rtl.min.css" rel="stylesheet" />
<link href="./assets/css/vazir.css" rel="stylesheet" />
<link href="./assets/css/style.css?v1.12.1" rel="stylesheet" />
<link href="./assets/css/style.css?v1.12.3" rel="stylesheet" />
<link href="./assets/css/lang.css?v1.11" rel="stylesheet" />
<title>IRCF | ابزار فرگمنت</title>
<meta name="description" content="توسط ابزار فرگمنت می‌تونین دامنه‌های مرده‌تون رو مجدد زنده کنید!" />
Expand Down Expand Up @@ -223,6 +223,7 @@ <h4 class="modal-title dirLeft">QRCode</h4>
</a>
<input class="form-control dirLeft" value="" />
</div>
<div class="alert alert-warning" data-i18n="config_form_qrcode_alert"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" id="copyUrl" data-i18n="config_form_copyurl"></button>
Expand All @@ -245,8 +246,8 @@ <h4 class="modal-title dirLeft">QRCode</h4>
</div>
<script src="./assets/js/jquery.min.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<script src="./assets/js/lang.js?v1.12.1"></script>
<script src="./assets/js/script.js?v1.12.2"></script>
<script src="./assets/js/lang.js?v1.12.3"></script>
<script src="./assets/js/script.js?v1.12.3"></script>
</footer>
</div>
</div>
Expand Down

0 comments on commit a911939

Please sign in to comment.