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:
Robert
2018-05-02 12:10:02 +02:00
committed by GitHub
36 changed files with 359 additions and 186 deletions

View File

@@ -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

View File

@@ -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; }