Merge pull request #14922 from snipe/fixes/incorrect_translation_path
Fixed incorrect translation path
This commit is contained in:
commit
2556c80250
2 changed files with 3 additions and 5 deletions
|
@ -67,7 +67,7 @@ class ProfileController extends Controller
|
||||||
|
|
||||||
|
|
||||||
if ($user->save()) {
|
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());
|
return redirect()->back()->withInput()->withErrors($user->getErrors());
|
||||||
|
|
|
@ -2,12 +2,10 @@
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'personal_api_keys' => 'Personal API Keys',
|
'personal_api_keys' => 'Personal API Keys',
|
||||||
'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they
|
'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they will not be visible to you again.',
|
||||||
will not be visible to you again.',
|
|
||||||
'api_base_url' => 'Your API base url is located at:',
|
'api_base_url' => 'Your API base url is located at:',
|
||||||
'api_base_url_endpoint' => '/<endpoint>',
|
'api_base_url_endpoint' => '/<endpoint>',
|
||||||
'api_token_expiration_time' => 'API tokens are set to expire in:',
|
'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
|
'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.',
|
||||||
find specific API endpoints and additional API documentation.',
|
|
||||||
'profile_updated' => 'Account successfully updated',
|
'profile_updated' => 'Account successfully updated',
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue