mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge branch 'feature/localizationchanges' of https://git01.codeplex.com/orchard into feature/localizationchanges
This commit is contained in:
@@ -15,6 +15,7 @@ Features:
|
||||
Description: Enables localization of date/time formats and names of days and months.
|
||||
Category: Content
|
||||
Name: Date/Time Format Localization
|
||||
Dependencies: Orchard.Localization
|
||||
Orchard.Localization.CutlureSelector:
|
||||
Description: Enables a culture picker to localize the UI.
|
||||
Category: Content
|
||||
|
@@ -41,7 +41,8 @@ namespace Orchard.Localization.Services {
|
||||
return;
|
||||
}
|
||||
|
||||
if (context.ShapeMetadata.Type != "EditorTemplate")
|
||||
if (context.ShapeMetadata.Type != "EditorTemplate" &&
|
||||
context.ShapeMetadata.Type != "Zone")
|
||||
return;
|
||||
|
||||
ContentItem contentItem = context.Shape.ContentItem;
|
||||
|
@@ -441,6 +441,10 @@
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dir-rtl #media-library-main-navigation > ul { /* sub-navigations, e.g. folders */
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
.dir-rtl #button-recent i {
|
||||
padding-left:5px;
|
||||
padding-right: 3px;
|
||||
|
@@ -126,7 +126,7 @@
|
||||
}
|
||||
.dir-rtl .screenshotThumbnail .extensionThumbnail {
|
||||
right: inherit;
|
||||
right: 191px;
|
||||
left: 191px;
|
||||
}
|
||||
.dir-rtl .properties li p {
|
||||
float: right;
|
||||
|
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
|
||||
@if (cultures.Count() > 1) {
|
||||
@using (Html.BeginForm("index", "admin", FormMethod.Get, new { area = "Orchard.Widgets" })) {
|
||||
using (Html.BeginForm("index", "admin", FormMethod.Get, new { area = "Orchard.Widgets" })) {
|
||||
<fieldset class="bulk-actions-auto">
|
||||
<label for="culture">@T("Current Culture:")</label>
|
||||
<select id="culture" name="culture">
|
||||
|
Reference in New Issue
Block a user