Skip to content

Commit c79ffac

Browse files
committed
Final WhatApp hint
1 parent 523c972 commit c79ffac

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

src/index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,22 @@
2323
</head>
2424
<body class="app" data-online="false">
2525
<input type="file" class="ubuntu-touch-content-hub-input" id="contacts_input" accept="text/vcard" multiple/>
26-
<section id="helpWA" class="form" data-transition="horizontal">
27-
<article id="main" class="scroll">
28-
<p>Test</p>
29-
</article>
30-
</section>
3126
<section id="welcome" class="show" data-transition="horizontal">
3227
<article id="main" class="scroll show">
3328
<script type="text/spacebars" name="welcome">
3429
<h1>{{_ 'WelcomeTo' app.name }}<br />{{ app.version }}{{ app.minorVersion }}</h1>
3530
</script>
3631
</article>
3732
</section>
33+
<section id="helpWA" data-transition="horizontal" class="form">
34+
<article id="main" class="headless simple scroll form">
35+
<h1 data-l10n-id="helpWATitle">WhatsApp registration hints</h1>
36+
<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>
37+
<div class="buttongroup">
38+
<button data-role="back" data-view-section="back" data-l10n-id="Ok">Ok</button>
39+
</div>
40+
</article>
41+
</section>
3842
<section id="providers" data-transition="horizontal" class="form">
3943
<article id="main" class="headless simple scroll form">
4044
<h1 data-l10n-id="Providers">Add accounts</h1>

src/l10n/de.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Upgrading=Upgrade läuft
5858
codeReady=Ich habe einen Code
5959
recodeSMS=Wir werden den Code von {{provider}} überprüfen.
6060
recodeRequest=Telefonnummer und Code überprüfen
61+
Help=Hilfe
62+
helpWATitle=WhatsApp Registrierungs-Hinweise
63+
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.
64+
Ok=Ok
6165

6266
# CONNECTION STATUSES=
6367
Connecting=Verbinden

src/l10n/en.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Upgrading=Upgrading
5858
codeReady=I have a code
5959
recodeSMS=Let's check the code {{provider}} sent you.
6060
recodeRequest=Verify phone and code number
61+
Help=Help
62+
helpWATitle=WhatsApp registration hints
63+
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.
64+
Ok=Ok
6165
6266
# CONNECTION STATUSES
6367
Connecting=Connecting

src/scripts/loqui/connectors/coseme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,6 +2546,7 @@ App.connectors.coseme = function (account) {
25462546
var codeReady = $('<button/>').addClass('codeReady').css('backgroundColor', data.color).text(_('codeReady'));
25472547
codeReady[0].dataset.role= 'submit';
25482548
var helpWA = $('<button/>').addClass('helpWA').text(_('Help'));
2549+
helpWA.attr('onclick', 'Lungo.Router.section("helpWA")');
25492550
var back = $('<button/>').addClass('back').text(_('GoBack'));
25502551
smsButtons.append(smsReq).append(voiceReq).append(codeReady).append(helpWA).append(back);
25512552
sms.append(smsButtons);

src/style/loqui/index.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ a {
9090
background-color: #DDD;
9191
color: $primary-text-color;
9292
}
93-
94-
&[data-view-section='helpWA'],
95-
&[data-role='helpWA'],
96-
&.helpWA {
97-
width: 100%;
98-
}
9993

10094
&[data-role='submit'] {
10195
width: 100%;

0 commit comments

Comments
 (0)