From 8bf5c71800b320fec6d1c7bed209c3180a945e80 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:01:00 +0700 Subject: [PATCH 01/11] Update radius-nas-add.tpl Update translation --- ui/ui/radius-nas-add.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/radius-nas-add.tpl b/ui/ui/radius-nas-add.tpl index 8f109d40..2215bf35 100644 --- a/ui/ui/radius-nas-add.tpl +++ b/ui/ui/radius-nas-add.tpl @@ -4,7 +4,7 @@
-
Radius - Add NAS
+
Radius - {Lang::T('Add NAS')}
@@ -34,7 +34,7 @@
- +
@@ -67,7 +67,7 @@ {/foreach}
-

Assign NAS to Router

+

{Lang::T('Assign NAS to Router')}

@@ -83,4 +83,4 @@
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 26d14794e2574a97cd518adb669e1896bdc2a0a5 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:03:34 +0700 Subject: [PATCH 02/11] Update radius-nas-edit.tpl Update translation --- ui/ui/radius-nas-edit.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/radius-nas-edit.tpl b/ui/ui/radius-nas-edit.tpl index 1f1416e8..1dbce21d 100644 --- a/ui/ui/radius-nas-edit.tpl +++ b/ui/ui/radius-nas-edit.tpl @@ -4,7 +4,7 @@
-
Radius - Edit NAS
+
Radius - {Lang::T('Edit NAS')}
@@ -34,7 +34,7 @@
- +
@@ -67,7 +67,7 @@ {/foreach}
-

Assign NAS to Router

+

{Lang::T('Assign NAS to Router')}

@@ -84,4 +84,4 @@
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 95620da151227b2573bfb0f29122dfb12495654b Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:05:41 +0700 Subject: [PATCH 03/11] Update radius-nas.tpl Update translation --- ui/ui/radius-nas.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/ui/radius-nas.tpl b/ui/ui/radius-nas.tpl index 2cdee539..6812017b 100644 --- a/ui/ui/radius-nas.tpl +++ b/ui/ui/radius-nas.tpl @@ -24,16 +24,16 @@
New NAS + class="ion ion-android-add"> {Lang::T('New NAS')}
 
- + - + @@ -67,11 +67,11 @@ {include file="pagination.tpl"}

RADIUS REST

-

For Radius REST, you don't need to add NAS, NAS need to add to client.conf manually

+

{Lang::T('For Radius REST, you don't need to add NAS, NAS need to add to client.conf manually')}

-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From b0b687dd38b138a3b5a4c20821f4f8882b41733f Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:07:18 +0700 Subject: [PATCH 04/11] Update recharge.tpl Update translation --- ui/ui/recharge.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/ui/recharge.tpl b/ui/ui/recharge.tpl index ee767c7b..1e0e441f 100644 --- a/ui/ui/recharge.tpl +++ b/ui/ui/recharge.tpl @@ -54,7 +54,7 @@ -

Postpaid Recharge for the first time use {$_c['currency_code']} 0

+

{Lang::T('Postpaid Recharge for the first time use')} {$_c['currency_code']} 0

@@ -69,4 +69,4 @@
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 505bb1dd71b6a2af4cbf252e9734a8b058ce226d Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:08:11 +0700 Subject: [PATCH 05/11] Update recharge.tpl Update translation --- ui/ui/recharge.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui/recharge.tpl b/ui/ui/recharge.tpl index 1e0e441f..b896ab50 100644 --- a/ui/ui/recharge.tpl +++ b/ui/ui/recharge.tpl @@ -60,7 +60,7 @@
- Or {Lang::T('Cancel')} + {Lang::T('Or')} {Lang::T('Cancel')}
From c4281f1d548e12e4f055906066005b9fcf71babc Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:09:22 +0700 Subject: [PATCH 06/11] Update reports-activation.tpl Update translation --- ui/ui/reports-activation.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/ui/reports-activation.tpl b/ui/ui/reports-activation.tpl index 0f57b49a..2845f27e 100644 --- a/ui/ui/reports-activation.tpl +++ b/ui/ui/reports-activation.tpl @@ -4,7 +4,7 @@
- Activity Log + {Lang::T('Activity Log')}
@@ -67,4 +67,4 @@
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From e21b766a7a9ed0773a1caa50fb58f958e08a102a Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:15:27 +0700 Subject: [PATCH 07/11] Update reports.tpl Update translation --- ui/ui/reports.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/ui/reports.tpl b/ui/ui/reports.tpl index fbc88bc0..21a39b9f 100644 --- a/ui/ui/reports.tpl +++ b/ui/ui/reports.tpl @@ -11,7 +11,7 @@

@@ -73,7 +73,7 @@
-

{Lang::dateFormat($sd)} - {Lang::dateFormat($ed)} Max 30 days

+

{Lang::dateFormat($sd)} - {Lang::dateFormat($ed)} {Lang::T('Max 30 days')}

From d152124eea18b63778e7b33098c9635d5b90f46f Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:29:55 +0700 Subject: [PATCH 08/11] Update router-error.tpl Update translation --- ui/ui/router-error.tpl | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/ui/ui/router-error.tpl b/ui/ui/router-error.tpl index 44321cd5..81a8f2ca 100644 --- a/ui/ui/router-error.tpl +++ b/ui/ui/router-error.tpl @@ -49,29 +49,28 @@
Mikrotik troubleshooting:
    -
  • Make sure you use API Port, Default 8728
  • -
  • Make sure Username and Password are correct
  • -
  • Make sure your hosting not blocking port to external
  • -
  • Make sure your Mikrotik accessible from PHPNuxBill
  • +
  • {Lang::T('Make sure you use API Port, Default 8728')}
  • +
  • {Lang::T('Make sure Username and Password are correct')}
  • +
  • {Lang::T('Make sure your hosting not blocking port to external')}
  • +
  • {Lang::T('Make sure your Mikrotik accessible from PHPNuxBill')}
- If you just update PHPNuxBill from upload files, try click Update Database + {Lang::T('If you just update PHPNuxBill from upload files, try click Update')} Database
@@ -83,4 +82,4 @@ - \ No newline at end of file + From f0f9daf72a540134e59db876e1a3c59233f2a8c0 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:35:13 +0700 Subject: [PATCH 09/11] Update routers-add.tpl Update translation --- ui/ui/routers-add.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/routers-add.tpl b/ui/ui/routers-add.tpl index 186588f1..5fab1556 100644 --- a/ui/ui/routers-add.tpl +++ b/ui/ui/routers-add.tpl @@ -12,10 +12,10 @@
@@ -56,7 +56,7 @@
- +
@@ -73,4 +73,4 @@
-{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From 803c85c6f4b73e4d84d5f7a2d23bdb6d79929b20 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:36:16 +0700 Subject: [PATCH 10/11] Update routers-edit.tpl Update translation --- ui/ui/routers-edit.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/ui/routers-edit.tpl b/ui/ui/routers-edit.tpl index df2ffba2..52e9c97c 100644 --- a/ui/ui/routers-edit.tpl +++ b/ui/ui/routers-edit.tpl @@ -12,11 +12,11 @@
@@ -148,4 +148,4 @@ } {/literal} -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"} From e15faf605d1ceee136cca3508f61362320435420 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:40:29 +0700 Subject: [PATCH 11/11] Update routers.tpl Update translation --- ui/ui/routers.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/ui/routers.tpl b/ui/ui/routers.tpl index 53c2dd4d..526c4446 100644 --- a/ui/ui/routers.tpl +++ b/ui/ui/routers.tpl @@ -58,7 +58,7 @@ - +
Name{Lang::T('Name')} IPType{Lang::T('Type')} Port Server Community {$ds['ip_address']} {$ds['username']} {$ds['description']}{if $ds['enabled'] == 1}Enabled{else}Disabled{/if}{if $ds['enabled'] == 1}{Lang::T('Enabled')}{else}{Lang::T('Disabled')}{/if} {Lang::T('Edit')} @@ -78,4 +78,4 @@ -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"}