mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
Migrating Localization
--HG-- branch : theming
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Orchard.Core.Localization.Controllers {
|
||||
};
|
||||
Services.TransactionManager.Cancel();
|
||||
|
||||
return View(Shape.Model(model));
|
||||
return View(model);
|
||||
}
|
||||
|
||||
[HttpPost, ActionName("Translate")]
|
||||
@@ -111,7 +111,7 @@ namespace Orchard.Core.Localization.Controllers {
|
||||
model.SiteCultures = _cultureManager.ListCultures().Where(s => s != _localizationService.GetContentCulture(contentItem) && s != _cultureManager.GetSiteCulture());
|
||||
contentItem.As<LocalizationPart>().Culture.Culture = null;
|
||||
model.Content = _contentManager.BuildEditorModel(contentItem);
|
||||
return View(Shape.Model(model));
|
||||
return View(model);
|
||||
}
|
||||
|
||||
Services.Notifier.Information(T("Created content item translation."));
|
||||
|
Reference in New Issue
Block a user