Merge pull request #2608 from umbraco/temp8-U4-11289
U4-11289 Tracking the currently selected language in the main tree
This commit is contained in:
@@ -15,8 +15,8 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
/// <summary>
|
||||
/// The language Id for the content variation being saved
|
||||
/// </summary>
|
||||
[DataMember(Name = "languageId")]
|
||||
public int? LanguageId { get; set; } //TODO: Change this to ContentVariationPublish, but this will all change anyways when we can edit all variants at once
|
||||
[DataMember(Name = "culture")]
|
||||
public string Culture { get; set; } //TODO: Change this to ContentVariationPublish, but this will all change anyways when we can edit all variants at once
|
||||
|
||||
/// <summary>
|
||||
/// The template alias to save
|
||||
|
||||
@@ -8,9 +8,9 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
/// </summary>
|
||||
public class ContentVariationPublish
|
||||
{
|
||||
[DataMember(Name = "languageId", IsRequired = true)]
|
||||
[DataMember(Name = "culture", IsRequired = true)]
|
||||
[Required]
|
||||
public int LanguageId { get; set; }
|
||||
public string Culture { get; set; }
|
||||
|
||||
[DataMember(Name = "segment")]
|
||||
public string Segment { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user