clarify help messages
This commit is contained in:
parent
a5e0255ebf
commit
f80a6fa587
2 changed files with 6 additions and 4 deletions
|
@ -259,6 +259,6 @@
|
||||||
<string name="wizard_confirmation">Confirmation</string>
|
<string name="wizard_confirmation">Confirmation</string>
|
||||||
<string name="wizard_verify_account">Check</string>
|
<string name="wizard_verify_account">Check</string>
|
||||||
|
|
||||||
<string name="pref_help_proxy">Redirect registrar packets to this server</string>
|
<string name="pref_help_proxy">SIP proxy hostname or ip address (optional)</string>
|
||||||
<string name="pref_help_outbound_proxy">Redirect all traffic to proxy server</string>
|
<string name="pref_help_outbound_proxy">Route all calls through SIP proxy</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -57,7 +57,8 @@ public class LinphonePreferencesSIPAccountActivity extends PreferenceActivity {
|
||||||
username.getEditText().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
|
username.getEditText().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
|
||||||
username.setTitle(getString(R.string.pref_username));
|
username.setTitle(getString(R.string.pref_username));
|
||||||
username.setPersistent(true);
|
username.setPersistent(true);
|
||||||
username.setDialogMessage("Example: toto if your account is toto@sip.linphone.org");
|
//TODO make it translatable, use john instead of toto.
|
||||||
|
//username.setDialogMessage("Example: toto if your account is toto@sip.linphone.org");
|
||||||
username.setKey(getString(R.string.pref_username_key) + getAccountNumber(n));
|
username.setKey(getString(R.string.pref_username_key) + getAccountNumber(n));
|
||||||
username.setOnPreferenceChangeListener(preferenceChangedListener);
|
username.setOnPreferenceChangeListener(preferenceChangedListener);
|
||||||
|
|
||||||
|
@ -71,7 +72,8 @@ public class LinphonePreferencesSIPAccountActivity extends PreferenceActivity {
|
||||||
domain.getEditText().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
|
domain.getEditText().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
|
||||||
domain.setTitle(getString(R.string.pref_domain));
|
domain.setTitle(getString(R.string.pref_domain));
|
||||||
domain.setPersistent(true);
|
domain.setPersistent(true);
|
||||||
domain.setDialogMessage("Example: sip.linphone.org if your account is toto@sip.linphone.org");
|
//TODO make it translatable, use john instead of toto.
|
||||||
|
//domain.setDialogMessage("Example: sip.linphone.org if your account is toto@sip.linphone.org");
|
||||||
domain.setKey(getString(R.string.pref_domain_key) + getAccountNumber(n));
|
domain.setKey(getString(R.string.pref_domain_key) + getAccountNumber(n));
|
||||||
domain.setOnPreferenceChangeListener(preferenceChangedListener);
|
domain.setOnPreferenceChangeListener(preferenceChangedListener);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue