Merge pull request #401 from ormendoza/Development

Translation into Spanish
This commit is contained in:
iBNu Maksum 2025-02-21 16:03:12 +07:00 committed by GitHub
commit 1aa4110552
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 67 additions and 39 deletions

8
.idea/.gitignore generated vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

20
.idea/php.xml generated Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PhpIncludePathManager">
<include_path>
<path value="$PROJECT_DIR$/system/vendor/mpdf/mpdf" />
<path value="$PROJECT_DIR$/system/vendor/mpdf/psr-log-aware-trait" />
<path value="$PROJECT_DIR$/system/vendor/paragonie/random_compat" />
<path value="$PROJECT_DIR$/system/vendor/psr/log" />
<path value="$PROJECT_DIR$/system/vendor/psr/http-message" />
<path value="$PROJECT_DIR$/system/vendor/composer" />
<path value="$PROJECT_DIR$/system/vendor/smarty/smarty" />
<path value="$PROJECT_DIR$/system/vendor/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/system/vendor/setasign/fpdi" />
<path value="$PROJECT_DIR$/system/vendor/yosiazwan/php-facedetection" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.0">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
</project>

View File

@ -82,30 +82,30 @@
<div class="panel-heading">{Lang::T('Burst Limit Preset')}</div>
<div class="list-group">
<a href="#" class="list-group-item active">2x</a>
<a href="javascript:burstIt('2M/2M 4M/4M 1536K/1536K 16/16 8 1M/1M')" class="list-group-item">2M to
<a href="javascript:burstIt('2M/2M 4M/4M 1536K/1536K 16/16 8 1M/1M')" class="list-group-item">2M {Lang::T('to')}
4M</a>
<a href="javascript:burstIt('3M/3M 6M/6M 2304K/2304K 16/16 8 1536K/1536K')" class="list-group-item">3M
to 6M</a>
<a href="javascript:burstIt('4M/4M 8M/8M 3M/3M 16/16 8 2M/2M')" class="list-group-item">4M to 8M</a>
{Lang::T('to')} 6M</a>
<a href="javascript:burstIt('4M/4M 8M/8M 3M/3M 16/16 8 2M/2M')" class="list-group-item">4M {Lang::T('to')} 8M</a>
<a href="javascript:burstIt('5M/5M 10M/10M 3840k/3840k 16/16 8 2560k/2560k')" class="list-group-item">5M to
10M</a>
<a href="javascript:burstIt('6M/6M 12M/12M 4608k/4608k 16/16 8 3M/3M')" class="list-group-item">6M to 12M</a>
<a href="javascript:burstIt('7M/7M 14M/14M 5376k/5376k 16/16 8 3584k/3584k')" class="list-group-item">7M to
<a href="javascript:burstIt('6M/6M 12M/12M 4608k/4608k 16/16 8 3M/3M')" class="list-group-item">6M {Lang::T('to')} 12M</a>
<a href="javascript:burstIt('7M/7M 14M/14M 5376k/5376k 16/16 8 3584k/3584k')" class="list-group-item">7M {Lang::T('to')}
14M</a>
<a href="javascript:burstIt('8M/8M 16M/16M 6M/6M 16/16 8 4M/4M')" class="list-group-item">8M to 16M</a>
<a href="javascript:burstIt('9M/9M 18M/18M 6912k/6912k 16/16 8 4608k/4608k')" class="list-group-item">9M to
<a href="javascript:burstIt('8M/8M 16M/16M 6M/6M 16/16 8 4M/4M')" class="list-group-item">8M {Lang::T('to')} 16M</a>
<a href="javascript:burstIt('9M/9M 18M/18M 6912k/6912k 16/16 8 4608k/4608k')" class="list-group-item">9M {Lang::T('to')}
18M</a>
<a href="javascript:burstIt('10M/10M 20M/20M 7680k/7680k 16/16 8 5M/5M')" class="list-group-item">10M to 20M</a>
<a href="javascript:burstIt('10M/10M 20M/20M 7680k/7680k 16/16 8 5M/5M')" class="list-group-item">10M {Lang::T('to')} 20M</a>
<a href="#" class="list-group-item active">upto 1MB</a>
<a href="javascript:burstIt('1M/1M 2M/2M 768k/768k 16/16 8 512k/512k')" class="list-group-item">1M upto 2M</a>
<a href="javascript:burstIt('2M/2M 3M/3M 1536k/1536k 12/12 8 1024k/1024k')" class="list-group-item">2M upto 3M</a>
<a href="javascript:burstIt('3M/3M 4M/4M 2450k/2450k 10/10 8 1536k/1536k')" class="list-group-item">3M upto 4M</a>
<a href="javascript:burstIt('4M/4M 5M/5M 3M/3M 10/10 8 2M/2M')" class="list-group-item">4M upto 5M</a>
<a href="javascript:burstIt('5M/5M 6M/6M 3680k/3680k 10/10 8 2450k/2450k')" class="list-group-item">5M upto 6M</a>
<a href="javascript:burstIt('6M/6M 7M/7M 4560k/4560k 11/11 8 3M/3M')" class="list-group-item">6M upto 7M</a>
<a href="javascript:burstIt('7M/7M 8M/8M 5460k/5460k 12/12 8 3640k/3640k')" class="list-group-item">7M upto 8M</a>
<a href="javascript:burstIt('8M/8M 9M/9M 6M/6M 12/12 8 4M/4M')" class="list-group-item">8M upto 9M</a>
<a href="javascript:burstIt('9M/9M 10M/10M 6820k/6820k 12/12 8 4550k/4550k')" class="list-group-item">9M upto 10M</a>
<a href="javascript:burstIt('1M/1M 2M/2M 768k/768k 16/16 8 512k/512k')" class="list-group-item">1M {Lang::T('upto')} 2M</a>
<a href="javascript:burstIt('2M/2M 3M/3M 1536k/1536k 12/12 8 1024k/1024k')" class="list-group-item">2M {Lang::T('upto')} 3M</a>
<a href="javascript:burstIt('3M/3M 4M/4M 2450k/2450k 10/10 8 1536k/1536k')" class="list-group-item">3M {Lang::T('upto')} 4M</a>
<a href="javascript:burstIt('4M/4M 5M/5M 3M/3M 10/10 8 2M/2M')" class="list-group-item">4M {Lang::T('upto')} 5M</a>
<a href="javascript:burstIt('5M/5M 6M/6M 3680k/3680k 10/10 8 2450k/2450k')" class="list-group-item">5M {Lang::T('upto')} 6M</a>
<a href="javascript:burstIt('6M/6M 7M/7M 4560k/4560k 11/11 8 3M/3M')" class="list-group-item">6M {Lang::T('upto')} 7M</a>
<a href="javascript:burstIt('7M/7M 8M/8M 5460k/5460k 12/12 8 3640k/3640k')" class="list-group-item">7M {Lang::T('upto')} 8M</a>
<a href="javascript:burstIt('8M/8M 9M/9M 6M/6M 12/12 8 4M/4M')" class="list-group-item">8M {Lang::T('upto')} 9M</a>
<a href="javascript:burstIt('9M/9M 10M/10M 6820k/6820k 12/12 8 4550k/4550k')" class="list-group-item">9M {Lang::T('upto')} 10M</a>
</div>
</div>
</div>

View File

@ -19,7 +19,7 @@
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save"
href="{Text::url('customers/csv&token=', $csrf_token)}"
onclick="return ask(this, 'This will export to CSV?')"><span
onclick="return ask(this, '{Lang::T("This will export to CSV")}?')"><span
class="glyphicon glyphicon-download" aria-hidden="true"></span> CSV</a>
</div>
{/if}
@ -31,7 +31,7 @@
<div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px">
<div class="col-lg-4">
<div class="input-group">
<span class="input-group-addon">Order&nbsp;&nbsp;</span>
<span class="input-group-addon">{Lang::T('Order ')}&nbsp;&nbsp;</span>
<div class="row row-no-gutters">
<div class="col-xs-8">
<select class="form-control" id="order" name="order">
@ -62,7 +62,7 @@
</div>
<div class="col-lg-3">
<div class="input-group">
<span class="input-group-addon">Status</span>
<span class="input-group-addon">{Lang::T('Status')}</span>
<select class="form-control" id="filter" name="filter">
{foreach $statuses as $status}
<option value="{$status}" {if $filter eq $status }selected{/if}>{Lang::T($status)}

View File

@ -59,7 +59,7 @@
{/if}
{if $d['pppoe_ip'] != ''}
<li class="list-group-item">
<b>PPPOE Remote IP</b> <span class="pull-right">{$d['pppoe_ip']}</span>
<b>{Lang::T('PPPoE Remote IP')}</b> <span class="pull-right">{$d['pppoe_ip']}</span>
</li>
{/if}
<!--Customers Attributes view start -->
@ -222,7 +222,7 @@
</li>
<li class="list-group-item">
{Lang::T('Type')} <span class="pull-right">
{if $package['prepaid'] eq yes}Prepaid{else}<b>Postpaid</b>{/if}</span>
{if $package['prepaid'] eq yes}Prepaid{else}<b>{Lang::T('Postpaid')}</b>{/if}</span>
</li>
<li class="list-group-item">
{Lang::T('Bandwidth')} <span class="pull-right">
@ -244,7 +244,7 @@
<div class="col-xs-4">
<a href="{Text::url('customers/deactivate/', $d['id'],'/',$package['plan_id'], '&token=', $csrf_token)}"
id="{$d['id']}" class="btn btn-danger btn-block btn-sm"
onclick="return ask(this, 'This will deactivate Customer Plan, and make it expired')">{Lang::T('Deactivate')}</a>
onclick="return ask(this, '{Lang::T('This will deactivate Customer Plan, and make it expired')}')">{Lang::T('Deactivate')}</a>
</div>
<div class="col-xs-8">
<a href="{Text::url('customers/recharge/', $d['id'], '/', $package['plan_id'], '&token=', $csrf_token)}"
@ -265,7 +265,7 @@
</div>
<div class="col-xs-6 col-md-3">
<a href="{Text::url('customers/sync/', $d['id'], '&token=', $csrf_token)}"
onclick="return ask(this, 'This will sync Customer to Mikrotik?')"
onclick="return ask(this, '{Lang::T('This will sync Customer to Mikrotik')}?')"
class="btn btn-info btn-sm btn-block">{Lang::T('Sync')}</a>
</div>
<div class="col-xs-6 col-md-3">

View File

@ -7,11 +7,11 @@
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save" href="{Text::url('logs/list-csv')}"
onclick="return ask(this, 'This will export to CSV?')"><span class="glyphicon glyphicon-download"
onclick="return ask(this, '{Lang::T('This will export to CSV')}?')"><span class="glyphicon glyphicon-download"
aria-hidden="true"></span> CSV</a>
</div>
{/if}
Activity Log
{Lang::T('Activity Log')}
</div>
<div class="panel-body">
<div class="text-center" style="padding: 15px">

View File

@ -79,7 +79,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button type="button" id="startBulk" class="btn btn-primary">Start Bulk Messaging</button>
<button type="button" id="startBulk" class="btn btn-primary">{Lang::T('Start Bulk Messaging')}</button>
<a href="{Text::url('dashboard')}" class="btn btn-default">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -47,14 +47,14 @@
<b>[[company_name]]</b> - {Lang::T('Your Company Name')}
<br>
<b>[[payment_link]]</b> - <a href="{Text::url('docs')}/#Reminder%20with%20payment%20link"
target="_blank">read documentation</a>.
target="_blank">{Lang::T('Read documentation')}</a>.
</p>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success"
onclick="return ask(this, 'Continue the process of sending messages?')"
onclick="return ask(this, '{Lang::T('Continue the process of sending messages')}?')"
type="submit">{Lang::T('Send Message')}</button>
<a href="{Text::url('dashboard')}" class="btn btn-default">{Lang::T('Cancel')}</a>
</div>

View File

@ -7,8 +7,8 @@
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save" href="{Text::url('')}plan/sync"
onclick="return ask(this, 'This will sync/send Caustomer active plan to Mikrotik?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> sync</a>
onclick="return ask(this, '{Lang::T('This will sync/send Caustomer active plan to Mikrotik')}?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> {Lang::T('Sync')}</a>
</div>
{* <div class="btn-group pull-right">
<a class="btn btn-info btn-xs" title="save" href="{Text::url('plan/csv',$append_url)}"

View File

@ -50,7 +50,7 @@
<div class="form-group">
<div class="col-md-9 col-md-offset-3">
<button class="btn btn-success"
onclick="return ask(this, 'Continue the Customer Balance top-up process?')"
onclick="return ask(this, '{Lang::T('Continue the Customer Balance top-up process')}?')"
type="submit">{Lang::T('Recharge')}</button>
Or <a href="{Text::url('')}customers/list">{Lang::T('Cancel')}</a>
</div>

View File

@ -58,7 +58,7 @@
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the package change process?')" type="submit">{Lang::T('Edit')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T('Continue the package change process')}?')" type="submit">{Lang::T('Edit')}</button>
Or <a href="{Text::url('')}plan/list">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -64,7 +64,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the Recharge process?')"
<button class="btn btn-success" onclick="return ask(this, '{Lang::T('Continue the Recharge process')}?')"
type="submit">{Lang::T('Recharge')}</button>
{Lang::T('Or')} <a href="{Text::url('')}customers/list">{Lang::T('Cancel')}</a>
</div>

View File

@ -24,7 +24,7 @@
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the Refill process?')"
<button class="btn btn-success" onclick="return ask(this, '{Lang::T('Continue the Refill process')}?')"
type="submit">{Lang::T('Recharge')}</button>
Or <a href="{Text::url('')}customers/list">{Lang::T('Cancel')}</a>
</div>

View File

@ -6,8 +6,8 @@
<div class="panel-heading">
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save" href="{Text::url('')}pool/sync"
onclick="return ask(this, 'This will sync/send IP Pool to Mikrotik?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> sync</a>
onclick="return ask(this, '{Lang::T('This will sync/send IP Pool to Mikrotik')}?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> {Lang::T('Sync')}</a>
</div>
{Lang::T('IP Pool')}
</div>

View File

@ -6,7 +6,7 @@
<div class="panel-heading">
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save" href="{Text::url('')}pool/sync"
onclick="return ask(this, 'This will sync/send IP port to Mikrotik?')"><span
onclick="return ask(this, '{Lang::T('This will sync/send IP port to Mikrotik')}?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> sync</a>
</div>
{Lang::T('Port Pool')} - VPN Tunnels

View File

@ -6,7 +6,7 @@
<div class="panel-heading">
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save" href="{Text::url('')}services/sync/pppoe"
onclick="return ask(this, 'This will sync/send PPPOE plan to Mikrotik?')"><span
onclick="return ask(this, '{Lang::T('This will sync/send PPPOE plan to Mikrotik')}?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> sync</a>
</div>{Lang::T('PPPOE Package')}
</div>