From 280f015e1d54b3a288431bdb0a9f923c1bbd7d1c Mon Sep 17 00:00:00 2001 From: BertrandLeRoy Date: Tue, 19 Oct 2010 12:10:10 -0700 Subject: [PATCH 1/2] Fixing typo. --HG-- branch : dev --- .../Migration/Interpreters/DefaultDataMigrationInterpreter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard/Data/Migration/Interpreters/DefaultDataMigrationInterpreter.cs b/src/Orchard/Data/Migration/Interpreters/DefaultDataMigrationInterpreter.cs index 24039ba9d..0c97a6ab0 100644 --- a/src/Orchard/Data/Migration/Interpreters/DefaultDataMigrationInterpreter.cs +++ b/src/Orchard/Data/Migration/Interpreters/DefaultDataMigrationInterpreter.cs @@ -194,7 +194,7 @@ namespace Orchard.Data.Migration.Interpreters { } else { if(command.Length > 0 || command.Precision > 0 || command.Scale > 0) { - throw new OrchardException(T("Error while executing data migration: you need to specify the field's type in order to change it's properies")); + throw new OrchardException(T("Error while executing data migration: you need to specify the field's type in order to change its properties")); } } From e9c5c16f6f5753f60068d044bd2e0e85ab5587f1 Mon Sep 17 00:00:00 2001 From: Dave Reed Date: Tue, 19 Oct 2010 12:12:03 -0700 Subject: [PATCH 2/2] Converting usages of Html.LabelFor to the localizable overload. Also inserted spaces where necessary (e.g. 'TagName' -> 'Tag Name'). --HG-- branch : dev --- .../Views/EditorTemplates/Parts/Common.Owner.cshtml | 2 +- .../Views/EditorTemplates/Parts/Routable.RoutePart.cshtml | 2 +- .../Views/EditorTemplates/Parts/Blogs.Blog.Fields.cshtml | 2 +- .../Views/EditorTemplates/Parts/Blogs.BlogArchives.cshtml | 2 +- .../EditorTemplates/Parts/Blogs.RecentBlogPosts.cshtml | 4 ++-- .../Orchard.Experimental/Views/Commands/Execute.cshtml | 2 +- .../Orchard.Packaging/Views/Gallery/Harvest.cshtml | 2 +- .../Modules/Orchard.Tags/Views/Admin/Create.cshtml | 2 +- .../Modules/Orchard.Tags/Views/Admin/Edit.cshtml | 2 +- .../Orchard.Tags/Views/EditorTemplates/Parts/Tags.cshtml | 2 +- .../Modules/Orchard.Users/Views/Admin/Create.cshtml | 8 ++++---- .../Modules/Orchard.Users/Views/Admin/Edit.cshtml | 4 ++-- .../Views/EditorTemplates/Parts/Widgets.LayerPart.cshtml | 6 +++--- .../Views/EditorTemplates/Parts/Widgets.WidgetPart.cshtml | 4 ++-- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Owner.cshtml b/src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Owner.cshtml index 87035578a..fb6dc30b1 100644 --- a/src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Owner.cshtml +++ b/src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts/Common.Owner.cshtml @@ -1,7 +1,7 @@ @model OwnerEditorViewModel @using Orchard.Core.Common.ViewModels;
- @Html.LabelFor(m=>m.Owner) + @Html.LabelFor(m => m.Owner, T("Owner")) @Html.EditorFor(m=>m.Owner) @Html.ValidationMessageFor(m=>m.Owner)
\ No newline at end of file diff --git a/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml b/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml index 0fe8b6b78..483135db2 100644 --- a/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml +++ b/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml @@ -3,7 +3,7 @@ @{ Script.Require("Slugify"); }
- @Html.LabelFor(m => m.Title) + @Html.LabelFor(m => m.Title, T("Title")) @Html.TextBoxFor(m => m.Title, new { @class = "large text" })