forked from RWS/Sdl-Community
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transcreate: Implemented Back-Translation wizard
- Loading branch information
1 parent
8da5bbd
commit 63d4894
Showing
25 changed files
with
1,555 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
SDLTranscreate/SDLTranscreate/Model/AnalysisTaskSettingsInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
namespace Trados.Transcreate.Model | ||
{ | ||
public class AnalysisTaskSettingsInfo | ||
{ | ||
public AnalysisTaskSettingsInfo() | ||
{ | ||
ReportCrossFileRepetitions = true; | ||
UnknownSegmentsMaximumMatchValue = 74; | ||
FrequentSegmentsNoOfOccurrences = 5; | ||
} | ||
|
||
public bool ReportCrossFileRepetitions { get; set; } | ||
|
||
public bool ReportInternalFuzzyMatchLeverage { get; set; } | ||
|
||
public bool ExcludeLockedSegments { get; set; } | ||
|
||
public bool ReportLockedSegmentsSeparately { get; set; } | ||
|
||
public bool ExportUnknownSegments { get; set; } | ||
|
||
public bool ExportFrequentSegments { get; set; } | ||
|
||
public int UnknownSegmentsMaximumMatchValue { get; set; } | ||
|
||
public int FrequentSegmentsNoOfOccurrences { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
namespace Trados.Transcreate.Model | ||
{ | ||
public class BackTranslationProject : Project | ||
{ | ||
{ | ||
public bool IsUpdate { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Trados.Transcreate.Model | ||
{ | ||
public class FileAssignmentInfo | ||
{ | ||
public FileAssignmentInfo() | ||
{ | ||
Phase = string.Empty; | ||
AssignedAt = DateTime.MinValue; | ||
DueDate = DateTime.MaxValue; | ||
AssignedBy = string.Empty; | ||
IsCurrentAssignment = false; | ||
Assignees = new List<string>(); | ||
FileStateInfo = new FileStateInfo(); | ||
} | ||
|
||
/// <summary> | ||
/// Preparation, Translation, Review, Finalisation | ||
/// </summary> | ||
public string Phase { get; set; } | ||
|
||
public DateTime AssignedAt { get; set; } | ||
|
||
public DateTime DueDate { get; set; } | ||
|
||
public string AssignedBy { get; set; } | ||
|
||
public bool IsCurrentAssignment { get; set; } | ||
|
||
public List<string> Assignees { get; set; } | ||
|
||
public FileStateInfo FileStateInfo { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace Trados.Transcreate.Model | ||
{ | ||
public class FileStateInfo | ||
{ | ||
public FileStateInfo() | ||
{ | ||
LatestServerVersionTimestamp = string.Empty; | ||
LatestServerVersionNumber = 0; | ||
CheckedOutTo = string.Empty; | ||
IsCheckedOutOnline = false; | ||
} | ||
|
||
public string LatestServerVersionTimestamp { get; set; } | ||
|
||
public int LatestServerVersionNumber { get; set; } | ||
|
||
public string CheckedOutTo { get; set; } | ||
|
||
public bool IsCheckedOutOnline { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
|
||
namespace Trados.Transcreate.Model | ||
{ | ||
public class FileVersionInfo | ||
{ | ||
public FileVersionInfo() | ||
{ | ||
Guid = string.Empty; | ||
VersionNumber = 0; | ||
Size = 0; | ||
FileName = string.Empty; | ||
PhysicalPath = string.Empty; | ||
CreatedAt = DateTime.MinValue; | ||
CreatedBy = string.Empty; | ||
FileTimeStamp = DateTime.MinValue; | ||
IsAutoUpload = false; | ||
} | ||
|
||
public string Guid { get; set; } | ||
|
||
public int VersionNumber { get; set; } | ||
|
||
public long Size { get; set; } | ||
|
||
public string FileName { get; set; } | ||
|
||
public string PhysicalPath { get; set; } | ||
|
||
public DateTime CreatedAt { get; set; } | ||
|
||
public string CreatedBy { get; set; } | ||
|
||
public DateTime FileTimeStamp { get; set; } | ||
|
||
public bool IsAutoUpload { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Trados.Transcreate.Model | ||
{ | ||
public class LanguageFileInfo | ||
{ | ||
public LanguageFileInfo() | ||
{ | ||
Guid = string.Empty; | ||
SettingsBundleGuid = string.Empty; | ||
LanguageCode = string.Empty; | ||
FileVersionInfos = new List<FileVersionInfo>(); | ||
FileAssignmentInfos = new List<FileAssignmentInfo>(); | ||
} | ||
|
||
public string Guid { get; set; } | ||
|
||
public string SettingsBundleGuid { get; set; } | ||
|
||
public string LanguageCode { get; set; } | ||
|
||
public List<FileVersionInfo> FileVersionInfos { get; set; } | ||
|
||
public List<FileAssignmentInfo> FileAssignmentInfos { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Trados.Transcreate.Model | ||
{ | ||
public class ProjectFileInfo | ||
{ | ||
public ProjectFileInfo() | ||
{ | ||
Guid = string.Empty; | ||
SettingsBundleGuid = string.Empty; | ||
Name = string.Empty; | ||
Path = string.Empty; | ||
Role = string.Empty; | ||
FilterDefinitionId = string.Empty; | ||
LanguageFileInfos = new List<LanguageFileInfo>(); | ||
} | ||
|
||
public string Guid { get; set; } | ||
|
||
public string SettingsBundleGuid { get; set; } | ||
|
||
public string Name { get; set; } | ||
|
||
public string Path { get; set; } | ||
|
||
public string Role { get; set; } | ||
|
||
public string FilterDefinitionId { get; set; } | ||
|
||
public List<LanguageFileInfo> LanguageFileInfos { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Trados.Transcreate.Model | ||
{ | ||
public class ProjectUserInfo | ||
{ | ||
public string UserId { get; set; } | ||
|
||
public string FullName { get; set; } | ||
|
||
public string Description { get; set; } | ||
|
||
public string Email { get; set; } | ||
|
||
public string PhoneNumber { get; set; } | ||
|
||
public string EmailType { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
SDLTranscreate/SDLTranscreate/Model/SourceContentSettingsInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace Trados.Transcreate.Model | ||
{ | ||
public class SourceContentSettingsInfo | ||
{ | ||
public bool AllowSourceEditing { get; set; } | ||
public bool AllowMergeAcrossParagraphs { get; set; } | ||
public bool EnableIcuTokenization { get; set; } | ||
|
||
public SourceContentSettingsInfo() | ||
{ | ||
AllowSourceEditing = false; | ||
AllowMergeAcrossParagraphs = false; | ||
EnableIcuTokenization = false; | ||
} | ||
} | ||
} |
Oops, something went wrong.