From 70eea6dd37b40766ed7b89c88e0d9c68eeab0c84 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:54:52 +0700 Subject: [PATCH 1/2] Update translate --- ui/ui/app-localisation.tpl | 10 ++++++-- ui/ui/app-notifications.tpl | 8 +++---- ui/ui/app-settings.tpl | 10 ++++---- ui/ui/balance-add.tpl | 4 ++-- ui/ui/balance-edit.tpl | 4 ++-- ui/ui/bandwidth.tpl | 4 ++-- ui/ui/change-password.tpl | 2 +- ui/ui/community.tpl | 47 ++++++++++++++++++------------------- ui/ui/customers-add.tpl | 6 ++--- ui/ui/customers-edit.tpl | 2 +- ui/ui/customers-view.tpl | 3 +-- 11 files changed, 52 insertions(+), 48 deletions(-) diff --git a/ui/ui/app-localisation.tpl b/ui/ui/app-localisation.tpl index 44335e18..e16e70f5 100644 --- a/ui/ui/app-localisation.tpl +++ b/ui/ui/app-localisation.tpl @@ -3,9 +3,15 @@
-
{Lang::T('Localisation')}
+
+
+ +
+ {Lang::T('Localisation')} +
+
-
diff --git a/ui/ui/app-notifications.tpl b/ui/ui/app-notifications.tpl index 94e9e299..7dc158f9 100644 --- a/ui/ui/app-notifications.tpl +++ b/ui/ui/app-notifications.tpl @@ -16,8 +16,8 @@
+ 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}{Lang::T('Hello')} [[name]], {Lang::T('your internet package')} [[package]] {Lang::T('has been expired')}.{/if}

[[name]] - {Lang::T('will be replaced with Customer Name')}.
@@ -84,7 +84,7 @@

@@ -112,7 +112,7 @@

diff --git a/ui/ui/app-settings.tpl b/ui/ui/app-settings.tpl index 55b9af70..fc756631 100644 --- a/ui/ui/app-settings.tpl +++ b/ui/ui/app-settings.tpl @@ -755,7 +755,7 @@

- Github Authentication + Github {Lang::T('Authentication')}
@@ -776,13 +776,13 @@ onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'">
Create GitHub personal access token (classic), only need repo - scope + target="_blank">{Lang::T('Create GitHub personal access token')} (classic), {Lang::T('only need repo + scope')}
-
diff --git a/ui/ui/balance-add.tpl b/ui/ui/balance-add.tpl index d74efbfb..828c1d1f 100644 --- a/ui/ui/balance-add.tpl +++ b/ui/ui/balance-add.tpl @@ -10,10 +10,10 @@
diff --git a/ui/ui/balance-edit.tpl b/ui/ui/balance-edit.tpl index a8bc0ecf..2603f61c 100644 --- a/ui/ui/balance-edit.tpl +++ b/ui/ui/balance-edit.tpl @@ -11,10 +11,10 @@
diff --git a/ui/ui/bandwidth.tpl b/ui/ui/bandwidth.tpl index 078ed15a..0647747e 100644 --- a/ui/ui/bandwidth.tpl +++ b/ui/ui/bandwidth.tpl @@ -57,8 +57,8 @@ {include file="pagination.tpl"}
-

Create Bandwitdh Plan for expired Internet Plan

-

When customer expired, you can move it to Expired Internet Plan

+

{Lang::T('Create Bandwitdh Plan for expired Internet Plan')}

+

{Lang::T('When customer expired, you can move it to Expired Internet Plan')}

diff --git a/ui/ui/change-password.tpl b/ui/ui/change-password.tpl index e8e630aa..0257496e 100644 --- a/ui/ui/change-password.tpl +++ b/ui/ui/change-password.tpl @@ -28,7 +28,7 @@
- Or {Lang::T('Cancel')} + {Lang::T('Or')} {Lang::T('Cancel')}
diff --git a/ui/ui/community.tpl b/ui/ui/community.tpl index 4f96379d..f582b15e 100644 --- a/ui/ui/community.tpl +++ b/ui/ui/community.tpl @@ -10,7 +10,7 @@
-

Contributors

+

{Lang::T('Contributors')}

@@ -22,29 +22,29 @@
-

Discussions

+

{Lang::T('Discussions')}

-
Get help from community
+
{Lang::T('Get help from community')}
-

Feedback

+

{Lang::T('')}Feedback

- Feedback and Bug Report + {Lang::T('Feedback and Bug Report')}
@@ -131,19 +131,19 @@
-

Chat with me

+

{Lang::T('Chat with me')}

-
$50 Paid Support
donation confirmation?
Or ask any Donation Alternative
+
{Lang::T('$50 Paid Support
donation confirmation?')}
{Lang::T('Or ask any Donation Alternative')}
-

Free WhatsApp Gateway and Telegram Bot creater

+

{Lang::T('Free')} WhatsApp {Lang::T('Gateway and Telegram Bot creater')}

- There is a Telegram bot wizard in here + {Lang::T('There is a Telegram bot wizard in here')}
diff --git a/ui/ui/customers-add.tpl b/ui/ui/customers-add.tpl index e3b97517..1b0a97b6 100644 --- a/ui/ui/customers-add.tpl +++ b/ui/ui/customers-add.tpl @@ -70,7 +70,7 @@ - +
@@ -78,9 +78,9 @@
diff --git a/ui/ui/customers-edit.tpl b/ui/ui/customers-edit.tpl index 463a9564..2941898e 100644 --- a/ui/ui/customers-edit.tpl +++ b/ui/ui/customers-edit.tpl @@ -164,7 +164,7 @@ {/foreach} diff --git a/ui/ui/customers-view.tpl b/ui/ui/customers-view.tpl index 77f9632a..f1840ca9 100644 --- a/ui/ui/customers-view.tpl +++ b/ui/ui/customers-view.tpl @@ -100,8 +100,7 @@
  • {Lang::T('Coordinates')} Get - Directions + href="https://www.google.com/maps/dir//{$d['coordinates']}/" target="_blank">{Lang::T('Get Directions')}
  • From d496d89f959c26cb0110fbd4e0f7beaaf4ae54a6 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:19:01 +0700 Subject: [PATCH 2/2] Update community.tpl --- ui/ui/community.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/ui/community.tpl b/ui/ui/community.tpl index f582b15e..894c49ee 100644 --- a/ui/ui/community.tpl +++ b/ui/ui/community.tpl @@ -133,14 +133,14 @@

    {Lang::T('Chat with me')}

    -
    {Lang::T('$50 Paid Support
    donation confirmation?')}
    {Lang::T('Or ask any Donation Alternative')}
    +
    {Lang::T('$50 Paid Support')}
    {Lang::T('donation confirmation?')}
    {Lang::T('Or ask any Donation Alternative')}
    -

    {Lang::T('Free')} WhatsApp {Lang::T('Gateway and Telegram Bot creater')}

    +

    {Lang::T('Free WhatsApp Gateway and Telegram Bot creater')}

    {Lang::T('There is a Telegram bot wizard in here')} @@ -159,7 +159,7 @@
    PHPNuxBill {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.')}
    {Lang::T('Watch project')} in here + href="https://github.com/hotspotbilling/phpnuxbill" target="_blank">{Lang::T('in here')}
    @@ -182,7 +182,7 @@
    @@ -199,4 +199,4 @@ }); }); -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"}