From 7bf3aadf98419bd5e352884de5b9cb787129ba57 Mon Sep 17 00:00:00 2001 From: Christopher Hirt Date: Wed, 5 May 2021 16:21:38 +0700 Subject: [PATCH] Correct example sentence magic string When reviewing code on a different PR, I noticed that the value of LFFieldNameForExampleSentence was set to definition. This looks wrong and is likely the result of a copy/paste error (from the line above). I have no way to test this, and this PR doesn't fix a known bug. However, it seems so obviously wrong that I got up the guts to create this PR :) --- src/LfMerge.Core/MagicStrings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LfMerge.Core/MagicStrings.cs b/src/LfMerge.Core/MagicStrings.cs index e4e99916..bea364b1 100644 --- a/src/LfMerge.Core/MagicStrings.cs +++ b/src/LfMerge.Core/MagicStrings.cs @@ -83,7 +83,7 @@ static MagicStrings() // Field names to use in an LfCommentRegarding instance public const string LfFieldNameForDefinition = "definition"; - public const string LfFieldNameForExampleSentence = "definition"; + public const string LfFieldNameForExampleSentence = "sentence"; // Fake language codes used in storing custom GenDate and int fields in Mongo public const string LanguageCodeForGenDateFields = "qaa-Qaad";