From 889ce6e98a9055be42eb2598102fdf1df293cdf0 Mon Sep 17 00:00:00 2001 From: jtkech Date: Wed, 13 Sep 2023 04:01:09 +0200 Subject: [PATCH] Language Types in Razor files --- ...boardWidget-ContentsMetadata.DetailAdmin.cshtml | 2 +- .../Views/DashboardWidget.DetailAdmin.cshtml | 2 +- .../Views/DashboardWidget.Summary.cshtml | 2 +- .../Views/DashboardWidget.cshtml | 2 +- .../OrchardCore.Alias/Views/AliasPart.Edit.cshtml | 2 +- .../Views/AliasPart.Option.cshtml | 2 +- .../Views/ArchiveLaterPart.Option.cshtml | 2 +- .../Views/AuditTrailAdminListSearch.cshtml | 4 ++-- .../Views/AuditTrailEventMeta.SummaryAdmin.cshtml | 2 +- .../Views/AutoroutePart.Edit.cshtml | 6 +++--- .../Views/BackgroundTask/Index.cshtml | 2 +- .../Views/BooleanField-Switch.Edit.cshtml | 4 ++-- .../Views/BooleanField.DisplayOption.cshtml | 2 +- .../Views/BooleanField.Edit.cshtml | 2 +- .../Views/BooleanField.Option.cshtml | 2 +- .../Views/ContentPickerField.DisplayOption.cshtml | 2 +- .../Views/ContentPickerField.Edit.cshtml | 2 +- .../Views/ContentPickerField.Option.cshtml | 2 +- .../Views/DateField-Localized.Edit.cshtml | 2 +- .../Views/DateField.DisplayOption.cshtml | 2 +- .../Views/DateField.Edit.cshtml | 2 +- .../Views/DateField.Option.cshtml | 2 +- .../Views/DateTimeField.DisplayOption.cshtml | 2 +- .../Views/DateTimeField.Edit.cshtml | 2 +- .../Views/DateTimeField.Option.cshtml | 2 +- .../Views/HtmlField-Monaco.Edit.cshtml | 2 +- .../Views/HtmlField-Multiline.Edit.cshtml | 2 +- .../Views/HtmlField-Trumbowyg.Edit.cshtml | 2 +- .../Views/HtmlField-Wysiwyg.Edit.cshtml | 2 +- .../Views/HtmlField.DisplayOption.cshtml | 2 +- .../Views/HtmlField.Edit.cshtml | 2 +- .../Views/HtmlField.Option.cshtml | 2 +- .../Views/LinkField.DisplayOption.cshtml | 2 +- .../Views/LinkField.Edit.cshtml | 14 +++++++------- .../Views/LinkField.cshtml | 4 ++-- ...ationSetContentPickerField.DisplayOption.cshtml | 2 +- .../LocalizationSetContentPickerField.Edit.cshtml | 2 +- ...LocalizationSetContentPickerField.Option.cshtml | 2 +- .../Views/MultiTextField-CheckboxList.Edit.cshtml | 4 ++-- .../Views/MultiTextField-Picker.Edit.cshtml | 2 +- .../Views/MultiTextField.DisplayOption.cshtml | 2 +- .../Views/MultiTextField.Edit.cshtml | 2 +- .../Views/MultiTextField.Option.cshtml | 2 +- .../Views/NumericField-Range.Edit.cshtml | 2 +- .../Views/NumericField-Select.Edit.cshtml | 2 +- .../Views/NumericField-Slider.Edit.cshtml | 2 +- .../Views/NumericField-Spinner.Edit.cshtml | 2 +- .../Views/NumericField.DisplayOption.cshtml | 2 +- .../Views/NumericField.Edit.cshtml | 2 +- .../Views/NumericField.Option.cshtml | 2 +- .../Views/TextField-CodeMirror.Edit.cshtml | 2 +- .../Views/TextField-Color.Edit.cshtml | 2 +- .../Views/TextField-Email.Edit.cshtml | 2 +- .../Views/TextField-IconPicker.Edit.cshtml | 2 +- .../Views/TextField-Monaco.Edit.cshtml | 2 +- .../Views/TextField-PredefinedList.Edit.cshtml | 6 +++--- .../Views/TextField-Tel.Edit.cshtml | 2 +- .../Views/TextField-Url.Edit.cshtml | 2 +- .../Views/TextField.DisplayOption.cshtml | 2 +- .../Views/TextField.Edit.cshtml | 2 +- .../Views/TextField.Option.cshtml | 2 +- .../Views/TimeField.DisplayOption.cshtml | 2 +- .../Views/TimeField.Edit.cshtml | 2 +- .../Views/TimeField.Option.cshtml | 2 +- .../Views/UserPickerField.DisplayOption.cshtml | 2 +- .../Views/UserPickerField.Edit.cshtml | 2 +- .../Views/UserPickerField.Option.cshtml | 2 +- .../Views/YoutubeField.DisplayOption.cshtml | 2 +- .../Views/YoutubeField.Edit.cshtml | 2 +- .../Views/Admin/AddReusablePartTo.cshtml | 2 +- .../Views/Admin/Edit.cshtml | 14 +++++++------- .../DisplayTemplates/EditTypeViewModel.cshtml | 4 ++-- .../OrchardCore.Contents/Views/Content.Edit.cshtml | 4 ++-- .../Views/Content.PublishButton.cshtml | 2 +- .../Views/Content.SaveDraftButton.cshtml | 2 +- .../OrchardCore.Contents/Views/Content.cshtml | 2 +- .../Views/ContentPart-BagPart.Edit.cshtml | 2 +- .../Views/ContentPart-FlowPart.Edit.cshtml | 2 +- .../Views/ContentPart-WidgetsListPart.Edit.cshtml | 2 +- .../Views/ContentPart.Edit.cshtml | 2 +- .../Views/ContentsAdminListSearch.cshtml | 4 ++-- .../Views/ContentsMeta_SummaryAdmin.cshtml | 2 +- .../Views/Download/Display.cshtml | 2 +- ...ditTrailContentEventContent.SummaryAdmin.cshtml | 2 +- ...AuditTrailContentEventDetail.DetailAdmin.cshtml | 2 +- ...ContentItemDeploymentStep.Fields.Summary.cshtml | 2 +- ...ContentTypesAdminNode.Fields.TreeSummary.cshtml | 2 +- .../Items/ContentTypesSitemapSource.Edit.cshtml | 2 +- .../Download-Button-Actions.SummaryAdmin.cshtml | 2 +- ...oymentTarget-Button-Actions.SummaryAdmin.cshtml | 2 +- .../Views/Admin/Features.cshtml | 12 ++++++------ .../OrchardCore.Flows/Views/BagPart.Option.cshtml | 2 +- .../Views/ContentCard-BagPart.Edit.cshtml | 2 +- .../Views/ContentCard-FlowPart.Edit.cshtml | 2 +- .../OrchardCore.Flows/Views/FlowPart.Option.cshtml | 2 +- .../Views/Items/FormElementLabelPart.cshtml | 2 +- .../Views/Items/FormElementValidationPart.cshtml | 4 ++-- .../OrchardCore.Forms/Views/Items/InputPart.cshtml | 2 +- .../Views/Items/ValidationPart.cshtml | 2 +- .../Views/HtmlBodyPart.DisplayOption.cshtml | 2 +- .../Views/HtmlBodyPart.Option.cshtml | 2 +- .../Views/ListPart.DisplayOption.cshtml | 2 +- .../Views/ListPartDetailAdmin.cshtml | 4 ++-- .../OrchardCore.Lists/Views/ListPartFeed.cshtml | 2 +- .../Views/LocalizationSettings.Edit.cshtml | 2 +- .../Views/MarkdownBodyPart.DisplayOption.cshtml | 2 +- .../Views/MarkdownBodyPart.Option.cshtml | 2 +- .../Views/MarkdownField-Wysiwyg.Edit.cshtml | 2 +- .../Views/MarkdownField.DisplayOption.cshtml | 2 +- .../Views/MarkdownField.Edit.cshtml | 2 +- .../Views/MarkdownField.Option.cshtml | 2 +- .../Views/Admin/Options.cshtml | 2 +- .../Views/MediaField.DisplayOption.cshtml | 2 +- .../OrchardCore.Media/Views/MediaField.Edit.cshtml | 4 ++-- .../Views/MediaField.Option.cshtml | 2 +- .../Views/MediaFieldSettings.Edit.cshtml | 4 ++-- .../Views/MediaProfiles/Index.cshtml | 2 +- .../Views/Shared/MediaStoreEntries.cshtml | 4 ++-- .../OrchardCore.Menu/Views/MenuItem.Edit.cshtml | 2 +- .../Views/Notification.SummaryAdmin.cshtml | 2 +- .../Views/UserNotificationCollection.cshtml | 2 +- .../Views/PublishLaterPart.Option.cshtml | 2 +- .../OrchardCore.Recipes/Views/Admin/Index.cshtml | 2 +- .../OrchardCore.Roles/Views/Admin/Edit.cshtml | 2 +- .../ContentTypeCondition.Fields.Summary.cshtml | 2 +- .../Items/CultureCondition.Fields.Summary.cshtml | 2 +- .../Items/RoleCondition.Fields.Summary.cshtml | 2 +- .../Views/Items/UrlCondition.Fields.Summary.cshtml | 2 +- .../Views/Admin/Query.cshtml | 4 ++-- .../Views/Admin/Query.cshtml | 2 +- .../OrchardCore.Search/Views/Search-Form.cshtml | 2 +- .../Views/SecurityHeadersSettings.Edit.cshtml | 2 +- .../Shared/DisplayTemplates/CurrentCulture.cshtml | 2 +- .../DisplayTemplates/RemovableCulture.cshtml | 2 +- .../Views/SiteSettings.Edit.cshtml | 2 +- .../Views/SiteSettings.SaveButton.cshtml | 2 +- .../Views/Admin/Index.cshtml | 2 +- .../OrchardCore.Sitemaps/Views/Admin/Create.cshtml | 4 ++-- .../Views/Admin/Display.cshtml | 2 +- .../OrchardCore.Sitemaps/Views/Admin/Edit.cshtml | 4 ++-- .../OrchardCore.Sitemaps/Views/Admin/List.cshtml | 4 ++-- .../Views/CustomPathSitemapSource.Edit.cshtml | 2 +- .../Views/SitemapIndex/Create.cshtml | 4 ++-- .../Views/SitemapIndex/Edit.cshtml | 4 ++-- .../Views/SitemapIndex/List.cshtml | 2 +- .../Views/SitemapPart.Edit.cshtml | 6 +++--- .../OrchardCore.Sitemaps/Views/Source/Edit.cshtml | 2 +- .../OrchardCore.Spatial/Views/GeoPointField.cshtml | 2 +- .../Views/TaxonomyField-Tags.Edit.cshtml | 2 +- .../Views/TaxonomyField.DisplayOption.cshtml | 2 +- .../Views/TaxonomyField.Edit.cshtml | 2 +- .../Views/TaxonomyField.Option.cshtml | 2 +- .../Views/Template/Index.cshtml | 2 +- .../Views/TitlePart.DisplayOption.cshtml | 2 +- .../OrchardCore.Title/Views/TitlePart.Edit.cshtml | 2 +- .../Views/TitlePart.Option.cshtml | 2 +- .../OrchardCore.Users/Views/Account/Login.cshtml | 6 +++--- .../Views/Account/RegisterExternalLogin.cshtml | 4 ++-- .../Views/LoginSettingsRoles.Edit.cshtml | 2 +- .../Views/Registration/ConfirmEmailSent.cshtml | 2 +- .../Views/Registration/RegistrationPending.cshtml | 2 +- .../Views/TwoFactorAuthentication/Index.cshtml | 2 +- .../LoginWithTwoFactorAuthentication.cshtml | 4 ++-- .../OrchardCore.Users/Views/UserInfo.cshtml | 2 +- .../Views/UsersAdminListSearch.cshtml | 4 ++-- .../Views/ContentCard-WidgetsListPart.Edit.cshtml | 2 +- .../OrchardCore.Widgets/Views/ContentCard.cshtml | 2 +- .../Views/Widget.Summary.cshtml | 2 +- .../OrchardCore.Widgets/Views/Widget.cshtml | 2 +- .../Views/WidgetsListPart.Option.cshtml | 2 +- .../TheTheme/Views/Widget-Form.cshtml | 2 +- .../TheTheme/Views/Widget-Input.cshtml | 2 +- .../TheTheme/Views/Widget-Label.cshtml | 2 +- .../TheTheme/Views/Widget-Select.cshtml | 2 +- .../TheTheme/Views/Widget-TextArea.cshtml | 2 +- .../TheTheme/Views/Widget-Validation.cshtml | 2 +- .../TheTheme/Views/Widget-ValidationSummary.cshtml | 2 +- 177 files changed, 223 insertions(+), 223 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget-ContentsMetadata.DetailAdmin.cshtml b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget-ContentsMetadata.DetailAdmin.cshtml index 82f4a8fbfb1..8a889c3dcf2 100644 --- a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget-ContentsMetadata.DetailAdmin.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget-ContentsMetadata.DetailAdmin.cshtml @@ -23,7 +23,7 @@ } - if (!String.IsNullOrEmpty(contentItem.Author)) + if (!string.IsNullOrEmpty(contentItem.Author)) { @contentItem.Author diff --git a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.DetailAdmin.cshtml b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.DetailAdmin.cshtml index 25a7ab4d096..dd71a23dd97 100644 --- a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.DetailAdmin.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.DetailAdmin.cshtml @@ -1,4 +1,4 @@ -
+
@if (Model.Header != null || Model.Leading != null || Model.ActionsMenu != null) {
diff --git a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.Summary.cshtml b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.Summary.cshtml index 2b4cbdf5c84..d2c44a40fe8 100644 --- a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.Summary.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.Summary.cshtml @@ -1,4 +1,4 @@ -
+
@if (Model.Header != null || Model.Meta != null) {
diff --git a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.cshtml b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.cshtml index 2b4cbdf5c84..d2c44a40fe8 100644 --- a/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.AdminDashboard/Views/DashboardWidget.cshtml @@ -1,4 +1,4 @@ -
+
@if (Model.Header != null || Model.Meta != null) {
diff --git a/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Edit.cshtml index b6282ebf19a..e50848a255c 100644 --- a/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Edit.cshtml @@ -14,7 +14,7 @@ @T["The alias of the content item."] - @if (!String.IsNullOrWhiteSpace(Model.Settings.Pattern)) + @if (!string.IsNullOrWhiteSpace(Model.Settings.Pattern)) { @T["Leave empty to re-generate it."] } diff --git a/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Option.cshtml b/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Option.cshtml index 83effa54557..1603a76a1bd 100644 --- a/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Option.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Alias/Views/AliasPart.Option.cshtml @@ -1,4 +1,4 @@ @{ string currentEditor = Model.Editor; } - + diff --git a/src/OrchardCore.Modules/OrchardCore.ArchiveLater/Views/ArchiveLaterPart.Option.cshtml b/src/OrchardCore.Modules/OrchardCore.ArchiveLater/Views/ArchiveLaterPart.Option.cshtml index 83effa54557..1603a76a1bd 100644 --- a/src/OrchardCore.Modules/OrchardCore.ArchiveLater/Views/ArchiveLaterPart.Option.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.ArchiveLater/Views/ArchiveLaterPart.Option.cshtml @@ -1,4 +1,4 @@ @{ string currentEditor = Model.Editor; } - + diff --git a/src/OrchardCore.Modules/OrchardCore.AuditTrail/Views/AuditTrailAdminListSearch.cshtml b/src/OrchardCore.Modules/OrchardCore.AuditTrail/Views/AuditTrailAdminListSearch.cshtml index c0ae3f87787..6155aed5968 100644 --- a/src/OrchardCore.Modules/OrchardCore.AuditTrail/Views/AuditTrailAdminListSearch.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.AuditTrail/Views/AuditTrailAdminListSearch.cshtml @@ -20,7 +20,7 @@ -