Remove Android requirement from install flow

// FREEBIE
This commit is contained in:
lilia 2016-08-31 13:38:11 -07:00
parent 1fa722624e
commit 9b645f90c8
3 changed files with 22 additions and 4 deletions

View file

@ -168,6 +168,24 @@
}
}
},
"installSignalLinks": {
"message": "First, install Signal on your <a $play_store$>Android</a> or <a $app_store$>iPhone</a>.<br /> We'll link your devices and keep your messages in sync.",
"description": "Prompt the user to install Signal on their phone before linking",
"placeholders": {
"play_store": {
"content": "$1",
"example": "href='http://example.com'"
},
"app_store": {
"content": "$1",
"example": "href='http://example.com'"
}
}
},
"installGotIt": {
"message": "Got it",
"description": "Button for the user to confirm that they have Signal installed."
},
"installIHaveSignalButton": {
"message": "I have Signal for Android",
"description": "Button for the user to confirm that they have Signal for Android"

View file

@ -8,14 +8,15 @@
Whisper.InstallView = Whisper.View.extend({
templateName: 'install_flow_template',
render_attributes: function() {
var installSignalHref = 'https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms';
var playStoreHref = 'https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms';
var appStoreHref = 'https://itunes.apple.com/us/app/signal-private-messenger/id874139669';
var twitterHref = 'https://twitter.com/whispersystems';
return {
installWelcome: i18n('installWelcome'),
installTagline: i18n('installTagline'),
installGetStartedButton: i18n('installGetStartedButton'),
installSignalLink: this.i18n_with_link('installSignalLink', installSignalHref),
installIHaveSignalButton: i18n('installIHaveSignalButton'),
installSignalLink: this.i18n_with_link('installSignalLinks', playStoreHref, appStoreHref),
installIHaveSignalButton: i18n('installGotIt'),
installFollowUs: this.i18n_with_link('installFollowUs', twitterHref),
installAndroidInstructions: i18n('installAndroidInstructions'),
installLinkingWithNumber: i18n('installLinkingWithNumber'),

View file

@ -26,7 +26,6 @@
<div class='nav'>
<p>{{{ installSignalLink }}}</p>
<div> <a class='button step3'>{{ installIHaveSignalButton }}</a> </div>
<p>{{{ installFollowUs }}}</p>
<span class='dot step1'></span>
<span class='dot step2 selected'></span>
<span class='dot step3'></span>