summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/NewProviderDialog.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-06-20 16:52:43 +0200
committerParménides GV <parmegv@sdf.org>2013-06-20 16:53:14 +0200
commitf4956bb818fb9ed04760e6de3b53b876272da5cc (patch)
tree94b7b8629ea75a6e4db730aa20232103799ae7a0 /src/se/leap/leapclient/NewProviderDialog.java
parentd475ae617d8dc0994a1294be7c8cca338a68fd9e (diff)
User messages are now in string.xml
Some more constants added to ConfigHelper. This solves #2908.
Diffstat (limited to 'src/se/leap/leapclient/NewProviderDialog.java')
-rw-r--r--src/se/leap/leapclient/NewProviderDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/NewProviderDialog.java b/src/se/leap/leapclient/NewProviderDialog.java
index 5b84ec03..678e805f 100644
--- a/src/se/leap/leapclient/NewProviderDialog.java
+++ b/src/se/leap/leapclient/NewProviderDialog.java
@@ -65,10 +65,10 @@ public class NewProviderDialog extends DialogFragment {
boolean danger_on = danger_checkbox.isChecked();
if(validURL(entered_url)) {
interface_with_ConfigurationWizard.saveProvider(entered_url, danger_on);
- Toast.makeText(getActivity().getApplicationContext(), "It seems your URL is well formed", Toast.LENGTH_LONG).show();
+ Toast.makeText(getActivity().getApplicationContext(), R.string.valid_url_entered, Toast.LENGTH_LONG).show();
} else {
url_input_field.setText("");
- Toast.makeText(getActivity().getApplicationContext(), "It seems your URL is not well formed", Toast.LENGTH_LONG).show();
+ Toast.makeText(getActivity().getApplicationContext(), R.string.not_valid_password_message, Toast.LENGTH_LONG).show();
}
}
})