diff --git a/src/Orchard.Web/Modules/Orchard.Localization/Views/EditorTemplates/Parts/Localization.ContentTranslations.Edit.cshtml b/src/Orchard.Web/Modules/Orchard.Localization/Views/EditorTemplates/Parts/Localization.ContentTranslations.Edit.cshtml index 6f5fc8e01..b0e4bf11b 100644 --- a/src/Orchard.Web/Modules/Orchard.Localization/Views/EditorTemplates/Parts/Localization.ContentTranslations.Edit.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Localization/Views/EditorTemplates/Parts/Localization.ContentTranslations.Edit.cshtml @@ -28,33 +28,36 @@ } @if (Model.ContentItem.ContentItem.Id > 0) { - //if (Model.MasterContentItem == null) { + if (string.IsNullOrEmpty(Model.SelectedCulture)) { + @T("This content currently has no culture associated to it, please select a culture to associate to this piece of content: {0}", + BuildSelectedCultureList( + Html.FieldIdFor(m => m.SelectedCulture), + Html.FieldNameFor(m => m.SelectedCulture), + Model.SiteCultures, + Model.SelectedCulture)) + } + else { @T("This is the {0} variation of the content", Html.Encode(Model.SelectedCulture)) - @*} - else { - @T("This is the {0} variation of {1}", - Html.Encode(Model.SelectedCulture), - Html.ItemEditLink(Model.MasterContentItem)) - }*@ - if (Model.ContentLocalizations.Localizations.Any()) { -