From 414f8d2904fd07fe23c838e95000741df4be4ea1 Mon Sep 17 00:00:00 2001 From: ce-nistal Date: Fri, 3 Apr 2026 14:50:08 -0300 Subject: [PATCH 1/2] Added translation URL to task entity --- Apps.Crowdin/Models/Dtos/TaskResourceDto.cs | 2 ++ Apps.Crowdin/Models/Entities/TaskEntity.cs | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Apps.Crowdin/Models/Dtos/TaskResourceDto.cs b/Apps.Crowdin/Models/Dtos/TaskResourceDto.cs index 31754dc..30956a0 100644 --- a/Apps.Crowdin/Models/Dtos/TaskResourceDto.cs +++ b/Apps.Crowdin/Models/Dtos/TaskResourceDto.cs @@ -38,6 +38,8 @@ public class TaskResourceDto [JsonProperty("description")] public string Description { get; set; } + public string? TranslationURL { get; set; } + [JsonProperty("deadline")] public DateTime? DeadLine { get; set; } diff --git a/Apps.Crowdin/Models/Entities/TaskEntity.cs b/Apps.Crowdin/Models/Entities/TaskEntity.cs index f1a7a48..6b84504 100644 --- a/Apps.Crowdin/Models/Entities/TaskEntity.cs +++ b/Apps.Crowdin/Models/Entities/TaskEntity.cs @@ -41,9 +41,13 @@ public class TaskEntity [Display("Created at")] public DateTime CreatedAt { get; set; } + [Display("Translation URL")] + public string? TranslationURL { get; set; } + [Display("Fields"), JsonProperty("fields"), JsonConverter(typeof(FieldsConverter))] public IEnumerable Fields { get; set; } = []; + public TaskEntity() { } public TaskEntity(TaskResource taskResource) @@ -61,6 +65,7 @@ public TaskEntity(TaskResource taskResource) TargetLanguageId = taskResource.TargetLanguageId; Deadline = taskResource.DeadLine.DateTime; CreatedAt = taskResource.CreatedAt.DateTime; + TranslationURL = taskResource.TranslationUrl; } public TaskEntity(TaskResourceDto taskResource) @@ -78,5 +83,6 @@ public TaskEntity(TaskResourceDto taskResource) TargetLanguageId = taskResource.TargetLanguageId; Deadline = taskResource.DeadLine; CreatedAt = taskResource.CreatedAt; + TranslationURL = taskResource.TranslationURL; } } \ No newline at end of file From b289f31b299c9034805d733b4775bad0446c19c8 Mon Sep 17 00:00:00 2001 From: ce-nistal Date: Fri, 3 Apr 2026 14:55:11 -0300 Subject: [PATCH 2/2] Bump version --- Apps.Crowdin/Apps.Crowdin.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps.Crowdin/Apps.Crowdin.csproj b/Apps.Crowdin/Apps.Crowdin.csproj index d3b9846..7920aea 100644 --- a/Apps.Crowdin/Apps.Crowdin.csproj +++ b/Apps.Crowdin/Apps.Crowdin.csproj @@ -5,7 +5,7 @@ enable Crowdin Cloud-based solution that streamlines localization management - 1.2.40 + 1.2.41 Apps.Crowdin