@@ -135,7 +135,7 @@ public virtual async Task<int> RenderAsync(System.Drawing.Printing.PrinterResolu
135135 /// </summary>
136136 /// <param name="contentType"></param>
137137 /// <returns>ContentEngine, ContentType, Language</returns>
138- public static ( ContentTypeEngineBase cte , string languageId , string langauge ) CreateContentTypeEngine ( string contentType ) {
138+ public static ( ContentTypeEngineBase cte , string languageId , string Language ) CreateContentTypeEngine ( string contentType ) {
139139 Debug . Assert ( ! string . IsNullOrEmpty ( contentType ) ) ;
140140 Debug . Assert ( ModelLocator . Current . FileTypeMapping != null ) ;
141141 Debug . Assert ( ModelLocator . Current . FileTypeMapping . ContentTypes != null ) ;
@@ -194,7 +194,7 @@ public static (ContentTypeEngineBase cte, string languageId, string langauge) Cr
194194 language = lang . Title ;
195195 }
196196
197- // Is it a language name found in a langauge alias? (ansi)
197+ // Is it a language name found in a Language alias? (ansi)
198198 lang = ModelLocator . Current . FileTypeMapping . ContentTypes
199199 . FirstOrDefault ( l => l . Aliases
200200 . Where ( i => CultureInfo . CurrentCulture . CompareInfo . Compare ( i , contentType , CompareOptions . IgnoreCase ) == 0 ) . Count ( ) > 0 ) ;
@@ -295,7 +295,7 @@ public static string GetContentType(string filePath) {
295295 // If not text or html, is it a language?
296296 //if (!contentType.Equals("text/plain") && !contentType.Equals("text/html")) {
297297 // // Technically, because we got the assocation from FilesAssocation, this should always work
298- // if (!((List<Langauge >)ModelLocator.Current.Associations.Languages).Exists(lang => lang.Id == contentType))
298+ // if (!((List<Language >)ModelLocator.Current.Associations.Languages).Exists(lang => lang.Id == contentType))
299299 // contentType = "text/plain";
300300 //}
301301 return contentType ;
0 commit comments