mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-31 21:15:28 +08:00
#20057 : Image Editor : Localize buttons Crop, Resize, Filters, Preset
Work Item: 20057
This commit is contained in:
parent
1c9eb8c23a
commit
92111e203f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user