Skip to content

Commit

Permalink
Final WhatApp hint
Browse files Browse the repository at this point in the history
  • Loading branch information
nfsprodriver committed Aug 28, 2017
1 parent 523c972 commit c79ffac
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
14 changes: 9 additions & 5 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,22 @@
</head>
<body class="app" data-online="false">
<input type="file" class="ubuntu-touch-content-hub-input" id="contacts_input" accept="text/vcard" multiple/>
<section id="helpWA" class="form" data-transition="horizontal">
<article id="main" class="scroll">
<p>Test</p>
</article>
</section>
<section id="welcome" class="show" data-transition="horizontal">
<article id="main" class="scroll show">
<script type="text/spacebars" name="welcome">
<h1>{{_ 'WelcomeTo' app.name }}<br />{{ app.version }}{{ app.minorVersion }}</h1>
</script>
</article>
</section>
<section id="helpWA" data-transition="horizontal" class="form">
<article id="main" class="headless simple scroll form">
<h1 data-l10n-id="helpWATitle">WhatsApp registration hints</h1>
<p data-l10n-id="helpWAText">The rgistration process may fail due to several reasons. This could be caused by a previous registration on LoquiIM. Wait a couple of hours/days and order a new code. Also try the Voice option. If you used an official client like Android, it could help to login there again and DELETE(!) your account to avoid en- and decryption issues. This could also help at the registration itself, even if you haven't used such client. Thanks for understanding! We'll be at your disposal at any questions.</p>
<div class="buttongroup">
<button data-role="back" data-view-section="back" data-l10n-id="Ok">Ok</button>
</div>
</article>
</section>
<section id="providers" data-transition="horizontal" class="form">
<article id="main" class="headless simple scroll form">
<h1 data-l10n-id="Providers">Add accounts</h1>
Expand Down
4 changes: 4 additions & 0 deletions src/l10n/de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ Upgrading=Upgrade läuft
codeReady=Ich habe einen Code
recodeSMS=Wir werden den Code von {{provider}} überprüfen.
recodeRequest=Telefonnummer und Code überprüfen
Help=Hilfe
helpWATitle=WhatsApp Registrierungs-Hinweise
helpWAText=Es ist möglich, dass die Registrierung aus verschiedenen Gründen fehlschlägt. Dies kann auf eine zuvorige Registrierung mit LoquiIM zurückzuführen sein. Warte einige Stunden/Tage und fordere erneut einen Code an. Probiere auch die Anruf-Option. Solltest Du zuvor einen offiziellen Client wie Android verwendet haben, ist es ratsam, Dich kurz wieder darüber anzumelden und Deinen Account zu LÖSCHEN(!), um im Idealfall Ver- und Entschlüsselungsprobleme zu vermeiden. Dies kann auch bei der Registrierung selbst hilfreich sein, auch wenn Du keinen solchen Client verwendet hast. Wir bitten um Verständnis! Bei weiteren Fragen stehen wir Dir gerne zur Verfügung.
Ok=Ok

# CONNECTION STATUSES=
Connecting=Verbinden
Expand Down
4 changes: 4 additions & 0 deletions src/l10n/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ Upgrading=Upgrading
codeReady=I have a code
recodeSMS=Let's check the code {{provider}} sent you.
recodeRequest=Verify phone and code number
Help=Help
helpWATitle=WhatsApp registration hints
helpWAText=The rgistration process may fail due to several reasons. This could be caused by a previous registration on LoquiIM. Wait a couple of hours/days and order a new code. Also try the Voice option. If you used an official client like Android, it could help to login there again and DELETE(!) your account to avoid en- and decryption issues. This could also help at the registration itself, even if you haven't used such client. Thanks for understanding! We'll be at your disposal at any questions.
Ok=Ok
# CONNECTION STATUSES
Connecting=Connecting
Expand Down
1 change: 1 addition & 0 deletions src/scripts/loqui/connectors/coseme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2546,6 +2546,7 @@ App.connectors.coseme = function (account) {
var codeReady = $('<button/>').addClass('codeReady').css('backgroundColor', data.color).text(_('codeReady'));
codeReady[0].dataset.role= 'submit';
var helpWA = $('<button/>').addClass('helpWA').text(_('Help'));
helpWA.attr('onclick', 'Lungo.Router.section("helpWA")');
var back = $('<button/>').addClass('back').text(_('GoBack'));
smsButtons.append(smsReq).append(voiceReq).append(codeReady).append(helpWA).append(back);
sms.append(smsButtons);
Expand Down
6 changes: 0 additions & 6 deletions src/style/loqui/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ a {
background-color: #DDD;
color: $primary-text-color;
}

&[data-view-section='helpWA'],
&[data-role='helpWA'],
&.helpWA {
width: 100%;
}

&[data-role='submit'] {
width: 100%;
Expand Down

0 comments on commit c79ffac

Please sign in to comment.