Translated missing section

This commit is contained in:
Julian Prieber 2023-06-19 14:02:19 +02:00
parent 9b55d4b17d
commit ab958a71dc
3 changed files with 11 additions and 3 deletions

View File

@ -1081,9 +1081,9 @@ class UserController extends Controller
$newLink->save();
}
return redirect('studio/profile')->with('success', 'Profile updated successfully!');
return redirect('studio/profile')->with('success', __('messages.Profile updated successfully!'));
} catch (\Exception $e) {
return redirect('studio/profile')->with('error', 'An error occurred while updating your profile.');
return redirect('studio/profile')->with('error', __('messages.An error occurred while updating your profile.'));
}
}

View File

@ -380,6 +380,10 @@ return [
'You are about to delete' => 'Sie sind dabei, Ihr Konto zu löschen!',
'You are about to delete This action cannot be undone' => 'Sie sind dabei, Ihr Konto zu löschen! Diese Aktion kann nicht rückgängig gemacht werden.',
'Delete account' => 'Konto löschen',
# Alerts
'Profile updated successfully!' => 'Profil erfolgreich aktualisiert!',
'An error occurred while updating your profile.' => 'Beim Aktualisieren Ihres Profils ist ein Fehler aufgetreten.',
/*
@ -832,7 +836,7 @@ return [
'Success!' => 'Erfolg!',
'The update was successful' => 'Das Update war erfolgreich, Sie können nun zum Admin-Panel zurückkehren.',
'View the release notes' => 'Sehen Sie sich die Versionshinweise an',
'Run again' => 'Führe es nochmals aus',
'Run again' => 'Erneut updaten',
'Something went wrong with the update' => 'Beim Update ist ein Fehler aufgetreten',

View File

@ -386,6 +386,10 @@ return [
'You are about to delete This action cannot be undone' => 'You are about to delete your account! This action cannot be undone.',
'Delete account' => 'Delete account',
# Alerts
'Profile updated successfully!' => 'Profile updated successfully!',
'An error occurred while updating your profile.' => 'An error occurred while updating your profile.',
/*
|--------------------------------------------------------------------------