From 1e5fbbdef24282a73a839641839c06dd4b427edd Mon Sep 17 00:00:00 2001 From: EvilBeaver Date: Wed, 8 Nov 2023 17:24:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BF=D0=B8=D0=BF=D0=B0=D1=81?= =?UTF-8?q?=D1=82=20=D0=B7=D0=BB=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OneScript.Language/Localization/LocalizationExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneScript.Language/Localization/LocalizationExtensions.cs b/src/OneScript.Language/Localization/LocalizationExtensions.cs index 198f2aaf1..1bb625242 100644 --- a/src/OneScript.Language/Localization/LocalizationExtensions.cs +++ b/src/OneScript.Language/Localization/LocalizationExtensions.cs @@ -18,7 +18,7 @@ public static bool ContainsString(this BilingualString bi, string sample) public static bool ContainsString(this BilingualString bi, string sample, StringComparison comparison) { - return bi.Russian.Equals(sample, comparison) || bi.Russian.Equals(sample, comparison); + return bi.Russian.Equals(sample, comparison) || bi.English.Equals(sample, comparison); } } } \ No newline at end of file