translations

This commit is contained in:
Chris
2018-02-07 13:37:40 +00:00
parent a8a7e56da7
commit 0f3087ab7d
21 changed files with 531 additions and 94 deletions

View File

@@ -40,7 +40,7 @@ class SettingsController extends Controller
]);
} else {
return redirect()->route('settings.list')->with([
'error' => 'This Setting does not exist.',
'error' => __('app.alert.error.not_exist'),
]);
}
}
@@ -74,11 +74,11 @@ class SettingsController extends Controller
$setting->save();
return redirect()->route('settings.index')->with([
'success' => 'You have successfully edited this Setting!',
'success' => __('app.alert.success.setting_updated'),
]);
} else {
return redirect()->route('settings.index')->with([
'error' => 'This Setting does not exist.',
'error' => __('app.alert.error.not_exist'),
]);
}
}
@@ -95,7 +95,7 @@ class SettingsController extends Controller
$setting->save();
}
return redirect()->route('settings.index')->with([
'success' => 'You have successfully edited this Setting!',
'success' => __('app.alert.success.setting_updated'),
]);
}