Fix bad message output

This commit is contained in:
James Brooks
2015-06-15 20:30:35 +01:00
parent f867d22b96
commit 2669d4330e
6 changed files with 30 additions and 30 deletions

View File

@@ -79,7 +79,7 @@ class MetricController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.whoops'),
trans('dashboard.metrics.add.failure')
))
@@ -92,7 +92,7 @@ class MetricController extends AbstractController
]);
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.metrics.add.success')
);
@@ -125,7 +125,7 @@ class MetricController extends AbstractController
if (!$point->isValid()) {
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.metrics.points.add.failure')
))
@@ -133,7 +133,7 @@ class MetricController extends AbstractController
}
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.metrics.points.add.success')
);
@@ -202,7 +202,7 @@ class MetricController extends AbstractController
]);
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.metrics.edit.success')
);