From 22afd5691fdf90e2d758b7ea52218f1f0205627a Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 5 Jun 2012 13:46:32 +0200 Subject: [PATCH] Updated help messages + manifest + gitignore --- .gitignore | 3 ++ AndroidManifest.xml | 39 +++++++++---------- res/values/strings.xml | 2 + ...LinphonePreferencesSIPAccountActivity.java | 6 +-- 4 files changed, 26 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 83bec1ac8..3a33fd217 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ obj gen bin doc +ant.properties +local.properties +project.properties diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 10c22e27a..930c4dde9 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3,7 +3,25 @@ package="org.linphone" android:versionCode="1310" android:versionName="1.3.1" android:installLocation="auto"> - + + + + + + + + + + + + + + + + + + + @@ -205,23 +223,4 @@ - - - - - - - - - - - - - - - - - - - diff --git a/res/values/strings.xml b/res/values/strings.xml index 39a44158e..3ee1e4190 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -261,4 +261,6 @@ SIP proxy hostname or ip address (optional) Route all calls through SIP proxy +Example: john if your account is john@sip.linphone.org +sip.linphone.org if your account is john@sip.linphone.org diff --git a/src/org/linphone/LinphonePreferencesSIPAccountActivity.java b/src/org/linphone/LinphonePreferencesSIPAccountActivity.java index 46c63074b..c61762e1d 100644 --- a/src/org/linphone/LinphonePreferencesSIPAccountActivity.java +++ b/src/org/linphone/LinphonePreferencesSIPAccountActivity.java @@ -57,8 +57,7 @@ public class LinphonePreferencesSIPAccountActivity extends PreferenceActivity { username.getEditText().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS); username.setTitle(getString(R.string.pref_username)); username.setPersistent(true); - //TODO make it translatable, use john instead of toto. - //username.setDialogMessage("Example: toto if your account is toto@sip.linphone.org"); + username.setDialogMessage(getString(R.string.pref_help_username)); username.setKey(getString(R.string.pref_username_key) + getAccountNumber(n)); username.setOnPreferenceChangeListener(preferenceChangedListener); @@ -72,8 +71,7 @@ public class LinphonePreferencesSIPAccountActivity extends PreferenceActivity { domain.getEditText().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS); domain.setTitle(getString(R.string.pref_domain)); domain.setPersistent(true); - //TODO make it translatable, use john instead of toto. - //domain.setDialogMessage("Example: sip.linphone.org if your account is toto@sip.linphone.org"); + domain.setDialogMessage(getString(R.string.pref_help_domain)); domain.setKey(getString(R.string.pref_domain_key) + getAccountNumber(n)); domain.setOnPreferenceChangeListener(preferenceChangedListener);