mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Merge pull request #14736 from snipe/fixes/small_translation_additions
Fixes/small translation additions
This commit is contained in:
commit
a820f248c8
|
@ -72,7 +72,7 @@ class ProfileController extends Controller
|
|||
|
||||
|
||||
if ($user->save()) {
|
||||
return redirect()->route('profile')->with('success', 'Account successfully updated');
|
||||
return redirect()->route('profile')->with('success', trans('account.general.profile_updated'));
|
||||
}
|
||||
|
||||
return redirect()->back()->withInput()->withErrors($user->getErrors());
|
||||
|
|
|
@ -9,4 +9,5 @@ return array(
|
|||
'api_token_expiration_time' => 'API tokens are set to expire in:',
|
||||
'api_reference' => 'Please check the <a href="https://snipe-it.readme.io/reference" target="_blank">API reference</a> to
|
||||
find specific API endpoints and additional API documentation.',
|
||||
'profile_updated' => 'Account successfully updated',
|
||||
);
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
return array(
|
||||
|
||||
'actions' => 'Actions',
|
||||
'action' => 'Action',
|
||||
'by' => 'By',
|
||||
'item' => 'Item',
|
||||
'actions' => 'Actions',
|
||||
'action' => 'Action',
|
||||
'by' => 'By',
|
||||
'item' => 'Item',
|
||||
'no_matching_records' => 'No matching records found',
|
||||
|
||||
);
|
||||
|
|
|
@ -92,6 +92,9 @@
|
|||
exportTypes: ['xlsx', 'excel', 'csv', 'pdf','json', 'xml', 'txt', 'sql', 'doc' ],
|
||||
onLoadSuccess: function () {
|
||||
$('[data-tooltip="true"]').tooltip(); // Needed to attach tooltips after ajax call
|
||||
},
|
||||
formatNoMatches: function () {
|
||||
return '{{ trans('table.no_matching_records') }}';
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue