mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#20057 : Image Editor : Localize buttons Crop, Resize, Filters, Preset
Work Item: 20057
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
Style.Include("~/Modules/Orchard.ImageEditor/Styles/jcrop/css/jquery.Jcrop.css");
|
||||
}
|
||||
|
||||
<button id="crop">Crop</button>
|
||||
<button id="crop">@T("Crop")</button>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<button id="preset">Preset</button>
|
||||
<button id="preset">@T("Preset")</button>
|
||||
@{
|
||||
Script.Include("caman/caman.full.min.js");
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<button id="filters">Filters</button>
|
||||
<button id="filters">@T("Filters")</button>
|
||||
@{
|
||||
Script.Include("caman/caman.full.min.js");
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<button id="resize">Resize</button>
|
||||
<button id="resize">@T("Resize")</button>
|
||||
|
||||
@using (Script.Foot()) {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
jQuery(function ($) {
|
||||
$.imageEditor.registerPlugin(function () {
|
||||
console.log('initiliazing resize');
|
||||
console.log('initializing resize');
|
||||
var host = $.imageEditor;
|
||||
|
||||
var oldWidth, oldHeight, ratio;
|
||||
|
Reference in New Issue
Block a user