@@ -49,7 +49,7 @@ |
||
49 | 49 | <br> |
50 | 50 | <small> |
51 | 51 | <?php |
52 | - $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
52 | + $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
53 | 53 | ?> |
54 | 54 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
55 | 55 | </small> |
@@ -49,7 +49,7 @@ |
||
49 | 49 | <br> |
50 | 50 | <small> |
51 | 51 | <?php |
52 | - $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
52 | + $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
53 | 53 | ?> |
54 | 54 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
55 | 55 | </small> |
@@ -75,7 +75,7 @@ |
||
75 | 75 | public function register() |
76 | 76 | { |
77 | 77 | // register the current package |
78 | - $this->app->bind('base', function ($app) { |
|
78 | + $this->app->bind('base', function($app) { |
|
79 | 79 | return new Base($app); |
80 | 80 | }); |
81 | 81 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | 'middleware' => 'web', |
17 | 17 | 'prefix' => config('backpack.base.route_prefix'), |
18 | 18 | ], |
19 | -function () { |
|
19 | +function() { |
|
20 | 20 | // if not otherwise configured, setup the auth routes |
21 | 21 | if (config('backpack.base.setup_auth_routes')) { |
22 | 22 | // Authentication Routes... |
@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function withValidator($validator) |
44 | 44 | { |
45 | - $validator->after(function ($validator) { |
|
45 | + $validator->after(function($validator) { |
|
46 | 46 | // check old password matches |
47 | 47 | if (!Hash::check($this->input('old_password'), Auth::user()->password)) { |
48 | 48 | $validator->errors()->add('old_password', trans('backpack::base.old_password_incorrect')); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | $process = new Process($command); |
71 | - $process->run(function ($type, $buffer) { |
|
71 | + $process->run(function($type, $buffer) { |
|
72 | 72 | if (Process::ERR === $type) { |
73 | 73 | echo '... > '.$buffer; |
74 | 74 | } else { |
@@ -2,50 +2,50 @@ |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Backpack\Base Language Lines |
8 | 8 | |-------------------------------------------------------------------------- |
9 | 9 | */ |
10 | 10 | |
11 | 11 | |
12 | - 'registration_closed' => 'Reģistrācija aizvērta.', |
|
13 | - 'first_page_you_see' => 'Pirmā lapa ko redzat pēc pieslēgšanās', |
|
14 | - 'login_status' => 'Pieslēgšanās statuss', |
|
15 | - 'logged_in' => 'Jūs esat pieslēgušies!', |
|
16 | - 'toggle_navigation' => 'Pārslēgt navigāciju', |
|
17 | - 'administration' => 'ADMINISTRĀCIJA', |
|
18 | - 'user' => 'LIETOTĀJS', |
|
19 | - 'logout' => 'Iziet', |
|
20 | - 'login' => 'Pieslēgties', |
|
21 | - 'register' => 'Registrēties', |
|
22 | - 'name' => 'Vārds', |
|
23 | - 'email_address' => 'E-Mail Adrese', |
|
24 | - 'password' => 'Parole', |
|
25 | - 'old_password' => 'Vecā parole', |
|
26 | - 'new_password' => 'Jaunā parole', |
|
27 | - 'confirm_password' => 'Apstiprināt Paroli', |
|
28 | - 'remember_me' => 'Atcerēties Mani', |
|
29 | - 'forgot_your_password' => 'Aizmirsāt Jūsu Paroli?', |
|
30 | - 'reset_password' => 'Atjaunot Paroli', |
|
31 | - 'send_reset_link' => 'Sūtīt Paroles Atjaunošanas Saiti', |
|
32 | - 'click_here_to_reset' => 'Nospiediet šēit lai atjaunotu Jūsu paroli', |
|
33 | - 'change_password' => 'Paroles maiņa', |
|
34 | - 'unauthorized' => 'Neautorizēts.', |
|
35 | - 'dashboard' => 'Instrumentu panelis', |
|
36 | - 'handcrafted_by' => 'Handcrafted by', |
|
37 | - 'powered_by' => 'Powered by', |
|
38 | - 'my_account' => 'Mans konts', |
|
39 | - 'update_account_info' => 'Konta rediģēšana', |
|
40 | - 'save' => 'Saglabāt', |
|
41 | - 'cancel' => 'Atcelt', |
|
42 | - 'error' => 'Kļūda', |
|
43 | - 'success' => 'Darbība veiksmīga', |
|
44 | - 'old_password_incorrect' => 'Vecā parole nav pareiza.', |
|
45 | - 'password_dont_match' => 'Paroles nesakrīt.', |
|
46 | - 'password_empty' => 'Pārliecinies vai abi paroļu lauki ir aizpildīti.', |
|
47 | - 'password_updated' => 'Parole nomainīta.', |
|
48 | - 'account_updated' => 'Konta rediģēšana veiksmīga.', |
|
49 | - 'unknown_error' => 'Nezināma kļūda. Lūdzu mēģini vēlreiz.', |
|
50 | - 'error_saving' => 'Kļūda saglabājot. Lūdzu mēģini vēlreiz.', |
|
12 | + 'registration_closed' => 'Reģistrācija aizvērta.', |
|
13 | + 'first_page_you_see' => 'Pirmā lapa ko redzat pēc pieslēgšanās', |
|
14 | + 'login_status' => 'Pieslēgšanās statuss', |
|
15 | + 'logged_in' => 'Jūs esat pieslēgušies!', |
|
16 | + 'toggle_navigation' => 'Pārslēgt navigāciju', |
|
17 | + 'administration' => 'ADMINISTRĀCIJA', |
|
18 | + 'user' => 'LIETOTĀJS', |
|
19 | + 'logout' => 'Iziet', |
|
20 | + 'login' => 'Pieslēgties', |
|
21 | + 'register' => 'Registrēties', |
|
22 | + 'name' => 'Vārds', |
|
23 | + 'email_address' => 'E-Mail Adrese', |
|
24 | + 'password' => 'Parole', |
|
25 | + 'old_password' => 'Vecā parole', |
|
26 | + 'new_password' => 'Jaunā parole', |
|
27 | + 'confirm_password' => 'Apstiprināt Paroli', |
|
28 | + 'remember_me' => 'Atcerēties Mani', |
|
29 | + 'forgot_your_password' => 'Aizmirsāt Jūsu Paroli?', |
|
30 | + 'reset_password' => 'Atjaunot Paroli', |
|
31 | + 'send_reset_link' => 'Sūtīt Paroles Atjaunošanas Saiti', |
|
32 | + 'click_here_to_reset' => 'Nospiediet šēit lai atjaunotu Jūsu paroli', |
|
33 | + 'change_password' => 'Paroles maiņa', |
|
34 | + 'unauthorized' => 'Neautorizēts.', |
|
35 | + 'dashboard' => 'Instrumentu panelis', |
|
36 | + 'handcrafted_by' => 'Handcrafted by', |
|
37 | + 'powered_by' => 'Powered by', |
|
38 | + 'my_account' => 'Mans konts', |
|
39 | + 'update_account_info' => 'Konta rediģēšana', |
|
40 | + 'save' => 'Saglabāt', |
|
41 | + 'cancel' => 'Atcelt', |
|
42 | + 'error' => 'Kļūda', |
|
43 | + 'success' => 'Darbība veiksmīga', |
|
44 | + 'old_password_incorrect' => 'Vecā parole nav pareiza.', |
|
45 | + 'password_dont_match' => 'Paroles nesakrīt.', |
|
46 | + 'password_empty' => 'Pārliecinies vai abi paroļu lauki ir aizpildīti.', |
|
47 | + 'password_updated' => 'Parole nomainīta.', |
|
48 | + 'account_updated' => 'Konta rediģēšana veiksmīga.', |
|
49 | + 'unknown_error' => 'Nezināma kļūda. Lūdzu mēģini vēlreiz.', |
|
50 | + 'error_saving' => 'Kļūda saglabājot. Lūdzu mēģini vēlreiz.', |
|
51 | 51 | ]; |
52 | 52 | \ No newline at end of file |