mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 05:23:33 +08:00
Remove implicit conversion from string to LocalizedString
In most cases, relying on the implicit conversion is a sign of a missing call to "T". --HG-- branch : dev
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Orchard.MultiTenancy.Controllers {
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
catch (Exception exception) {
|
||||
Services.Notifier.Error(T("Creating Tenant failed: ") + exception.Message);
|
||||
Services.Notifier.Error(T("Creating Tenant failed: {0}", exception.Message));
|
||||
return View(viewModel);
|
||||
}
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace Orchard.MultiTenancy.Controllers {
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
catch (Exception exception) {
|
||||
Services.Notifier.Error(T("Failed to edit tenant: ") + exception.Message);
|
||||
Services.Notifier.Error(T("Failed to edit tenant: {0} ", exception.Message));
|
||||
return View(viewModel);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user