Skip to content

Commit

Permalink
Merge branch 'master' into hotfix/github_issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anna committed Aug 14, 2017
2 parents 9e2bb06 + 5b32f95 commit c0547c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ private boolean shouldCrop(int width, int height) {
|| Math.abs(mCropRect.left - mCurrentImageRect.left) > pixelError
|| Math.abs(mCropRect.top - mCurrentImageRect.top) > pixelError
|| Math.abs(mCropRect.bottom - mCurrentImageRect.bottom) > pixelError
|| Math.abs(mCropRect.right - mCurrentImageRect.right) > pixelError;
|| Math.abs(mCropRect.right - mCurrentImageRect.right) > pixelError
|| mCurrentAngle != 0;
}

@SuppressWarnings("JniMissingFunction")
Expand Down
6 changes: 6 additions & 0 deletions ucrop/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ucrop_label_edit_photo">Foto editieren</string>
<string name="ucrop_label_original">Original</string>
<string name="ucrop_menu_crop">Zuschneiden</string>
</resources>
4 changes: 2 additions & 2 deletions ucrop/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<string name="ucrop_menu_crop">Crop</string>

<string name="ucrop_error_input_data_is_absent">Both input and output Uri must be specified</string>
<string name="ucrop_mutate_exception_hint">Therefore, override color resource (ucrop_color_toolbar_widget) in your app to make it work on pre-L devices</string>
<string name="ucrop_error_input_data_is_absent" translatable="false">Both input and output Uri must be specified</string>
<string name="ucrop_mutate_exception_hint" translatable="false">Therefore, override color resource (ucrop_color_toolbar_widget) in your app to make it work on pre-L devices</string>

</resources>

0 comments on commit c0547c1

Please sign in to comment.