Browse Source

Translation fixes

master
Preyea Regmi 5 years ago
parent
commit
4434cf37fa
  1. 12
      app/src/main/java/com/gmeremit/online/gmeremittance_native/registerV2/presenter/RegisterV2Presenter.java
  2. 2
      app/src/main/res/values/strings.xml

12
app/src/main/java/com/gmeremit/online/gmeremittance_native/registerV2/presenter/RegisterV2Presenter.java

@ -90,19 +90,7 @@ public class RegisterV2Presenter extends BasePresenter implements RegisterV2Pres
);
}
private boolean returnFalseIfMobileNoIsNotValid(String mobile) {
if (mobile == null || mobile.length() < 1) {
this.view.setMobileError(getStringfromStringId(R.string.kyc_mobile_empty_error));
return false;
}
if (!Utils.hasNumbersOnly(mobile) || mobile.length() != 11) {
this.view.setMobileError(getStringfromStringId(R.string.kyc_mobile_invalid_number_error));
return false;
}
this.view.setMobileError(null);
return true;
}
@Override

2
app/src/main/res/values/strings.xml

@ -278,7 +278,7 @@
<string name="new_password_placeholder_text">Enter Your New Password</string>
<string name="confirm_new_password_placeholder_text">Confirm Your Password</string>
<string name="save_password_text">Save</string>
<string name="password_policy_text">Password should be at least 6 characters</string>
<string name="password_policy_text">Password should be at least 6 characters</string>
<string name="confirm_password_mismatch_error">Confirm password does not match with new password</string>
<string name="success_text">Success</string>
<string name="confirm_passowrd_empty_error">Confirm password cannot be empty</string>

Loading…
Cancel
Save