mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Merge pull request #14922 from snipe/fixes/incorrect_translation_path
Fixed incorrect translation path
This commit is contained in:
commit
2556c80250
|
@ -67,7 +67,7 @@ class ProfileController extends Controller
|
|||
|
||||
|
||||
if ($user->save()) {
|
||||
return redirect()->route('profile')->with('success', trans('account.general.profile_updated'));
|
||||
return redirect()->route('profile')->with('success', trans('account/general.profile_updated'));
|
||||
}
|
||||
|
||||
return redirect()->back()->withInput()->withErrors($user->getErrors());
|
||||
|
|
|
@ -2,12 +2,10 @@
|
|||
|
||||
return array(
|
||||
'personal_api_keys' => 'Personal API Keys',
|
||||
'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they
|
||||
will not be visible to you again.',
|
||||
'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they will not be visible to you again.',
|
||||
'api_base_url' => 'Your API base url is located at:',
|
||||
'api_base_url_endpoint' => '/<endpoint>',
|
||||
'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.',
|
||||
'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',
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue