From b93dd15a8ae16d47354e932ed54562f47efbbb5d Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Tue, 6 Aug 2024 13:05:46 +1000 Subject: [PATCH] Fix hiding content files --- Lingua.sln | 4 ++++ build/SearchPioneer.Lingua.props | 2 +- src/Lingua/Internal/Alphabet.cs | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Lingua.sln b/Lingua.sln index 7dbe471..73e631b 100644 --- a/Lingua.sln +++ b/Lingua.sln @@ -31,6 +31,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{79ABD769-B64 EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{456E3B5A-9369-47BF-9475-35291F4BC2AD}" + ProjectSection(SolutionItems) = preProject + build\SearchPioneer.Lingua.props = build\SearchPioneer.Lingua.props + build\SearchPioneer.Lingua.targets = build\SearchPioneer.Lingua.targets + EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{E1B88B6E-C9A6-41FF-8448-20626D3E9FDB}" EndProject diff --git a/build/SearchPioneer.Lingua.props b/build/SearchPioneer.Lingua.props index 10071b0..002fe47 100644 --- a/build/SearchPioneer.Lingua.props +++ b/build/SearchPioneer.Lingua.props @@ -4,7 +4,7 @@ Can be removed once https://github.com/NuGet/Home/issues/4856 is resolved --> - False + False \ No newline at end of file diff --git a/src/Lingua/Internal/Alphabet.cs b/src/Lingua/Internal/Alphabet.cs index 9fd926f..ef1820b 100644 --- a/src/Lingua/Internal/Alphabet.cs +++ b/src/Lingua/Internal/Alphabet.cs @@ -84,11 +84,11 @@ internal static class AlphabetExtensions }; /// - /// Whether the the alphabet script matches character script. + /// Whether the alphabet script matches character script. /// /// The alphabet to check /// The character to check - /// true if the scripts match, false otherwise + /// true if the scripts match, false otherwise public static bool Matches(this Alphabet alphabet, char ch) => ch.GetScript() == alphabet.Script(); /// @@ -96,7 +96,7 @@ internal static class AlphabetExtensions /// /// The alphabet to check /// The script to check - /// true if the scripts match, false otherwise + /// true if the scripts match, false otherwise public static bool Matches(this Alphabet alphabet, UnicodeScript script) => script == alphabet.Script(); /// @@ -104,7 +104,7 @@ internal static class AlphabetExtensions /// /// The alphabet to check /// The text to check - /// true if the scripts match for all characters, false otherwise + /// true if the scripts match for all characters, false otherwise public static bool Matches(this Alphabet alphabet, string text) { var unicodeScript = alphabet.Script();