Skip to content

Commit 6e182dd

Browse files
committed
improvement to language
1 parent 0738ed9 commit 6e182dd

9 files changed

+77
-77
lines changed

Resources/views/access-buyform.blade.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="text-center shadow-xl rounded-md bg-white sm:mr-2 m-1 pt-5 p-2 ">
1414

1515
<h3 class="pt-3 text-xl font-semibold leading-6 text-green-700 dark:text-white text-center">
16-
{{ __('isp-access-buyform-phone-label') }}
16+
{{ ___('isp-access-buyform-phone-label') }}
1717
</h3>
1818

1919
<div class="bg-white mb-4 text-center">
@@ -26,7 +26,7 @@ class="shadow appearance-none border rounded w-full py-2 text-gray-700 leading-t
2626

2727
<button
2828
class="inline-block px-6 py-2.5 bg-blue-500 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">
29-
{{ __('isp-access-buyform-button-label') }}
29+
{{ ___('isp-access-buyform-button-label') }}
3030
</button>
3131
</div>
3232
</div>
@@ -45,7 +45,7 @@ class="inline-block px-6 py-2.5 bg-blue-500 text-white font-medium text-xs leadi
4545
<div class="w-full max-w-xs login-card">
4646

4747
<p class="text-center text-gray-500 text-xs">
48-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
48+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
4949
</p>
5050
</div>
5151
</div>

Resources/views/access-canceled.blade.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
<i class="far fa-times-circle text-5xl text-red-700"></i>
1212

1313
<h3 class="pt-3 text-2xl font-semibold leading-6 text-red-700 dark:text-white text-center">
14-
- {{ __('isp-access-canceled-title') }} -
14+
- {{ ___('isp-access-canceled-title') }} -
1515
</h3>
1616

1717
<div class="bg-white mb-4 text-center">
1818

1919
<p style="text-align:center; padding:20px;">
20-
{{ __('isp-access-canceled-instructions') }}
20+
{{ ___('isp-access-canceled-instructions') }}
2121
</p>
2222

2323
<a id='package' href="{{ url(route('isp_profile')) }}"
2424
class="inline-block px-6 py-2.5 bg-red-700 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">
25-
{{ __('isp-access-canceled-button') }}
25+
{{ ___('isp-access-canceled-button') }}
2626
</a>
2727

2828
</div>
@@ -40,7 +40,7 @@ class="inline-block px-6 py-2.5 bg-red-700 text-white font-medium text-xs leadin
4040
<div class="w-full max-w-xs login-card">
4141

4242
<p class="text-center text-gray-500 text-xs">
43-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
43+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
4444
</p>
4545
</div>
4646
</div>

Resources/views/access-dashboard.blade.php

+39-39
Large diffs are not rendered by default.

Resources/views/access-error.blade.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
<i class="far fa-times-circle text-5xl text-red-700"></i>
1212

1313
<h3 class="pt-3 text-2xl font-semibold leading-6 text-red-700 dark:text-white text-center">
14-
{{ __('isp-access-error-title') }}: <br><br><span class="text-lg"> {{ $message }}</span>
14+
{{ ___('isp-access-error-title') }}: <br><br><span class="text-lg"> {{ $message }}</span>
1515
</h3>
1616

1717
<div class="bg-white mb-4 text-center">
1818

1919
<p style="text-align:center; padding:20px;">
20-
{{ __('isp-access-error-instruction') }}
20+
{{ ___('isp-access-error-instruction') }}
2121
</p>
2222

2323
<a id='package' href="{{ url(route('isp_profile')) }}"
2424
class="inline-block px-6 py-2.5 bg-red-700 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">
25-
{{ __('isp-access-error-button') }}
25+
{{ ___('isp-access-error-button') }}
2626
</a>
2727

2828
</div>
@@ -40,7 +40,7 @@ class="inline-block px-6 py-2.5 bg-red-700 text-white font-medium text-xs leadin
4040
<div class="w-full max-w-xs login-card">
4141

4242
<p class="text-center text-gray-500 text-xs">
43-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
43+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
4444
</p>
4545
</div>
4646
</div>

Resources/views/access-login.blade.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="text-center shadow-xl rounded-md bg-white sm:mr-2 m-1 pt-3 p-2 ">
1414

1515
<h3 class="pt-3 text-xl font-semibold leading-6 text-green-700 dark:text-white text-center">
16-
{{ __('isp-access-login-title') }}
16+
{{ ___('isp-access-login-title') }}
1717

1818
</h3>
1919

@@ -26,7 +26,7 @@
2626
<div class="bg-white mb-3 text-left">
2727
<div class="my-3 md:flex md:items-center">
2828
<div class="md:w-1/3">
29-
<b class="block md:text-right">{{ __('isp-access-login-username') }} :</b>
29+
<b class="block md:text-right">{{ ___('isp-access-login-username') }} :</b>
3030
</div>
3131
<div class="md:w-2/3">
3232
<input
@@ -37,7 +37,7 @@ class="shadow appearance-none border rounded w-full py-2 px-1 text-gray-700 lead
3737
</div>
3838
<div class="my-3 md:flex md:items-center">
3939
<div class="md:w-1/3">
40-
<b class="block md:text-right">{{ __('isp-access-login-phone') }} :</b>
40+
<b class="block md:text-right">{{ ___('isp-access-login-phone') }} :</b>
4141
</div>
4242
<div class="md:w-2/3">
4343
<input
@@ -51,7 +51,7 @@ class="shadow appearance-none border rounded w-full py-2 text-gray-700 leading-t
5151
<div class="my-3">
5252
<button
5353
class="inline-block px-6 py-2.5 bg-blue-500 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">
54-
{{ __('isp-access-login-button') }}
54+
{{ ___('isp-access-login-button') }}
5555
</button>
5656
</div>
5757

@@ -73,7 +73,7 @@ class="inline-block px-6 py-2.5 bg-blue-500 text-white font-medium text-xs leadi
7373
<div class="w-full max-w-xs login-card">
7474

7575
<p class="text-center text-gray-500 text-xs">
76-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
76+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
7777
</p>
7878
</div>
7979
</div>

Resources/views/access-mikrotik-login.blade.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class=" shadow-xl rounded-md bg-white sm:mr-2 m-1 pt-2 p-2">
1010

1111
<h3 class="text-2xl font-semibold leading-6 text-gray-800 dark:text-white text-center pt-2">
12-
- {{ __('isp-access-mikrotik-login-title') }} -
12+
- {{ ___('isp-access-mikrotik-login-title') }} -
1313
</h3>
1414

1515
<div class="bg-white mb-4">
@@ -18,7 +18,7 @@
1818

1919
<div class="text-center text-green-400">
2020
<p class="pt-4">
21-
{{ __('isp-access-mikrotik-login-wait') }}
21+
{{ ___('isp-access-mikrotik-login-wait') }}
2222
</p>
2323

2424
<div class="fa-3x">
@@ -37,7 +37,7 @@
3737
<p style="text-align:center;" class="p-1">
3838
<button id='register' type="submit" name="view" value="register"
3939
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
40-
{{ __('isp-access-mikrotik-login-button') }}
40+
{{ ___('isp-access-mikrotik-login-button') }}
4141
</button>
4242
</p>
4343
</form>
@@ -58,7 +58,7 @@ class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focu
5858
<div class="w-full max-w-xs login-card">
5959

6060
<p class="text-center text-gray-500 text-xs">
61-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
61+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
6262
</p>
6363
</div>
6464
</div>

Resources/views/access-register.blade.php

+13-13
Original file line numberDiff line numberDiff line change
@@ -6,65 +6,65 @@
66
<div class="relative overflow-hidden mb-8">
77
<div class="overflow-hidden px-3 py-10 flex justify-center">
88
<div class="w-full max-w-xs login-card">
9-
<h3 style="text-align: center"> - {{ __('isp-access-register-title') }} - </h3>
9+
<h3 style="text-align: center"> - {{ ___('isp-access-register-title') }} - </h3>
1010
<div class="bg-white">
1111
<div class="mb-4">
1212
<label class="block text-gray-700 text-sm font-bold mb-2" for="name">
13-
{{ __('isp-access-register-name') }}
13+
{{ ___('isp-access-register-name') }}
1414
</label>
1515
<input
1616
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
1717
id="name" name="name" type="text"
18-
placeholder="{{ __('isp-access-register-name') }}" required>
18+
placeholder="{{ ___('isp-access-register-name') }}" required>
1919
</div>
2020
<div class="mb-4">
2121
<label class="block text-gray-700 text-sm font-bold mb-2" for="username">
22-
{{ __('isp-access-register-username') }}
22+
{{ ___('isp-access-register-username') }}
2323
</label>
2424
<input
2525
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
2626
id="username" name="username" type="text"
27-
placeholder="{{ __('isp-access-register-username') }}" required>
27+
placeholder="{{ ___('isp-access-register-username') }}" required>
2828
</div>
2929
<div class="mb-4">
3030
<label class="block text-gray-700 text-sm font-bold mb-2" for="password">
3131

32-
{{ __('isp-access-register-password') }}
32+
{{ ___('isp-access-register-password') }}
3333
</label>
3434
<input
3535
class="shadow appearance-none border border-red-500 rounded w-full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:shadow-outline"
3636
id="password" name="password" type="password" placeholder="******************" required>
37-
<p class="text-red-500 text-xs italic">{{ __('isp-access-register-password-label') }}</p>
37+
<p class="text-red-500 text-xs italic">{{ ___('isp-access-register-password-label') }}</p>
3838
</div>
3939

4040
<div class="mb-4">
4141
<label class="block text-gray-700 text-sm font-bold mb-2" for="phone">
42-
{{ __('isp-access-register-phone') }}
42+
{{ ___('isp-access-register-phone') }}
4343
</label>
4444
<input id="phone" name="phone" type="tel" placeholder="722-xxx-xxx"
4545
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline">
4646
</div>
4747

4848
<div class="mb-4">
4949
<label class="block text-gray-700 text-sm font-bold mb-2" for="email">
50-
{{ __('isp-access-register-email') }}
50+
{{ ___('isp-access-register-email') }}
5151
</label>
5252
<input
5353
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
5454
id="email" name="email" type="email"
55-
placeholder="{{ __('isp-access-register-email') }}">
55+
placeholder="{{ ___('isp-access-register-email') }}">
5656
</div>
5757

5858
<div class="flex items-center justify-between">
5959
<button
6060
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
6161
type="submit" name="view" value="submit-register">
62-
{{ __('isp-access-register-button') }}
62+
{{ ___('isp-access-register-button') }}
6363
</button>
6464
<button
6565
class="bg-red-500 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
6666
type="submit"name="view" value="login">
67-
{{ __('isp-access-register-back-button') }}
67+
{{ ___('isp-access-register-back-button') }}
6868
</button>
6969
</div>
7070

@@ -75,7 +75,7 @@ class="bg-red-500 text-white font-bold py-2 px-4 rounded focus:outline-none focu
7575
</div>
7676
</div>
7777
<p class="text-center text-gray-500 text-xs">
78-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
78+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
7979
</p>
8080
</div>
8181
</div>

Resources/views/access-thankyou.blade.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
<i class="far fa-check-circle text-5xl text-green-700"></i>
1212

1313
<h3 class="pt-3 text-2xl font-semibold leading-6 text-green-700 dark:text-white text-center">
14-
- {{ __('isp-access-thankyou-title') }} - </h3>
14+
- {{ ___('isp-access-thankyou-title') }} - </h3>
1515

1616
<div class="bg-white mb-4 text-center">
1717

1818
<p style="text-align:center; padding:20px;">
19-
{{ __('isp-access-thankyou-instruction') }}
19+
{{ ___('isp-access-thankyou-instruction') }}
2020
</p>
2121

2222
<a id='package' href="{{ url(route('isp_access_mikrotik_login')) }}"
2323
class="inline-block px-6 py-2.5 bg-green-700 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">
24-
{{ __('isp-access-thankyou-button') }}
24+
{{ ___('isp-access-thankyou-button') }}
2525
</a>
2626

2727
</div>
@@ -38,7 +38,7 @@ class="inline-block px-6 py-2.5 bg-green-700 text-white font-medium text-xs lead
3838
<div class="w-full max-w-xs login-card">
3939

4040
<p class="text-center text-gray-500 text-xs">
41-
&copy;2022 - {{ date('Y') }}. {{ __('isp-copy-right') }}
41+
&copy;2022 - {{ date('Y') }}. {{ ___('isp-copy-right') }}
4242
</p>
4343
</div>
4444
</div>

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mybizna/isp",
33
"description": "",
44
"type": "asgard-module",
5-
"version": "1.3.45",
5+
"version": "1.3.46",
66
"license": "GPL-3.0-or-later",
77
"authors": [
88
{

0 commit comments

Comments
 (0)