Skip to content
Browse files

Change croped to cropped. Fix example imports.

  • Loading branch information...
1 parent 2eb9d26 commit 3c143e7c3922d9c2cbb3d3fc1595432e121ffcea @knicholes knicholes committed Apr 21, 2013
Showing with 5 additions and 5 deletions.
  1. +1 −1 cicu/settings.py
  2. +1 −1 cicu/static/cicu/js/cicu-widget.js
  3. +3 −3 example/formexample/models.py
View
2 cicu/settings.py
@@ -4,4 +4,4 @@
# Number of seconds to keep uploaded files. The clean_uploaded command will
# delete them after this has expired.
UPLOADER_DELETE_AFTER = getattr(settings, 'UPLOADER_DELETE_AFTER', 60 * 60)
-IMAGE_CROPPED_UPLOAD_TO = getattr(settings, 'IMAGE_CROPPED_UPLOAD_TO', 'cicu_croped/')
+IMAGE_CROPPED_UPLOAD_TO = getattr(settings, 'IMAGE_CROPPED_UPLOAD_TO', 'cicu_cropped/')
View
2 cicu/static/cicu/js/cicu-widget.js
@@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
modalButtonLabel : 'Upload image',
changeButtonText : 'Change Image',
sizeAlertMessage : 'Warning: the area selected is little, min size:',
- sizeErrorMessage : "Image don't have minimal size",
+ sizeErrorMessage : "Image doesn't meet the minimal size requirement",
modalSaveCropMessage: 'Set image',
modalCloseCropMessage: 'Close',
uploadingMessage : 'Uploading your image',
View
6 example/formexample/models.py
@@ -18,7 +18,7 @@ class Meta:
'sizeWarning': 'False', #if True the crop selection have to respect minimal ratio size defined above.
}
widgets = {
- 'image': CicuUploderInput(options=cicuOptions)
+ 'image': CicuUploaderInput(options=cicuOptions)
}
class fixedRatioCrop(forms.ModelForm):
@@ -30,7 +30,7 @@ class Meta:
'sizeWarning': 'False', #if True the crop selection have to respect minimal ratio size defined above.
}
widgets = {
- 'image': CicuUploderInput(options=cicuOptions)
+ 'image': CicuUploaderInput(options=cicuOptions)
}
class warningSizeCrop(forms.ModelForm):
@@ -42,5 +42,5 @@ class Meta:
'sizeWarning': 'True', #if True the crop selection have to respect minimal ratio size defined above.
}
widgets = {
- 'image': CicuUploderInput(options=cicuOptions)
+ 'image': CicuUploaderInput(options=cicuOptions)
}

0 comments on commit 3c143e7

Please sign in to comment.
Something went wrong with that request. Please try again.