Merge "Fix confusing setup screen title."
This commit is contained in:
commit
b89bc81f54
@ -295,6 +295,12 @@
|
|||||||
|
|
||||||
<!-- Title of screen when setting up new email account -->
|
<!-- Title of screen when setting up new email account -->
|
||||||
<string name="account_setup_basics_title">Set up email</string>
|
<string name="account_setup_basics_title">Set up email</string>
|
||||||
|
<!-- Title of the screen when adding exchange account -->
|
||||||
|
<string name="account_setup_basics_exchange_title">
|
||||||
|
Add an Exchange account</string>
|
||||||
|
<!-- Title of the screen when adding exchange account -->
|
||||||
|
<string name="account_setup_basics_exchange_title_alternate">
|
||||||
|
Add an Exchange ActiveSync account</string>
|
||||||
<!-- On "Set up email" screen, enthusiastic welcome message. -->
|
<!-- On "Set up email" screen, enthusiastic welcome message. -->
|
||||||
<string name="accounts_welcome">You can configure Email for most accounts in just a few steps.
|
<string name="accounts_welcome">You can configure Email for most accounts in just a few steps.
|
||||||
</string>
|
</string>
|
||||||
|
@ -197,7 +197,12 @@ public class AccountSetupBasics extends Activity
|
|||||||
mManualSetupButton.setVisibility(View.GONE);
|
mManualSetupButton.setVisibility(View.GONE);
|
||||||
// Swap welcome text for EAS-specific text
|
// Swap welcome text for EAS-specific text
|
||||||
TextView welcomeView = (TextView) findViewById(R.id.instructions);
|
TextView welcomeView = (TextView) findViewById(R.id.instructions);
|
||||||
welcomeView.setText(VendorPolicyLoader.getInstance(this).useAlternateExchangeStrings()
|
final boolean alternateStrings =
|
||||||
|
VendorPolicyLoader.getInstance(this).useAlternateExchangeStrings();
|
||||||
|
setTitle(alternateStrings
|
||||||
|
? R.string.account_setup_basics_exchange_title_alternate
|
||||||
|
: R.string.account_setup_basics_exchange_title);
|
||||||
|
welcomeView.setText(alternateStrings
|
||||||
? R.string.accounts_welcome_exchange_alternate
|
? R.string.accounts_welcome_exchange_alternate
|
||||||
: R.string.accounts_welcome_exchange);
|
: R.string.accounts_welcome_exchange);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user