Auto Translate Language

This commit is contained in:
Ibnu Maksum
2024-02-13 13:54:01 +07:00
parent e9f5d56f91
commit 3c9b05468e
116 changed files with 2549 additions and 2571 deletions

View File

@ -6,7 +6,7 @@
**/
_admin();
$ui->assign('_title', $_L['Reports']);
$ui->assign('_title', Lang::T('Reports'));
$ui->assign('_sysfrm_menu', 'reports');
$action = $routes['1'];
@ -75,21 +75,21 @@ switch ($action) {
<div id="address">
<h3>' . $config['CompanyName'] . '</h3>
' . $config['address'] . '<br>
' . $_L['Phone_Number'] . ': ' . $config['phone'] . '<br>
' . Lang::T('Phone Number') . ': ' . $config['phone'] . '<br>
</div>
<div id="logo"><img id="image" src="'.$logo.'" alt="logo" /></div>
</div>
<div id="header">' . $_L['All_Transactions_at_Date'] . ': ' . date($config['date_format'], strtotime($mdate)) . '</div>
<div id="header">' . Lang::T('All Transactions at Date') . ': ' . date($config['date_format'], strtotime($mdate)) . '</div>
<table id="customers">
<tr>
<th>' . $_L['Username'] . '</th>
<th>' . $_L['Plan_Name'] . '</th>
<th>' . $_L['Type'] . '</th>
<th>' . $_L['Plan_Price'] . '</th>
<th>' . $_L['Created_On'] . '</th>
<th>' . $_L['Expires_On'] . '</th>
<th>' . $_L['Method'] . '</th>
<th>' . $_L['Routers'] . '</th>
<th>' . Lang::T('Username') . '</th>
<th>' . Lang::T('Plan Name') . '</th>
<th>' . Lang::T('Type') . '</th>
<th>' . Lang::T('Plan Price') . '</th>
<th>' . Lang::T('Created On') . '</th>
<th>' . Lang::T('Expires On') . '</th>
<th>' . Lang::T('Method') . '</th>
<th>' . Lang::T('Routers') . '</th>
</tr>';
$c = true;
foreach ($x as $value) {
@ -116,7 +116,7 @@ switch ($action) {
</tr>";
}
$html .= '</table>
<h4 class="text-uppercase text-bold">' . $_L['Total_Income'] . ':</h4>
<h4 class="text-uppercase text-bold">' . Lang::T('Total Income') . ':</h4>
<h3 class="sum">' . $config['currency_code'] . ' ' . number_format($xy, 2, $config['dec_point'], $config['thousands_sep']) . '</h3>';
run_hook('print_pdf_by_date'); #HOOK
@ -247,21 +247,21 @@ EOF;
<div id="address">
<h3>' . $config['CompanyName'] . '</h3>
' . $config['address'] . '<br>
' . $_L['Phone_Number'] . ': ' . $config['phone'] . '<br>
' . Lang::T('Phone Number') . ': ' . $config['phone'] . '<br>
</div>
<div id="logo"><img id="image" src="'.$logo.'" alt="logo" /></div>
</div>
<div id="header">' . $_L['All_Transactions_at_Date'] . ': ' . date($config['date_format'], strtotime($fdate)) . ' - ' . date($config['date_format'], strtotime($tdate)) . '</div>
<div id="header">' . Lang::T('All Transactions at Date') . ': ' . date($config['date_format'], strtotime($fdate)) . ' - ' . date($config['date_format'], strtotime($tdate)) . '</div>
<table id="customers">
<tr>
<th>' . $_L['Username'] . '</th>
<th>' . $_L['Plan_Name'] . '</th>
<th>' . $_L['Type'] . '</th>
<th>' . $_L['Plan_Price'] . '</th>
<th>' . $_L['Created_On'] . '</th>
<th>' . $_L['Expires_On'] . '</th>
<th>' . $_L['Method'] . '</th>
<th>' . $_L['Routers'] . '</th>
<th>' . Lang::T('Username') . '</th>
<th>' . Lang::T('Plan Name') . '</th>
<th>' . Lang::T('Type') . '</th>
<th>' . Lang::T('Plan Price') . '</th>
<th>' . Lang::T('Created On') . '</th>
<th>' . Lang::T('Expires On') . '</th>
<th>' . Lang::T('Method') . '</th>
<th>' . Lang::T('Routers') . '</th>
</tr>';
$c = true;
foreach ($x as $value) {
@ -288,7 +288,7 @@ EOF;
</tr>";
}
$html .= '</table>
<h4 class="text-uppercase text-bold">' . $_L['Total_Income'] . ':</h4>
<h4 class="text-uppercase text-bold">' . Lang::T('Total Income') . ':</h4>
<h3 class="sum">' . $config['currency_code'] . ' ' . number_format($xy, 2, $config['dec_point'], $config['thousands_sep']) . '</h3>';
run_hook('pdf_by_period'); #HOOK