Merge pull request #357 from ahmadhusein17/Development

Language fixes
This commit is contained in:
iBNu Maksum 2024-12-03 11:47:44 +07:00 committed by GitHub
commit 5559069aac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 43 additions and 43 deletions

View File

@ -11,8 +11,8 @@
<thead>
<tr>
<th>{Lang::T('Invoice')}</th>
<th>{Lang::T('Plan Name')}</th>
<th>{Lang::T('Plan Price')}</th>
<th>{Lang::T('Package Name')}</th>
<th>{Lang::T('Package Price')}</th>
<th>{Lang::T('Type')}</th>
<th>{Lang::T('Created On')}</th>
<th>{Lang::T('Expires On')}</th>

View File

@ -17,11 +17,11 @@
<td>{Lang::dateTimeFormat($unpaid['expired_date'])} </td>
</tr>
<tr>
<td>{Lang::T('Plan Name')}</td>
<td>{Lang::T('Package Name')}</td>
<td>{$unpaid['plan_name']}</td>
</tr>
<tr>
<td>{Lang::T('Plan Price')}</td>
<td>{Lang::T('Package Price')}</td>
<td>{$unpaid['price']}</td>
</tr>
<tr>
@ -98,7 +98,7 @@
{if $_c['enable_balance'] == 'yes'}
<tr>
<td class="small text-warning text-uppercase text-normal">{Lang::T('Your Balance')}</td>
<td class="small text-warning text-uppercase text-normal">{Lang::T('Yours Balance')}</td>
<td class="small mb15 text-bold">
{Lang::moneyFormat($_user['balance'])}
{if $_user['auto_renewal'] == 1}
@ -194,7 +194,7 @@
</tr>
{if $_c['show_bandwidth_plan'] == 'yes'}
<tr>
<td class="small text-primary text-uppercase text-normal">Bandwidth</td>
<td class="small text-primary text-uppercase text-normal">{Lang::T('Bandwidth')}</td>
<td class="small mb15">
{$_bill['name_bw']}
</td>
@ -346,7 +346,7 @@
<div class="form-group">
<div class="col-sm-5">
<input type="text" id="username" name="username" class="form-control" required
placeholder="{Lang::T('Friend Username')}">
placeholder="{Lang::T('Friend Usernames')}">
</div>
<div class="col-sm-5">
<input type="number" id="balance" name="balance" autocomplete="off" class="form-control"
@ -361,7 +361,7 @@
</form>
<script>
function askConfirm() {
if (confirm('{Lang::T('Send your balance ? ')}')) {
if (confirm('{Lang::T('Send yours balance ? ')}')) {
setTimeout(() => {
document.getElementById('sendBtn').setAttribute('disabled', '');
}, 1000);

View File

@ -16,7 +16,7 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" readonly class="form-control" name="username" value="{$username}"
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
<div class="form-group">
@ -37,7 +37,7 @@
<div class="panel-heading">{Lang::T('Success')}</div>
<div class="panel-body">
<div class="form-group">
<label>{if $_c['country_code_phone']!= ''}{Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}</label>
<label>{if $_c['country_code_phone']!= ''}{Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}</label>
<div class="input-group">
{if $_c['country_code_phone']!= ''}
<span class="input-group-addon"><i class="glyphicon glyphicon-phone-alt"></i></span>
@ -45,7 +45,7 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" readonly class="form-control" name="username" value="{$username}"
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
<label>{Lang::T('Your Password has been change to')}</label>
@ -74,7 +74,7 @@
<div class="panel-heading">{Lang::T('Forgot Password')}</div>
<div class="panel-body">
<div class="form-group">
<label>{if $_c['country_code_phone']!= ''}{Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}</label>
<label>{if $_c['country_code_phone']!= ''}{Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}</label>
<div class="input-group">
{if $_c['country_code_phone']!= ''}
<span class="input-group-addon"><i class="glyphicon glyphicon-phone-alt"></i></span>
@ -82,13 +82,13 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" class="form-control" name="username" required
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
</div>
<div class="panel-footer">
<button type="submit" class="btn btn-block btn-primary">{Lang::T('Validate')}</button>
<a href="{$_url}forgot&step=6" class="btn btn-block btn-link">{Lang::T('Forgot Username')}</a>
<a href="{$_url}forgot&step=6" class="btn btn-block btn-link">{Lang::T('Forgot Usernames')}</a>
<a href="{$_url}login" class="btn btn-block btn-link">{Lang::T('Back')}</a>
</div>
</div>

View File

@ -507,7 +507,7 @@
<input type="hidden" name="csrf_token" value="{$csrf_token}">
<div>
<input type="text" name="username"
placeholder="{if $_c['registration_username'] == 'phone'}{Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/if}"
placeholder="{if $_c['registration_username'] == 'phone'}{Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Usernames')}{/if}"
required>
</div>
<div>

View File

@ -22,7 +22,7 @@
{elseif $_c['registration_username'] == 'email'}
{Lang::T('Email')}
{else}
{Lang::T('Username')}
{Lang::T('Usernames')}
{/if}
</label>
<div class="input-group">
@ -37,7 +37,7 @@
class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" class="form-control" name="username"
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
<div class="form-group">

View File

@ -26,7 +26,7 @@
{elseif $_c['registration_username'] == 'email'}
{Lang::T('Email')}
{else}
{Lang::T('Username')}
{Lang::T('Usernames')}
{/if}
</label>
<div class="input-group">
@ -41,7 +41,7 @@
class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" class="form-control" name="username"
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
<div class="form-group">

View File

@ -4,7 +4,7 @@
<div class="col-sm-12">
{if $_c['enable_balance'] == 'yes'}
<div class="box box-solid box-success bg-gray-light">
<div class="box-header">{Lang::T('Buy Balance Plans')}</div>
<div class="box-header">{Lang::T('Buy Balance Package')}</div>
<div class="box-body row">
{foreach $plans_balance as $plan}
<div class="col col-md-4">

View File

@ -10,11 +10,11 @@
<table id="datatable" class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>{Lang::T('Plan Name')}</th>
<th>{Lang::T('Package Name')}</th>
<th>{Lang::T('Payment Method')}</th>
<th>Routers</th>
<th>{Lang::T('Type')}</th>
<th>{Lang::T('Plan Price')}</th>
<th>{Lang::T('Package Price')}</th>
<th>{Lang::T('Created on')}</th>
<th>{Lang::T('Expires on')}</th>
<th>{Lang::T('Date')}</th>

View File

@ -72,7 +72,7 @@
</tr>
{/if}
<tr>
<td>{Lang::T('Plan Name')}</td>
<td>{Lang::T('Package Name')}</td>
<td>{$plan['name_plan']}</td>
</tr>
{if $add_cost!=0}
@ -88,7 +88,7 @@
</tr>
{/if}
<tr>
<td>{Lang::T('Plan Price')}{if $add_cost!=0}<small> +
<td>{Lang::T('Package Price')}{if $add_cost!=0}<small> +
{Lang::T('Additional Cost')}{/if}</small></td>
<td
style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">

View File

@ -54,7 +54,7 @@
{/if}
{if $_c['man_fields_address'] neq 'no'}
<div class="form-group">
<label>{Lang::T('Address')}</label>
<label>{Lang::T('Home Address')}</label>
<input type="text" name="address" id="address" value="{$address}" class="form-control">
</div>
{if $_c['man_fields_custom'] neq 'no'}
@ -66,14 +66,14 @@
</div>
<div class="col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">2. {Lang::T('Username & Password')}</div>
<div class="panel-heading">2. {Lang::T('Usernames & Password')}</div>
<div class="panel-body">
<div class="form-container">
<!-- Username Field -->
<div class="form-group">
<label>{Lang::T('Username')}</label>
<label>{Lang::T('Usernames')}</label>
<input type="text" required class="form-control" id="username" name="username"
placeholder="{Lang::T('Choose a Username')}">
placeholder="{Lang::T('Choose a Usernames')}">
</div>
<!-- Password Fields -->
<div class="form-group">

View File

@ -23,7 +23,7 @@
{elseif $_c['registration_username'] == 'email'}
{Lang::T('Email')}
{else}
{Lang::T('Username')}
{Lang::T('Usernames')}
{/if}
</label>
<div class="input-group">
@ -38,7 +38,7 @@
class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" class="form-control" name="username"
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
{if $_c['photo_register'] == 'yes'}
@ -63,7 +63,7 @@
{/if}
{if $_c['man_fields_address'] neq 'no'}
<div class="form-group">
<label>{Lang::T('Address')}</label>
<label>{Lang::T('Home Address')}</label>
<input type="text" name="address" id="address" value="{$address}" class="form-control">
</div>
{/if}

View File

@ -51,7 +51,7 @@
{$plan['type']}</span>
</li>
<li class="list-group-item">
<b>{Lang::T('Plan Price')}</b> <span class="pull-right">
<b>{Lang::T('Package Price')}</b> <span class="pull-right">
{if !empty($plan['price_old'])}
<sup
style="text-decoration: line-through; color: red">{Lang::moneyFormat($plan['price_old'])}</sup>
@ -83,7 +83,7 @@
class="pull-right">{Lang::moneyFormat($add_cost)}</span>
</li>
<li class="list-group-item">
<b>{Lang::T('Total')}</b> <small>({Lang::T('Plan Price')}
<b>{Lang::T('Total')}</b> <small>({Lang::T('Package Price')}
+{Lang::T('Additional Cost')})</small><span class="pull-right"
style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">{Lang::moneyFormat($plan['price']+$add_cost+$tax)}</span>
</li>
@ -106,7 +106,7 @@
class="pull-right">{Lang::moneyFormat($add_cost)}</span>
</li>
<li class="list-group-item">
<b>{Lang::T('Total')}</b> <small>({Lang::T('Plan Price')}
<b>{Lang::T('Total')}</b> <small>({Lang::T('Package Price')}
+{Lang::T('Additional Cost')})</small><span class="pull-right"
style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">{Lang::moneyFormat($plan['price']+$add_cost)}</span>
</li>

View File

@ -49,7 +49,7 @@
<div class="form-group">
<div class="col-sm-9">
<input type="text" id="username" name="username" class="form-control" required
value="{$username}" placeholder="{Lang::T('Username')}">
value="{$username}" placeholder="{Lang::T('Usernames')}">
</div>
<div class="form-group col-sm-3" align="center">
<button class="btn btn-success btn-block" id="sendBtn" type="submit" name="send"