From 5ae4dde522312efa2773b964ac65e515dfb9db93 Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 19:23:14 +0700
Subject: [PATCH 01/16] Update hotspot-edit.tpl
---
ui/ui/hotspot-edit.tpl | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/ui/ui/hotspot-edit.tpl b/ui/ui/hotspot-edit.tpl
index 75de4635..1100e4aa 100644
--- a/ui/ui/hotspot-edit.tpl
+++ b/ui/ui/hotspot-edit.tpl
@@ -15,8 +15,8 @@
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?
- Enable
- Disable
+ {Lang::T('Enable')}
+ {Lang::T('Disable')}
{if $_c['radius_enable'] and $d['is_radius']}
@@ -234,7 +234,7 @@
-{include file="user-ui/footer.tpl"}
\ No newline at end of file
+{include file="user-ui/footer.tpl"}
From e4c8be2c16c2a50fa30726bb73e07040d035510e Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 19:35:07 +0700
Subject: [PATCH 03/16] Update orderPlan.tpl
---
ui/ui/user-ui/orderPlan.tpl | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/ui/ui/user-ui/orderPlan.tpl b/ui/ui/user-ui/orderPlan.tpl
index 74dda812..bb435c1c 100644
--- a/ui/ui/user-ui/orderPlan.tpl
+++ b/ui/ui/user-ui/orderPlan.tpl
@@ -39,7 +39,7 @@
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
Buy
+ class="btn btn-sm btn-block btn-warning text-black">{Lang::T('Buy')}
{if $_c['enable_balance'] == 'yes' && $_user['balance']>=$plan['price']}
-{include file="user-ui/footer.tpl"}
\ No newline at end of file
+{include file="user-ui/footer.tpl"}
From 49f3c1a1419cfe45c7e7a3734c17a98b48dd8b2c Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 19:40:17 +0700
Subject: [PATCH 04/16] Update selectGateway.tpl
---
ui/ui/user-ui/selectGateway.tpl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/ui/user-ui/selectGateway.tpl b/ui/ui/user-ui/selectGateway.tpl
index 621fdb24..aa61a529 100644
--- a/ui/ui/user-ui/selectGateway.tpl
+++ b/ui/ui/user-ui/selectGateway.tpl
@@ -15,7 +15,7 @@
@@ -66,4 +66,4 @@
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}
From d0b60d5e7d482326728850b3a48fd2f16638025f Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 19:48:29 +0700
Subject: [PATCH 06/16] Update logs.tpl
---
ui/ui/logs.tpl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/ui/logs.tpl b/ui/ui/logs.tpl
index c43864db..3aba4804 100644
--- a/ui/ui/logs.tpl
+++ b/ui/ui/logs.tpl
@@ -32,12 +32,12 @@
@@ -63,4 +63,4 @@
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}
From c41fe7435fdddf21f63adb57dbe0c82f9edc494e Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 19:54:22 +0700
Subject: [PATCH 07/16] Update message-bulk.tpl
---
ui/ui/message-bulk.tpl | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/ui/ui/message-bulk.tpl b/ui/ui/message-bulk.tpl
index e28230ce..3dc59c12 100644
--- a/ui/ui/message-bulk.tpl
+++ b/ui/ui/message-bulk.tpl
@@ -90,24 +90,24 @@
{if $batchStatus}
-Total SMS Sent: {$totalSMSSent} Total SMS
- Failed: {$totalSMSFailed} Total WhatsApp Sent:
- {$totalWhatsappSent} Total WhatsApp Failed:
+{Lang::T('Total SMS Sent')}: {$totalSMSSent} {Lang::T('Total SMS
+ Failed')}: {$totalSMSFailed} {Lang::T('Total WhatsApp Sent')}:
+ {$totalWhatsappSent} {Lang::T('Total WhatsApp Failed')}:
{$totalWhatsappFailed}
{/if}
- Name |
- Phone |
- Message |
- Status |
+ {Lang::T('Name')} |
+ {Lang::T('Phone')} |
+ {Lang::T('Message')} |
+ {Lang::T('Status')} |
@@ -139,4 +139,4 @@
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}
From 1d4eff11baeac8d21660dbf8130fbd0a9233c3fd Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 19:58:09 +0700
Subject: [PATCH 08/16] Update paymentgateway-audit-view.tpl
---
ui/ui/paymentgateway-audit-view.tpl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/ui/paymentgateway-audit-view.tpl b/ui/ui/paymentgateway-audit-view.tpl
index a72838a7..77bfd923 100644
--- a/ui/ui/paymentgateway-audit-view.tpl
+++ b/ui/ui/paymentgateway-audit-view.tpl
@@ -10,7 +10,7 @@
-
- TRX ID {$pg['id']}
+ {Lang::T('TRX ID')} {$pg['id']}
-
{Lang::T('Invoice')}
@@ -65,7 +65,7 @@
- Response when request payment
+ {Lang::T('Response when request payment')}
@@ -80,7 +80,7 @@
- Response when payment PAID
+ {Lang::T('Response when payment PAID')}
@@ -94,4 +94,4 @@
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}
From 34ea48fd7d3bce17df3af7409d9c77e7d13df3a8 Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 20:00:19 +0700
Subject: [PATCH 09/16] Update paymentgateway-audit.tpl
---
ui/ui/paymentgateway-audit.tpl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ui/ui/paymentgateway-audit.tpl b/ui/ui/paymentgateway-audit.tpl
index e10de7d3..08d49722 100644
--- a/ui/ui/paymentgateway-audit.tpl
+++ b/ui/ui/paymentgateway-audit.tpl
@@ -17,8 +17,8 @@
- TRX ID |
- PG ID |
+ {Lang::T('TRX ID')} |
+ {Lang::T('PG ID')} |
{Lang::T('Username')} |
{Lang::T('Plan Name')} |
{Lang::T('Routers')} |
@@ -46,7 +46,7 @@
{if $pg['pg_url_payment']}
open
+ rel="noopener noreferrer">{Lang::T('open')}
{/if}
|
{$pg['payment_method']} - {$pg['payment_channel']} |
@@ -63,8 +63,8 @@
{include file="pagination.tpl"}
- kembali
+ {Lang::T('back')}
-{include file="sections/footer.tpl"}
\ No newline at end of file
+{include file="sections/footer.tpl"}
From ee7aa609796d3d8f0b40860df4d537b5bac083fc Mon Sep 17 00:00:00 2001
From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com>
Date: Tue, 20 Aug 2024 20:08:05 +0700
Subject: [PATCH 10/16] Update plugin-manager.tpl
---
ui/ui/plugin-manager.tpl | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/ui/ui/plugin-manager.tpl b/ui/ui/plugin-manager.tpl
index 3a3e20d5..4a4f48c9 100644
--- a/ui/ui/plugin-manager.tpl
+++ b/ui/ui/plugin-manager.tpl
@@ -1,8 +1,8 @@
{include file="sections/header.tpl"}
{if empty($_c['github_token'])}
- To download from private/paid repository, Set
- your Github Authentication first
+ {Lang::T('To download from private/paid repository')},
+ {Lang::T('Set your Github Authentication first')}
{/if}