React-native-image-crop-picker: Add support for cropper texts

Created on 2 Jun 2020  路  3Comments  路  Source: ivpusic/react-native-image-crop-picker

Just a feature request, it would be nice to have support for all cropper strings.

iOS - scale:

  • Original
  • Square
  • Cancel

Android

  • Scale
  • Rotate

Most helpful comment

Currently we can't dynamic set it, but we can do set the default color and text:

set color:(create the file if not exist)

ourProj/android/app/src/main/res/values/colors.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <color name="ucrop_color_blaze_orange">#037ffc</color> </resources>

set toolbar text:(create the file if not exist), pls use your own text

ourProj/android/app/src/main/res/values/strings.xml
<resources> <string name="ucrop_rotate">鏃嬭綁</string> <string name="ucrop_scale">绺斁</string> <string name="ucrop_crop">瑁佸壀</string> </resources>

trick: we can use * or - instead of these tree text, which is more common and no localize issue for these common text.

All 3 comments

+1

+1

Currently we can't dynamic set it, but we can do set the default color and text:

set color:(create the file if not exist)

ourProj/android/app/src/main/res/values/colors.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <color name="ucrop_color_blaze_orange">#037ffc</color> </resources>

set toolbar text:(create the file if not exist), pls use your own text

ourProj/android/app/src/main/res/values/strings.xml
<resources> <string name="ucrop_rotate">鏃嬭綁</string> <string name="ucrop_scale">绺斁</string> <string name="ucrop_crop">瑁佸壀</string> </resources>

trick: we can use * or - instead of these tree text, which is more common and no localize issue for these common text.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Martian2Lee picture Martian2Lee  路  3Comments

pavsidhu picture pavsidhu  路  3Comments

aterribili picture aterribili  路  3Comments

Phenek picture Phenek  路  3Comments

phantom1299 picture phantom1299  路  3Comments