2018-06-13 15:17:31 +02:00
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Models.ContentEditing
|
2018-06-13 20:19:18 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The dictionary translation save model
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataContract(Name = "dictionaryTranslation", Namespace = "")]
|
|
|
|
|
public class DictionaryTranslationSave
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-01-26 10:52:19 -05:00
|
|
|
/// Gets or sets the ISO code.
|
2018-06-13 20:19:18 +02:00
|
|
|
/// </summary>
|
2021-02-18 11:06:02 +01:00
|
|
|
[DataMember(Name = "isoCode")]
|
2022-01-21 11:43:58 +01:00
|
|
|
public string? IsoCode { get; set; }
|
2018-06-13 20:19:18 +02:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the translation.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataMember(Name = "translation")]
|
2022-01-21 11:43:58 +01:00
|
|
|
public string? Translation { get; set; }
|
2021-02-18 11:06:02 +01:00
|
|
|
|
2018-06-13 20:19:18 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the language id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataMember(Name = "languageId")]
|
|
|
|
|
public int LanguageId { get; set; }
|
|
|
|
|
}
|
2018-06-13 15:17:31 +02:00
|
|
|
}
|