Skip to content

Commit 91e8317

Browse files
committed
new label in login form
1 parent 0bdb331 commit 91e8317

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

‎app/js/locales/en-us.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@
563563
"im_voice_recording_cancel_label": "Release to cancel record",
564564
"im_voice_processing_label": "Processing{dots}",
565565
"login_sign_in": "Sign in",
566-
"login_enter_number_description": "Please choose your country and enter your full phone number.",
566+
"login_enter_number_description_md": "Please choose your country and enter your full phone number.\n\nNote that you need an existing account to log in to Telegram Web. To sign up for Telegram, use one of our {apps-link: mobile apps}.",
567567
"login_incorrect_number": "Incorrect phone number",
568568
"login_code_input_placeholder": "Code",
569569
"login_tel_input_placeholder": "Phone number",

‎app/partials/desktop/login.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@
2929

3030
<form name="mySendCodeForm" ng-if="!credentials.phone_code_hash" ng-submit="sendCode()">
3131
<h3 class="login_form_head" my-i18n="login_sign_in"></h3>
32-
<p class="login_form_lead" my-i18n="login_enter_number_description"></p>
32+
<p class="login_form_lead" my-i18n="login_enter_number_description_md">
33+
<my-i18n-param name="apps-link">
34+
<a href="https://telegram.org/apps" target="_blank">{0}</a>
35+
</my-i18n-param>
36+
</p>
37+
3338

3439
<div class="md-input-group md-input-has-value login_phone_country_input_group" ng-click="chooseCountry()">
3540
<label class="md-input-label" my-i18n="login_country_select_placeholder"></label>

‎app/partials/mobile/login.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939

4040
<form name="mySendCodeForm" ng-if="!credentials.phone_code_hash" ng-submit="sendCode()">
4141
<h3 class="login_form_head" my-i18n="login_sign_in"></h3>
42-
<p class="login_form_lead" my-i18n="login_enter_number_description"></p>
42+
<p class="login_form_lead" my-i18n="login_enter_number_description_md">
43+
<my-i18n-param name="apps-link">
44+
<a href="https://telegram.org/apps" target="_blank">{0}</a>
45+
</my-i18n-param>
46+
</p>
4347

4448
<div class="md-input-group md-input-has-value login_phone_country_input_group" ng-click="chooseCountry()">
4549
<label class="md-input-label" my-i18n="login_country_select_placeholder"></label>

0 commit comments

Comments
 (0)