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> <thead>
<tr> <tr>
<th>{Lang::T('Invoice')}</th> <th>{Lang::T('Invoice')}</th>
<th>{Lang::T('Plan Name')}</th> <th>{Lang::T('Package Name')}</th>
<th>{Lang::T('Plan Price')}</th> <th>{Lang::T('Package Price')}</th>
<th>{Lang::T('Type')}</th> <th>{Lang::T('Type')}</th>
<th>{Lang::T('Created On')}</th> <th>{Lang::T('Created On')}</th>
<th>{Lang::T('Expires On')}</th> <th>{Lang::T('Expires On')}</th>

View File

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

View File

@ -16,7 +16,7 @@
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
{/if} {/if}
<input type="text" readonly class="form-control" name="username" value="{$username}" <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> </div>
<div class="form-group"> <div class="form-group">
@ -37,7 +37,7 @@
<div class="panel-heading">{Lang::T('Success')}</div> <div class="panel-heading">{Lang::T('Success')}</div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <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"> <div class="input-group">
{if $_c['country_code_phone']!= ''} {if $_c['country_code_phone']!= ''}
<span class="input-group-addon"><i class="glyphicon glyphicon-phone-alt"></i></span> <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> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
{/if} {/if}
<input type="text" readonly class="form-control" name="username" value="{$username}" <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> </div>
<label>{Lang::T('Your Password has been change to')}</label> <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-heading">{Lang::T('Forgot Password')}</div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <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"> <div class="input-group">
{if $_c['country_code_phone']!= ''} {if $_c['country_code_phone']!= ''}
<span class="input-group-addon"><i class="glyphicon glyphicon-phone-alt"></i></span> <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> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
{/if} {/if}
<input type="text" class="form-control" name="username" required <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>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<button type="submit" class="btn btn-block btn-primary">{Lang::T('Validate')}</button> <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> <a href="{$_url}login" class="btn btn-block btn-link">{Lang::T('Back')}</a>
</div> </div>
</div> </div>
@ -96,4 +96,4 @@
</div> </div>
</div> </div>
</form> </form>
{include file="customer/footer-public.tpl"} {include file="customer/footer-public.tpl"}

View File

@ -507,7 +507,7 @@
<input type="hidden" name="csrf_token" value="{$csrf_token}"> <input type="hidden" name="csrf_token" value="{$csrf_token}">
<div> <div>
<input type="text" name="username" <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> required>
</div> </div>
<div> <div>
@ -601,4 +601,4 @@
{/if} {/if}
</body> </body>
</html> </html>

View File

@ -22,7 +22,7 @@
{elseif $_c['registration_username'] == 'email'} {elseif $_c['registration_username'] == 'email'}
{Lang::T('Email')} {Lang::T('Email')}
{else} {else}
{Lang::T('Username')} {Lang::T('Usernames')}
{/if} {/if}
</label> </label>
<div class="input-group"> <div class="input-group">
@ -37,7 +37,7 @@
class="glyphicon glyphicon-user"></i></span> class="glyphicon glyphicon-user"></i></span>
{/if} {/if}
<input type="text" class="form-control" name="username" <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> </div>
<div class="form-group"> <div class="form-group">
@ -93,4 +93,4 @@
</center> </center>
</div> </div>
</div> </div>
{include file="customer/footer-public.tpl"} {include file="customer/footer-public.tpl"}

View File

@ -26,7 +26,7 @@
{elseif $_c['registration_username'] == 'email'} {elseif $_c['registration_username'] == 'email'}
{Lang::T('Email')} {Lang::T('Email')}
{else} {else}
{Lang::T('Username')} {Lang::T('Usernames')}
{/if} {/if}
</label> </label>
<div class="input-group"> <div class="input-group">
@ -41,7 +41,7 @@
class="glyphicon glyphicon-user"></i></span> class="glyphicon glyphicon-user"></i></span>
{/if} {/if}
<input type="text" class="form-control" name="username" <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> </div>
<div class="form-group"> <div class="form-group">
@ -102,4 +102,4 @@
</div> </div>
</div> </div>
{include file="customer/footer-public.tpl"} {include file="customer/footer-public.tpl"}

View File

@ -4,7 +4,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
{if $_c['enable_balance'] == 'yes'} {if $_c['enable_balance'] == 'yes'}
<div class="box box-solid box-success bg-gray-light"> <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"> <div class="box-body row">
{foreach $plans_balance as $plan} {foreach $plans_balance as $plan}
<div class="col col-md-4"> <div class="col col-md-4">
@ -66,4 +66,4 @@
{/if} {/if}
</div> </div>
</div> </div>
{include file="customer/footer.tpl"} {include file="customer/footer.tpl"}

View File

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

View File

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

View File

@ -54,7 +54,7 @@
{/if} {/if}
{if $_c['man_fields_address'] neq 'no'} {if $_c['man_fields_address'] neq 'no'}
<div class="form-group"> <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"> <input type="text" name="address" id="address" value="{$address}" class="form-control">
</div> </div>
{if $_c['man_fields_custom'] neq 'no'} {if $_c['man_fields_custom'] neq 'no'}
@ -66,14 +66,14 @@
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="panel panel-primary"> <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="panel-body">
<div class="form-container"> <div class="form-container">
<!-- Username Field --> <!-- Username Field -->
<div class="form-group"> <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" <input type="text" required class="form-control" id="username" name="username"
placeholder="{Lang::T('Choose a Username')}"> placeholder="{Lang::T('Choose a Usernames')}">
</div> </div>
<!-- Password Fields --> <!-- Password Fields -->
<div class="form-group"> <div class="form-group">
@ -138,4 +138,4 @@
<!--End of Tawk.to Script--> <!--End of Tawk.to Script-->
{/if} {/if}
{include file="customer/footer-public.tpl"} {include file="customer/footer-public.tpl"}

View File

@ -23,7 +23,7 @@
{elseif $_c['registration_username'] == 'email'} {elseif $_c['registration_username'] == 'email'}
{Lang::T('Email')} {Lang::T('Email')}
{else} {else}
{Lang::T('Username')} {Lang::T('Usernames')}
{/if} {/if}
</label> </label>
<div class="input-group"> <div class="input-group">
@ -38,7 +38,7 @@
class="glyphicon glyphicon-user"></i></span> class="glyphicon glyphicon-user"></i></span>
{/if} {/if}
<input type="text" class="form-control" name="username" <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> </div>
{if $_c['photo_register'] == 'yes'} {if $_c['photo_register'] == 'yes'}
@ -63,7 +63,7 @@
{/if} {/if}
{if $_c['man_fields_address'] neq 'no'} {if $_c['man_fields_address'] neq 'no'}
<div class="form-group"> <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"> <input type="text" name="address" id="address" value="{$address}" class="form-control">
</div> </div>
{/if} {/if}
@ -108,4 +108,4 @@
</div> </div>
</form> </form>
</div> </div>
{include file="customer/footer-public.tpl"} {include file="customer/footer-public.tpl"}

View File

@ -51,7 +51,7 @@
{$plan['type']}</span> {$plan['type']}</span>
</li> </li>
<li class="list-group-item"> <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'])} {if !empty($plan['price_old'])}
<sup <sup
style="text-decoration: line-through; color: red">{Lang::moneyFormat($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> class="pull-right">{Lang::moneyFormat($add_cost)}</span>
</li> </li>
<li class="list-group-item"> <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" +{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> style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">{Lang::moneyFormat($plan['price']+$add_cost+$tax)}</span>
</li> </li>
@ -106,7 +106,7 @@
class="pull-right">{Lang::moneyFormat($add_cost)}</span> class="pull-right">{Lang::moneyFormat($add_cost)}</span>
</li> </li>
<li class="list-group-item"> <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" +{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> style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">{Lang::moneyFormat($plan['price']+$add_cost)}</span>
</li> </li>
@ -164,4 +164,4 @@
</div> </div>
</div> </div>
{include file="customer/footer.tpl"} {include file="customer/footer.tpl"}

View File

@ -49,7 +49,7 @@
<div class="form-group"> <div class="form-group">
<div class="col-sm-9"> <div class="col-sm-9">
<input type="text" id="username" name="username" class="form-control" required <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>
<div class="form-group col-sm-3" align="center"> <div class="form-group col-sm-3" align="center">
<button class="btn btn-success btn-block" id="sendBtn" type="submit" name="send" <button class="btn btn-success btn-block" id="sendBtn" type="submit" name="send"