Update translate

This commit is contained in:
Ahmad Husein 2024-08-15 15:54:52 +07:00 committed by Ibnu Maksum
parent 74e806886c
commit 04321c9e4b
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
11 changed files with 52 additions and 48 deletions

View File

@ -3,9 +3,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<div class="panel panel-primary panel-hovered panel-stacked mb30"> <div class="panel panel-primary panel-hovered panel-stacked mb30">
<div class="panel-heading">{Lang::T('Localisation')}</div> <div class="panel-heading">
<div class="panel-body"> <div class="btn-group pull-right">
<button class="btn btn-primary btn-xs" title="save" type="submit"><span
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
</div>
{Lang::T('Localisation')}
</div>
<div class="panel-body">
<form class="form-horizontal" method="post" role="form" action="{$_url}settings/localisation-post"> <form class="form-horizontal" method="post" role="form" action="{$_url}settings/localisation-post">
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Timezone')}</label> <label class="col-md-2 control-label">{Lang::T('Timezone')}</label>

View File

@ -16,8 +16,8 @@
<label class="col-md-2 control-label">{Lang::T('Expired Notification Message')}</label> <label class="col-md-2 control-label">{Lang::T('Expired Notification Message')}</label>
<div class="col-md-6"> <div class="col-md-6">
<textarea class="form-control" id="expired" name="expired" <textarea class="form-control" id="expired" name="expired"
placeholder="Hello [[name]], your internet package [[package]] has been expired" placeholder="{Lang::T('Hello')} [[name]], {Lang::T('your internet package')} [[package]] {Lang::T('has been expired')}"
rows="4">{if $_json['expired']!=''}{Lang::htmlspecialchars($_json['expired'])}{else}Hello [[name]], your internet package [[package]] has been expired.{/if}</textarea> rows="4">{if $_json['expired']!=''}{Lang::htmlspecialchars($_json['expired'])}{else}{Lang::T('Hello')} [[name]], {Lang::T('your internet package')} [[package]] {Lang::T('has been expired')}.{/if}</textarea>
</div> </div>
<p class="help-block col-md-4"> <p class="help-block col-md-4">
<b>[[name]]</b> - {Lang::T('will be replaced with Customer Name')}.<br> <b>[[name]]</b> - {Lang::T('will be replaced with Customer Name')}.<br>
@ -84,7 +84,7 @@
<label class="col-md-2 control-label">{Lang::T('Invoice Notification Payment')}</label> <label class="col-md-2 control-label">{Lang::T('Invoice Notification Payment')}</label>
<div class="col-md-6"> <div class="col-md-6">
<textarea class="form-control" id="invoice_paid" name="invoice_paid" <textarea class="form-control" id="invoice_paid" name="invoice_paid"
placeholder="Hello [[name]], your internet package [[package]] has been expired" placeholder="{Lang::T('Hello')} [[name]], {Lang::T('your internet package')} [[package]] {Lang::T('has been expired')}"
rows="20">{Lang::htmlspecialchars($_json['invoice_paid'])}</textarea> rows="20">{Lang::htmlspecialchars($_json['invoice_paid'])}</textarea>
</div> </div>
<p class="col-md-4 help-block"> <p class="col-md-4 help-block">
@ -112,7 +112,7 @@
<label class="col-md-2 control-label">{Lang::T('Balance Notification Payment')}</label> <label class="col-md-2 control-label">{Lang::T('Balance Notification Payment')}</label>
<div class="col-md-6"> <div class="col-md-6">
<textarea class="form-control" id="invoice_balance" name="invoice_balance" <textarea class="form-control" id="invoice_balance" name="invoice_balance"
placeholder="Hello [[name]], your internet package [[package]] has been expired" placeholder="{Lang::T('Hello')} [[name]], {Lang::T('your internet package')} [[package]] {Lang::T('has been expired')}"
rows="20">{Lang::htmlspecialchars($_json['invoice_balance'])}</textarea> rows="20">{Lang::htmlspecialchars($_json['invoice_balance'])}</textarea>
</div> </div>
<p class="col-md-4 help-block"> <p class="col-md-4 help-block">

View File

@ -755,7 +755,7 @@
<button class="btn btn-primary btn-xs" title="save" type="submit"><span <button class="btn btn-primary btn-xs" title="save" type="submit"><span
class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button> class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span></button>
</div> </div>
Github Authentication Github {Lang::T('Authentication')}
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
@ -776,13 +776,13 @@
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'"> onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'">
</div> </div>
<span class="help-block col-md-4"><a href="https://github.com/settings/tokens/new" <span class="help-block col-md-4"><a href="https://github.com/settings/tokens/new"
target="_blank">Create GitHub personal access token (classic)</a>, only need repo target="_blank">{Lang::T('Create GitHub personal access token')} (classic)</a>, {Lang::T('only need repo
scope</span> scope')}</span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-offset-2 col-md-8" style="text-align: left;">This will allow <label class="control-label col-md-offset-2 col-md-8" style="text-align: left;">{Lang::T('This will allow
you to download you to download
plugin from private/paid repository</label> plugin from private/paid repository')}</label>
</div> </div>
</div> </div>
</div> </div>

View File

@ -10,10 +10,10 @@
<label class="col-md-2 control-label">{Lang::T('Status')}</label> <label class="col-md-2 control-label">{Lang::T('Status')}</label>
<div class="col-md-10"> <div class="col-md-10">
<label class="radio-inline warning"> <label class="radio-inline warning">
<input type="radio" checked name="enabled" value="1"> Enable <input type="radio" checked name="enabled" value="1"> {Lang::T('Enable')}
</label> </label>
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="enabled" value="0"> Disable <input type="radio" name="enabled" value="0"> {Lang::T('Disable')}
</label> </label>
</div> </div>
</div> </div>

View File

@ -11,10 +11,10 @@
<label class="col-md-2 control-label">{Lang::T('Status')}</label> <label class="col-md-2 control-label">{Lang::T('Status')}</label>
<div class="col-md-10"> <div class="col-md-10">
<label class="radio-inline warning"> <label class="radio-inline warning">
<input type="radio" checked name="enabled" value="1"> Enable <input type="radio" checked name="enabled" value="1"> {Lang::T('Enable')}
</label> </label>
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="enabled" value="0"> Disable <input type="radio" name="enabled" value="0"> {Lang::T('Disable')}
</label> </label>
</div> </div>
</div> </div>

View File

@ -57,8 +57,8 @@
</div> </div>
{include file="pagination.tpl"} {include file="pagination.tpl"}
<div class="bs-callout bs-callout-info" id="callout-navbar-role"> <div class="bs-callout bs-callout-info" id="callout-navbar-role">
<h4>Create Bandwitdh Plan for expired Internet Plan</h4> <h4>{Lang::T('Create Bandwitdh Plan for expired Internet Plan')}</h4>
<p>When customer expired, you can move it to Expired Internet Plan</p> <p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -28,7 +28,7 @@
<div class="form-group"> <div class="form-group">
<div class="col-lg-offset-2 col-lg-10"> <div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" type="submit">{Lang::T('Save Changes')}</button> <button class="btn btn-success" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}dashboard">{Lang::T('Cancel')}</a> {Lang::T('Or')} <a href="{$_url}dashboard">{Lang::T('Cancel')}</a>
</div> </div>
</div> </div>
</form> </form>

View File

@ -10,7 +10,7 @@
<div class="box box-hovered mb20 box-primary"> <div class="box box-hovered mb20 box-primary">
<div class="box-header"> <div class="box-header">
<h3 class="box-title">Contributors</h3> <h3 class="box-title">{Lang::T('Contributors')}</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
<a href="https://github.com/hotspotbilling/phpnuxbill/graphs/contributors" target="_blank"> <a href="https://github.com/hotspotbilling/phpnuxbill/graphs/contributors" target="_blank">
@ -22,29 +22,29 @@
<div class="col-sm-6"> <div class="col-sm-6">
<div class="box box-hovered mb20 box-primary"> <div class="box box-hovered mb20 box-primary">
<div class="box-header"> <div class="box-header">
<h3 class="box-title">Discussions</h3> <h3 class="box-title">{Lang::T('Discussions')}</h3>
</div> </div>
<div class="box-body">Get help from community</div> <div class="box-body">{Lang::T('Get help from community')}</div>
<div class="box-footer"> <div class="box-footer">
<div class="btn-group btn-group-justified" role="group" aria-label="..."> <div class="btn-group btn-group-justified" role="group" aria-label="...">
<a href="https://github.com/hotspotbilling/phpnuxbill/discussions" target="_blank" <a href="https://github.com/hotspotbilling/phpnuxbill/discussions" target="_blank"
class="btn btn-primary btn-sm btn-block"><i class="ion ion-chatboxes"></i> Github class="btn btn-primary btn-sm btn-block"><i class="ion ion-chatboxes"></i> {Lang::T('Github
Discussions</a> Discussions')}</a>
<a href="https://t.me/phpnuxbill" target="_blank" class="btn btn-primary btn-sm btn-block"><i <a href="https://t.me/phpnuxbill" target="_blank" class="btn btn-primary btn-sm btn-block"><i
class="ion ion-chatboxes"></i> Telegram Group</a> class="ion ion-chatboxes"></i> {Lang::T('Telegram Group')}</a>
</div> </div>
</div> </div>
</div> </div>
<div class="box box-hovered mb20 box-primary"> <div class="box box-hovered mb20 box-primary">
<div class="box-header"> <div class="box-header">
<h3 class="box-title">Feedback</h3> <h3 class="box-title">{Lang::T('')}Feedback</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
Feedback and Bug Report {Lang::T('Feedback and Bug Report')}
</div> </div>
<div class="box-footer"> <div class="box-footer">
<a href="https://github.com/hotspotbilling/phpnuxbill/issues" target="_blank" <a href="https://github.com/hotspotbilling/phpnuxbill/issues" target="_blank"
class="btn btn-primary btn-sm btn-block"><i class="ion ion-chatboxes"></i> Give Feedback</a> class="btn btn-primary btn-sm btn-block"><i class="ion ion-chatboxes"></i> {Lang::T('Give Feedback')}</a>
</div> </div>
</div> </div>
</div> </div>
@ -131,19 +131,19 @@
<div class="col-sm-6"> <div class="col-sm-6">
<div class="box box-hovered mb20 box-primary"> <div class="box box-hovered mb20 box-primary">
<div class="box-header"> <div class="box-header">
<h3 class="box-title">Chat with me</h3> <h3 class="box-title">{Lang::T('Chat with me')}</h3>
</div> </div>
<div class="box-body">$50 Paid Support<br>donation confirmation?<br>Or ask any Donation Alternative</div> <div class="box-body">{Lang::T('$50 Paid Support<br>donation confirmation?')}<br>{Lang::T('Or ask any Donation Alternative')}</div>
<div class="box-footer"> <div class="box-footer">
<a href="https://t.me/ibnux" target="_blank" class="btn btn-primary btn-sm btn-block">Telegram</a> <a href="https://t.me/ibnux" target="_blank" class="btn btn-primary btn-sm btn-block">Telegram</a>
</div> </div>
</div> </div>
<div class="box box-primary box-hovered mb20 activities"> <div class="box box-primary box-hovered mb20 activities">
<div class="box-header"> <div class="box-header">
<h3 class="box-title">Free WhatsApp Gateway and Telegram Bot creater</h3> <h3 class="box-title">{Lang::T('Free')} WhatsApp {Lang::T('Gateway and Telegram Bot creater')}</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
There is a Telegram bot wizard in here {Lang::T('There is a Telegram bot wizard in here')}
</div> </div>
<div class="box-footer"> <div class="box-footer">
<a href="https://wa.nux.my.id/login" target="_blank" <a href="https://wa.nux.my.id/login" target="_blank"
@ -157,33 +157,32 @@
<h3 class="box-title">PHPNUXBILL</h3> <h3 class="box-title">PHPNUXBILL</h3>
</div> </div>
<div class="box-body"> <div class="box-body">
<b>PHPNuxBill</b> is a billing Hotspot and PPPOE for Mikrotik using PHP and Mikrotik API to comunicate <b>PHPNuxBill</b> {Lang::T('is a billing Hotspot and PPPOE for Mikrotik using PHP and Mikrotik API to comunicate
with router. If you get more profit with this application, please donate us.<br>Watch project <a with router. If you get more profit with this application, please donate us.')}<br>{Lang::T('Watch project')} <a
href="https://github.com/hotspotbilling/phpnuxbill" target="_blank">in here</a> href="https://github.com/hotspotbilling/phpnuxbill" target="_blank">in here</a>
</div> </div>
<div class="box-footer" id="currentVersion">ver</div> <div class="box-footer" id="currentVersion">ver</div>
<div class="box-footer" id="latestVersion">ver</div> <div class="box-footer" id="latestVersion">ver</div>
<div class="box-footer"> <div class="box-footer">
<div class="btn-group btn-group-justified" role="group" aria-label="..."> <div class="btn-group btn-group-justified" role="group" aria-label="...">
<a href="./update.php" class="btn btn-success btn-sm btn-block">Install Latest Version</a> <a href="./update.php" class="btn btn-success btn-sm btn-block">{Lang::T('Install Latest Version')}</a>
<a href="https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip" target="_blank" <a href="https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip" target="_blank"
class="btn btn-warning btn-sm btn-block text-black">Download Latest Version</a> class="btn btn-warning btn-sm btn-block text-black">{Lang::T('Download Latest Version')}</a>
</div> </div>
<center><a href="{$_url}community/rollback" class="btn btn-link btn-sm btn-block">Select Old Version</a> <center><a href="{$_url}community/rollback" class="btn btn-link btn-sm btn-block">{Lang::T('Select Old Version')}</a>
</center> </center>
</div> </div>
<div class="box-footer"> <div class="box-footer">
<div class="btn-group btn-group-justified" role="group" aria-label="..."> <div class="btn-group btn-group-justified" role="group" aria-label="...">
<a href="./CHANGELOG.md" target="_blank" class="btn btn-default btn-sm btn-block">Current <a href="./CHANGELOG.md" target="_blank" class="btn btn-default btn-sm btn-block">{Lang::T('Current Changelog')}</a>
Changelog</a>
<a href="https://github.com/hotspotbilling/phpnuxbill/blob/master/CHANGELOG.md" target="_blank" <a href="https://github.com/hotspotbilling/phpnuxbill/blob/master/CHANGELOG.md" target="_blank"
class="btn btn-default btn-sm btn-block">Repo Changelog</a> class="btn btn-default btn-sm btn-block">{Lang::T('Repo Changelog')}</a>
</div> </div>
</div> </div>
<div class="box-footer"> <div class="box-footer">
If you Download manual the update file, sometime update change database, after uploading, click this {Lang::T('If you Download manual the update file, sometime update change database, after uploading, click this
button to update database structure. button to update database structure.')}
<a href="./update.php?step=4" class="btn btn-default btn-sm btn-block">Update Database</a> <a href="./update.php?step=4" class="btn btn-default btn-sm btn-block">{Lang::T('Update')} Database</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -70,7 +70,7 @@
<option value="Hotspot">Hotspot <option value="Hotspot">Hotspot
</option> </option>
<option value="PPPoE">PPPoE</option> <option value="PPPoE">PPPoE</option>
<option value="Others">Others</option> <option value="Others">{Lang::T('Others')}</option>
</select> </select>
</div> </div>
</div> </div>
@ -78,9 +78,9 @@
<label class="col-md-3 control-label">{Lang::T('Account Type')}</label> <label class="col-md-3 control-label">{Lang::T('Account Type')}</label>
<div class="col-md-9"> <div class="col-md-9">
<select class="form-control" id="account_type" name="account_type"> <select class="form-control" id="account_type" name="account_type">
<option value="Personal">Personal <option value="Personal">{Lang::T('Personal')}
</option> </option>
<option value="Business">Business</option> <option value="Business">{Lang::T('Business')}</option>
</select> </select>
</div> </div>
</div> </div>

View File

@ -164,7 +164,7 @@
</div> </div>
<label class="col-md-2"> <label class="col-md-2">
<input type="checkbox" name="delete_custom_fields[]" value="{$customField.field_name}"> <input type="checkbox" name="delete_custom_fields[]" value="{$customField.field_name}">
Delete {Lang::T('Delete')}
</label> </label>
</div> </div>
{/foreach} {/foreach}

View File

@ -100,8 +100,7 @@
<li class="list-group-item"> <li class="list-group-item">
<b>{Lang::T('Coordinates')}</b> <span class="pull-right"> <b>{Lang::T('Coordinates')}</b> <span class="pull-right">
<i class="glyphicon glyphicon-road"></i> <a style="color: black;" <i class="glyphicon glyphicon-road"></i> <a style="color: black;"
href="https://www.google.com/maps/dir//{$d['coordinates']}/" target="_blank">Get href="https://www.google.com/maps/dir//{$d['coordinates']}/" target="_blank">{Lang::T('Get Directions')}</a>
Directions</a>
</span> </span>
<div id="map" style="width: '100%'; height: 100px;"></div> <div id="map" style="width: '100%'; height: 100px;"></div>
</li> </li>