-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from sillsdev/retain-translations-when-user-q…
…uestios-are-added Handled case where a user-modified question is later added
- Loading branch information
Showing
6 changed files
with
110 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// --------------------------------------------------------------------------------------------- | ||
#region // Copyright (c) 2024, SIL International. | ||
// <copyright from='2024' to='2024' company='SIL International'> | ||
// Copyright (c) 2024, SIL International. | ||
// | ||
// Distributable under the terms of the MIT License (http://sil.mit-license.org/) | ||
// </copyright> | ||
#endregion | ||
// --------------------------------------------------------------------------------------------- | ||
namespace SIL.Transcelerator | ||
{ | ||
/// <summary> | ||
/// Represents a phrase/question that the user modified (even if that modification was | ||
/// later superseded by a subsequent program change that added the modified version). | ||
/// </summary> | ||
/// <remarks>Technically, we wouldn't need this interface since the only class that | ||
/// implements it is in this same assembly, but it wouldn't have to be implemented like | ||
/// that, and using this interface clarifies the properties we actually care about.</remarks> | ||
public interface IModifiedPhrase | ||
{ | ||
string Reference { get; } | ||
/// -------------------------------------------------------------------------------- | ||
/// <summary> | ||
/// Gets the original phrase. | ||
/// </summary> | ||
/// -------------------------------------------------------------------------------- | ||
string OriginalPhrase { get; } | ||
|
||
/// -------------------------------------------------------------------------------- | ||
/// <summary> | ||
/// Gets the edited/customized phrase. | ||
/// </summary> | ||
/// -------------------------------------------------------------------------------- | ||
string ModifiedPhrase { get; } | ||
} | ||
} |
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