mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Strings extracted from PinCodeActivity to resources
This commit is contained in:
parent
3e4f8b4f0d
commit
de5d818781
2 changed files with 10 additions and 7 deletions
|
@ -75,7 +75,10 @@
|
|||
<string name="use_ssl">Use Secure Connection</string>
|
||||
<string name="location_no_provider">ownCloud cannot track your device. Please check your location settings</string>
|
||||
|
||||
<string name="pincode_enter_pin_code">Enter pin code</string>
|
||||
<string name="pincode_enter_pin_code">Please, insert your PIN code</string>
|
||||
<string name="pincode_enter_new_pin_code">Please, insert your new PIN code</string>
|
||||
<string name="pincode_configure_your_pin">Configure your PIN code</string>
|
||||
<string name="pincode_confirm_your_pincode">"Confirm your PIN code, please"</string>
|
||||
|
||||
<string-array name="prefs_trackmydevice_intervall_keys">
|
||||
<item>15 Minutes</item>
|
||||
|
|
|
@ -102,13 +102,13 @@ public class PinCodeActivity extends SherlockFragmentActivity {
|
|||
protected void setInitView(){
|
||||
bCancel.setVisibility(View.INVISIBLE);
|
||||
bCancel.setVisibility(View.GONE);
|
||||
mPinHdr.setText("Please, Insert your PIN");
|
||||
mPinHdr.setText(R.string.pincode_enter_pin_code);
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void setChangePincodeView(){
|
||||
mPinHdr.setText("Configure your PIN");
|
||||
mPinHdr.setText(R.string.pincode_configure_your_pin);
|
||||
bCancel.setOnClickListener(new OnClickListener() {
|
||||
|
||||
@Override
|
||||
|
@ -330,7 +330,7 @@ public class PinCodeActivity extends SherlockFragmentActivity {
|
|||
if (!confirmingPinCode && !newPasswordEntered){
|
||||
pinCodeChangeRequest();
|
||||
} else if (newPasswordEntered && !confirmingPinCode){
|
||||
mPinHdr.setText("Confirm your PINCode, please");
|
||||
mPinHdr.setText(R.string.pincode_confirm_your_pincode);
|
||||
confirmingPinCode = true;
|
||||
clearBoxes();
|
||||
} else {
|
||||
|
@ -411,7 +411,7 @@ public class PinCodeActivity extends SherlockFragmentActivity {
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
// TODO Auto-generated method stub
|
||||
setChangePincodeView();
|
||||
mPinHdr.setText("Please, insert your new PIN Code");
|
||||
mPinHdr.setText(R.string.pincode_enter_new_pin_code);
|
||||
clearBoxes();
|
||||
newPasswordEntered = true;
|
||||
}
|
||||
|
@ -471,7 +471,7 @@ public class PinCodeActivity extends SherlockFragmentActivity {
|
|||
});
|
||||
aDialog.show();
|
||||
clearBoxes();
|
||||
mPinHdr.setText("Configure your PIN");
|
||||
mPinHdr.setText(R.string.pincode_configure_your_pin);
|
||||
newPasswordEntered = true;
|
||||
confirmingPinCode = false;
|
||||
|
||||
|
@ -512,7 +512,7 @@ public class PinCodeActivity extends SherlockFragmentActivity {
|
|||
|
||||
});
|
||||
aDialog.show();
|
||||
mPinHdr.setText("Configure your PIN");
|
||||
mPinHdr.setText(R.string.pincode_configure_your_pin);
|
||||
clearBoxes();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue