Skip to content

Commit 2c446bf

Browse files
page info UI updated, msgbox UI updated, change password messages and translations updated
1 parent deb3e83 commit 2c446bf

29 files changed

+169
-137
lines changed

app/Http/Controllers/AppController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function changePassword(Request $request)
6464
}
6565
}
6666
} else {
67-
$data['msg'] = __('Please provide Current Password, New Password and Confirm New Password');
67+
$data['msg'] = __('Please enter Current Password, New Password and Confirm New Password');
6868
}
6969

7070
if ($request->ajax()) {

app/Http/Controllers/CommonController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ public function setModule($slug)
183183
// get app setting value
184184
public function getAppSetting($name = null)
185185
{
186+
if (!session()->has('app_settings')) {
187+
$this->putAppSettingsInSession();
188+
}
189+
186190
if ($name) {
187191
return session('app_settings')[$name];
188192
} else {

database/seeds/TranslationSeeder.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public function run()
4444
['from' => 'Child Table will be shown as Grid in form view', 'to' => 'चाइल्ड टेबल को फॉर्म व्यू में ग्रिड के रूप में दिखाया जाएगा', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
4545
['from' => 'Clear Cache and Reload', 'to' => 'द्रुतिका साफ़ करें और पुनः लोड करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
4646
['from' => 'Configuration', 'to' => 'विन्यास', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
47-
['from' => 'Confirm New Password', 'to' => 'पुष्टि नया पासवर्ड', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
48-
['from' => 'Confirm New Password field is required', 'to' => 'पुष्टि नया पासवर्ड फ़ील्ड आवश्यक है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
47+
['from' => 'Confirm New Password', 'to' => 'कन्फर्म नया पासवर्ड', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
4948
['from' => 'Controller Name', 'to' => 'कंट्रलर नाम', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
5049
['from' => 'Copyright', 'to' => 'कॉपीराइट', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
5150
['from' => 'Create', 'to' => 'निर्माण', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
@@ -54,7 +53,6 @@ public function run()
5453
['from' => 'Created At', 'to' => 'निर्माण समय', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
5554
['from' => 'Creating', 'to' => 'निर्माण हो रहा है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
5655
['from' => 'Current Password', 'to' => 'वर्तमान पासवर्ड', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
57-
['from' => 'Current Password field is required', 'to' => 'वर्तमान पासवर्ड फ़ील्ड आवश्यक है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
5856
['from' => 'Current Password is invalid', 'to' => 'वर्तमान पासवर्ड अमान्य है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
5957
['from' => 'Customization', 'to' => 'अनुकूलन', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
6058
['from' => 'Dark', 'to' => 'डार्क', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
@@ -135,8 +133,7 @@ public function run()
135133
['from' => 'New', 'to' => 'नया', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
136134
['from' => 'New Password', 'to' => 'नया पासवर्ड', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
137135
['from' => 'New Password & Current Password cannot be same', 'to' => 'नया पासवर्ड और वर्तमान पासवर्ड समान नहीं हो सकता', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
138-
['from' => 'New Password and Confirm New Password does not match', 'to' => 'नया पासवर्ड और पुष्टि नया पासवर्ड मेल नहीं खाता है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
139-
['from' => 'New Password field is required', 'to' => 'नया पासवर्ड फ़ील्ड आवश्यक है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
136+
['from' => 'New Password and Confirm New Password does not match', 'to' => 'नया पासवर्ड और कन्फर्म नया पासवर्ड मेल नहीं खाता है', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
140137
['from' => 'Next', 'to' => 'अगला', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
141138
['from' => 'No', 'to' => 'नहीं', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
142139
['from' => 'No Data', 'to' => 'डेटा उपलब्ध नहीं', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
@@ -164,9 +161,12 @@ public function run()
164161
['from' => 'Password should be at least 8 characters including a number, an uppercase letter and a lowercase letter and should not contain any blank spaces', 'to' => 'पासवर्ड में कम से कम 8 अक्षर होने चाहिए, जिसमें एक नंबर, एक अपरकेस अक्षर और एक लोअरकेस अक्षर शामिल हैं और इसमें कोई खाली स्थान नहीं होना चाहिए', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
165162
['from' => 'Please attach import template to import data', 'to' => 'कृपया डेटा आयात करने के लिए आयात टेम्पलेट जोडे', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
166163
['from' => 'Please enter', 'to' => 'कृपया दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
164+
['from' => 'Please enter Confirm New Password', 'to' => 'कृपया कन्फर्म नया पासवर्ड दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
165+
['from' => 'Please enter Current Password', 'to' => 'कृपया वर्तमान पासवर्ड दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
166+
['from' => 'Please enter Current Password, New Password and Confirm New Password', 'to' => 'कृपया वर्तमान पासवर्ड, नया पासवर्ड और कन्फर्म नया पासवर्ड दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
167+
['from' => 'Please enter New Password', 'to' => 'कृपया नया पासवर्ड दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
167168
['from' => 'Please enter two-letter ISO 639-1 code', 'to' => 'कृपया दो-अक्षर ISO 639-1 कोड दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
168169
['from' => 'Please enter two-letter ISO 639-1 code from', 'to' => 'कृपया दो-अक्षर ISO 639-1 कोड दर्ज करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
169-
['from' => 'Please provide Current Password, New Password and Confirm New Password', 'to' => 'कृपया वर्तमान पासवर्ड, नया पासवर्ड और पुष्टि नया पासवर्ड प्रदान करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
170170
['from' => 'Please provide Language, From & To', 'to' => 'कृपया भाषा, से तथा तक प्रदान करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
171171
['from' => 'Please provide Module', 'to' => 'कृपया मॉड्यूल प्रदान करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
172172
['from' => 'Please provide backup filename to delete', 'to' => 'कृपया हटाने के लिए बैकअप फ़ाइल नाम प्रदान करें', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')],
@@ -301,6 +301,6 @@ public function run()
301301
['from' => 'with', 'to' => 'साथ', 'locale' => 'hi', 'owner' => 'admin', 'last_updated_by' => 'admin', 'created_at' => Carbon::now('UTC')->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now('UTC')->format('Y-m-d H:i:s')]
302302
];
303303

304-
Translation::insert($translations);
304+
// Translation::insert($translations);
305305
}
306306
}

public/css/all.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)