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" })
+ + +
+

Available Widgets

+ +
+ + + + + + + + + + + + @foreach (string widget in Model.WidgetTypes) { + + + + + } +
@T("Name")
@widget@Html.ActionLink(T("Add").ToString(), "AddWidget", new { layerId = Model.CurrentLayer.Id, widgetType = widget })
+ +
+
} \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.LayerPart.cshtml b/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.LayerPart.cshtml index e31e1b67e..352b73dc4 100644 --- a/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.LayerPart.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.LayerPart.cshtml @@ -1,16 +1,16 @@ @model Orchard.Widgets.Models.LayerPart
- @Html.LabelFor(layer => layer.Name) + @Html.LabelFor(layer => layer.Name, T("Name")) @Html.TextBoxFor(layer => layer.Name)
- @Html.LabelFor(layer => layer.Description) + @Html.LabelFor(layer => layer.Description, T("Description")) @Html.TextAreaFor(layer => layer.Description)
- @Html.LabelFor(layer => layer.LayerRule) + @Html.LabelFor(layer => layer.LayerRule, T("Layer Rule")) @Html.TextAreaFor(layer => layer.LayerRule)
\ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.WidgetPart.cshtml b/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.WidgetPart.cshtml index 573edadd0..c419a0e5e 100644 --- a/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.WidgetPart.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Widgets/Views/EditorTemplates/Parts/Widgets.WidgetPart.cshtml @@ -1,11 +1,11 @@ @model Orchard.Widgets.Models.WidgetPart
- @Html.LabelFor(widget => widget.Zone) + @Html.LabelFor(widget => widget.Zone, T("Zone")) @Html.DropDownListFor(widget => widget.Zone, new SelectList(Model.AvailableZones))
- @Html.LabelFor(widget => widget.Title) + @Html.LabelFor(widget => widget.Title, T("Title")) @Html.TextBoxFor(widget => widget.Title)
\ No newline at end of file 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")); } }