Skip to content

Commit

Permalink
XPanel Laravel v3.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aliione committed Dec 31, 2023
1 parent 4dbe912 commit 360727a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Web Panel/app/resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,6 @@
"settings-xguard-domain": "<b>Anti-Filter is active, please follow the steps below</b><br>Create a Cname record in Cloudflare and connect it to your personal anti-filter address.<br>Make sure the proxy or orange cdn cloud is off.<br><b>After completing the mentioned steps, set your domain in the corresponding field.</b>",
"settings-xguard-doamin_lable": "Cname Record Type Domain Address",
"settings-xguard-capacity": "The capacity of the anti-filter server is full",
"settings-xguard-capacity-off": "Remaining capacity:"
"settings-xguard-capacity-off": "Remaining capacity:",
"settings-xguard-amount": "Monthly Subscription <b>%s</b> USD"
}
3 changes: 2 additions & 1 deletion Web Panel/app/resources/lang/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,6 @@
"settings-xguard-domain": "<b>ضدفلیتر فعال می باشد لطفا مراحل زیر را انجام دهید</b><br>در cloudflare یک رکورد Cname ایجاد کنید و به آدرس ضد فیلتر شخصی خودتان متصل کنید.<br>توجه داشته باشید پروکسی یا ابر نارنجی cdn خاموش باشد.<br><b>بعد از انجام مراحل ذکر شده دامنه خودتان را در فیلد مقابل تنظیم کنید</b>",
"settings-xguard-doamin_lable": "آدرس دامنه از نوع رکورد cname",
"settings-xguard-capacity": "ضرفیت سرور ضد فیلتر تکمیل می باشد",
"settings-xguard-capacity-off": "طرفیت باقی مانده:"
"settings-xguard-capacity-off": "طرفیت باقی مانده:",
"settings-xguard-amount": "اشتراک ماهانه <b>%s</b> دلار"
}
4 changes: 4 additions & 0 deletions Web Panel/app/resources/views/settings/xguard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<div class="alert alert-danger" role="alert">{{__('settings-xguard-desc2')}}</div>
<span class="badge color-block bg-blue-500 border">
{{__('settings-xguard-capacity-off')}} {{$response[0]['capacity']}}
</span>
<span class="badge color-block bg-blue-500 border">
{!! sprintf(__('settings-xguard-amount'), $response[0]['amount']) !!}

</span>
<br>
@if(isset($response[0]['message']) and $response[0]['message']=='access')
Expand Down

0 comments on commit 360727a

Please sign in to comment.