mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
419 lines
24 KiB
HTML
419 lines
24 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Translations</title>
|
|
|
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
|
|
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
|
|
<script>document.cookie="stel_dt="+encodeURIComponent((new Date).getTimezoneOffset())+";path=/;max-age=31536000;samesite=None;secure"</script>
|
|
|
|
<link href="//telegram.org/css/font-roboto.css?1" rel="stylesheet" type="text/css">
|
|
<link href="//telegram.org/css/bootstrap.min.css?3" rel="stylesheet">
|
|
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
|
<link href="/css/telegram.css?240" rel="stylesheet">
|
|
<link href="/css/translations.css?128" rel="stylesheet">
|
|
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
|
<link href="/css/health.css?136" rel="stylesheet">
|
|
<link href="/css/contest-zoo.css?7" rel="stylesheet">
|
|
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
|
<link href="/css/billboard.css?17" rel="stylesheet">
|
|
|
|
</head>
|
|
<body class="emoji_image no-transition">
|
|
|
|
<div id="aj_progress" class="progress-bar"></div>
|
|
|
|
<div id="aj_content"><div class="tr-container">
|
|
<header class=" has-search">
|
|
<div class="container">
|
|
<section class="tr-search">
|
|
<div class="tr-search-field-wrap">
|
|
<div class="tr-search-filters">
|
|
<span class="tr-search-filters-label">Search in:</span><!--
|
|
--><span class="tr-search-filter-wrap tr-search-filter-where"><span class="tr-search-filter dropdown-toggle" data-toggle="dropdown">All</span><span class="dropdown-menu"><ul class="dropdown-menu"><li class="selected"><a class="tr-search-filter-item" data-value="">All</a></li><li><a class="tr-search-filter-item" data-value="key">Key</a></li><li><a class="tr-search-filter-item" data-value="text">Text</a></li></ul></span></span><!--
|
|
--><span class="tr-search-filter-wrap tr-search-filter-lang"><span class="tr-search-filter dropdown-toggle" data-toggle="dropdown">English</span><span class="dropdown-menu"><ul class="dropdown-menu"><li class="selected"><a class="tr-search-filter-item" data-value="en">English</a></li><li><a class="tr-search-filter-item" data-value="af">Afrikaans</a></li><li><a class="tr-search-filter-item" data-value="sq">Albanian</a></li><li><a class="tr-search-filter-item" data-value="am">Amharic</a></li><li><a class="tr-search-filter-item" data-value="ar">Arabic</a></li><li><a class="tr-search-filter-item" data-value="az">Azerbaijani</a></li><li><a class="tr-search-filter-item" data-value="eu">Basque</a></li><li><a class="tr-search-filter-item" data-value="be">Belarusian</a></li><li><a class="tr-search-filter-item" data-value="bn">Bengali</a></li><li><a class="tr-search-filter-item" data-value="bg">Bulgarian</a></li><li><a class="tr-search-filter-item" data-value="my">Burmese</a></li><li><a class="tr-search-filter-item" data-value="ca">Catalan</a></li><li><a class="tr-search-filter-item" data-value="zh-hans">Chinese (Simplified)</a></li><li><a class="tr-search-filter-item" data-value="zh-hant">Chinese (Traditional)</a></li><li><a class="tr-search-filter-item" data-value="hr">Croatian</a></li><li><a class="tr-search-filter-item" data-value="cs">Czech</a></li><li><a class="tr-search-filter-item" data-value="da">Danish</a></li><li><a class="tr-search-filter-item" data-value="nl">Dutch</a></li><li><a class="tr-search-filter-item" data-value="eo">Esperanto</a></li><li><a class="tr-search-filter-item" data-value="et">Estonian</a></li><li><a class="tr-search-filter-item" data-value="fil">Filipino</a></li><li><a class="tr-search-filter-item" data-value="fi">Finnish</a></li><li><a class="tr-search-filter-item" data-value="fr">French</a></li><li><a class="tr-search-filter-item" data-value="gl">Galician</a></li><li><a class="tr-search-filter-item" data-value="de">German</a></li><li><a class="tr-search-filter-item" data-value="el">Greek</a></li><li><a class="tr-search-filter-item" data-value="gu">Gujarati</a></li><li><a class="tr-search-filter-item" data-value="he">Hebrew</a></li><li><a class="tr-search-filter-item" data-value="hi">Hindi</a></li><li><a class="tr-search-filter-item" data-value="hu">Hungarian</a></li><li><a class="tr-search-filter-item" data-value="id">Indonesian</a></li><li><a class="tr-search-filter-item" data-value="ga">Irish</a></li><li><a class="tr-search-filter-item" data-value="it">Italian</a></li><li><a class="tr-search-filter-item" data-value="ja">Japanese</a></li><li><a class="tr-search-filter-item" data-value="kn">Kannada</a></li><li><a class="tr-search-filter-item" data-value="kk">Kazakh</a></li><li><a class="tr-search-filter-item" data-value="km">Khmer</a></li><li><a class="tr-search-filter-item" data-value="ko">Korean</a></li><li><a class="tr-search-filter-item" data-value="lv">Latvian</a></li><li><a class="tr-search-filter-item" data-value="lt">Lithuanian</a></li><li><a class="tr-search-filter-item" data-value="ms">Malay</a></li><li><a class="tr-search-filter-item" data-value="ml">Malayalam</a></li><li><a class="tr-search-filter-item" data-value="mt">Maltese</a></li><li><a class="tr-search-filter-item" data-value="mr">Marathi</a></li><li><a class="tr-search-filter-item" data-value="nb">Norwegian (Bokmål)</a></li><li><a class="tr-search-filter-item" data-value="or">Odia</a></li><li><a class="tr-search-filter-item" data-value="fa">Persian</a></li><li><a class="tr-search-filter-item" data-value="pl">Polish</a></li><li><a class="tr-search-filter-item" data-value="pt-br">Portuguese (Brazil)</a></li><li><a class="tr-search-filter-item" data-value="pt-pt">Portuguese (Portugal)</a></li><li><a class="tr-search-filter-item" data-value="ro">Romanian</a></li><li><a class="tr-search-filter-item" data-value="ru">Russian</a></li><li><a class="tr-search-filter-item" data-value="sr">Serbian</a></li><li><a class="tr-search-filter-item" data-value="sk">Slovak</a></li><li><a class="tr-search-filter-item" data-value="sl">Slovene</a></li><li><a class="tr-search-filter-item" data-value="es">Spanish</a></li><li><a class="tr-search-filter-item" data-value="sw">Swahili</a></li><li><a class="tr-search-filter-item" data-value="sv">Swedish</a></li><li><a class="tr-search-filter-item" data-value="tg">Tajik</a></li><li><a class="tr-search-filter-item" data-value="ta">Tamil</a></li><li><a class="tr-search-filter-item" data-value="te">Telugu</a></li><li><a class="tr-search-filter-item" data-value="th">Thai</a></li><li><a class="tr-search-filter-item" data-value="tr">Turkish</a></li><li><a class="tr-search-filter-item" data-value="tk">Turkmen</a></li><li><a class="tr-search-filter-item" data-value="uk">Ukrainian</a></li><li><a class="tr-search-filter-item" data-value="ur">Urdu</a></li><li><a class="tr-search-filter-item" data-value="uz">Uzbek</a></li><li><a class="tr-search-filter-item" data-value="vi">Vietnamese</a></li></ul></span></span><!--
|
|
--><span class="tr-search-filter-wrap tr-search-filter-langpack"><span class="tr-search-filter dropdown-toggle" data-toggle="dropdown">Unigram</span><span class="dropdown-menu"><ul class="dropdown-menu"><li><a class="tr-search-filter-item" data-value="">All Apps</a></li><li><a class="tr-search-filter-item" data-value="android">Android</a></li><li><a class="tr-search-filter-item" data-value="ios">iOS</a></li><li><a class="tr-search-filter-item" data-value="tdesktop">TDesktop</a></li><li><a class="tr-search-filter-item" data-value="macos">macOS</a></li><li><a class="tr-search-filter-item" data-value="android_x">Android X</a></li><li><a class="tr-search-filter-item" data-value="webk">WebK</a></li><li><a class="tr-search-filter-item" data-value="weba">WebA</a></li><li class="selected"><a class="tr-search-filter-item" data-value="unigram">Unigram</a></li></ul></span></span>
|
|
</div>
|
|
<div class="tr-search-binding binding"></div>
|
|
<div class="tr-search-enter arrow-right"></div>
|
|
<div class="tr-search-reset close"></div>
|
|
<form class="tr-search-form">
|
|
<input class="form-control tr-search-field" placeholder="Search translations and keys" autocomplete="off" value="" />
|
|
</form>
|
|
</div>
|
|
<div class="tr-search-results collapsed"></div>
|
|
</section>
|
|
<div class="header-wrap">
|
|
<div id="header-panel" class="header-panel">
|
|
<div class="header-auth">
|
|
<div class="header-auth-item"><a class="header-search-btn"></a></div><div class="header-auth-item"><a class="header-auth-link login-link" href="/auth">Login</a></div>
|
|
</div>
|
|
<div class="header-breadcrumb header-breadcrumb-simple">
|
|
<ol id="breadcrumb" class="header-nav breadcrumb"><li><a href="/">Translations</a></li><li><a href="/en/">English</a></li><li class="active">Unigram</li></ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<main class="container">
|
|
<nav class="tr-menu"><div class="tr-menu-section tr-menu-has-selected" data-menu-section-id="0">
|
|
<div class="tr-menu-header">
|
|
<span class="tr-menu-header-collapse"></span>
|
|
<div class="tr-menu-header-label">Languages</div>
|
|
<div class="tr-menu-selected">
|
|
<div class="tr-menu-item tr-menu-item-default">
|
|
<span class="nav-label">English</span>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul class="tr-menu-items" id="tr-menu-language-items"><li class="active">
|
|
<a class="tr-menu-item" href="/en/">
|
|
<span class="nav-label">English</span>
|
|
</a>
|
|
</li><li class="languages-link">
|
|
<a class="tr-menu-item">
|
|
<span class="nav-label">Other languages...</span>
|
|
</a>
|
|
</li></ul>
|
|
</div><div class="tr-menu-section tr-menu-has-selected" data-menu-section-id="1">
|
|
<div class="tr-menu-header">
|
|
<span class="tr-menu-header-collapse"></span>
|
|
<div class="tr-menu-header-label">Apps</div>
|
|
<div class="tr-menu-selected">
|
|
<div class="tr-menu-item">
|
|
<span class="nav-label">Unigram</span>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul class="tr-menu-items"><li>
|
|
<a class="tr-menu-item" href="/en/android/">
|
|
<span class="nav-label">Android</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/ios/">
|
|
<span class="nav-label">iOS</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/tdesktop/">
|
|
<span class="nav-label">TDesktop</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/macos/">
|
|
<span class="nav-label">macOS</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/android_x/">
|
|
<span class="nav-label">Android X</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/webk/">
|
|
<span class="nav-label">WebK</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/weba/">
|
|
<span class="nav-label">WebA</span>
|
|
</a>
|
|
</li><li class="active">
|
|
<a class="tr-menu-item" href="/en/unigram/">
|
|
<span class="nav-label">Unigram</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/emoji">
|
|
<span class="nav-label">Emoji</span>
|
|
</a>
|
|
</li></ul>
|
|
</div><div class="tr-menu-section tr-menu-has-selected" data-menu-section-id="2">
|
|
<div class="tr-menu-header">
|
|
<span class="tr-menu-header-collapse"></span>
|
|
<div class="tr-menu-header-label">Sections</div>
|
|
<div class="tr-menu-selected">
|
|
<div class="tr-menu-item">
|
|
<span class="nav-label">All Sections</span>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul class="tr-menu-items"><li class="active">
|
|
<a class="tr-menu-item" href="/en/unigram/">
|
|
<span class="nav-label">All Sections</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/unused/">
|
|
<span class="nav-label">Unused</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/login/">
|
|
<span class="nav-label">Log In</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/chat_list/">
|
|
<span class="nav-label">Chat List</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/private_chats/">
|
|
<span class="nav-label">Private chats</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/groups_and_channels/">
|
|
<span class="nav-label">Groups And Channels</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/profile/">
|
|
<span class="nav-label">Profile</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/settings/">
|
|
<span class="nav-label">Settings</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/stories/">
|
|
<span class="nav-label">Stories</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/camera_and_media/">
|
|
<span class="nav-label">Camera And Media</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/bots_and_payments/">
|
|
<span class="nav-label">Bots And Payments</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/passport/">
|
|
<span class="nav-label">Passport</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/general/">
|
|
<span class="nav-label">General</span>
|
|
</a>
|
|
</li><li>
|
|
<a class="tr-menu-item" href="/en/unigram/unsorted/">
|
|
<span class="nav-label">Unsorted</span>
|
|
</a>
|
|
</li></ul>
|
|
</div></nav>
|
|
<section class="content clearfix">
|
|
<section class="tr-content"><h3 class="tr-header">
|
|
<a href="/en/" class="tr-back"></a>Unigram<span class="tr-header-counter">3480</span>
|
|
<div class="tr-header-tabs"><span class="tr-header-tab"><a href="/en/unigram/recent/translations">Translations</a></span><span class="tr-header-tab"><a href="/en/unigram/recent/suggestions">Suggestions</a></span><span class="tr-header-tab"><a href="/en/unigram/recent/comments">Comments</a></span></div>
|
|
</h3>
|
|
<section class="tr-sections clearfix">
|
|
<div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/login/" class="tr-section">
|
|
<div class="tr-section-cover cover2"></div>
|
|
<div class="tr-section-caption">Log In (56)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/chat_list/" class="tr-section">
|
|
<div class="tr-section-cover cover3"></div>
|
|
<div class="tr-section-caption">Chat List (47)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/private_chats/" class="tr-section">
|
|
<div class="tr-section-cover cover4"></div>
|
|
<div class="tr-section-caption">Private chats (53)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/groups_and_channels/" class="tr-section">
|
|
<div class="tr-section-cover cover8"></div>
|
|
<div class="tr-section-caption">Groups And Channels (190)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/profile/" class="tr-section">
|
|
<div class="tr-section-cover cover5"></div>
|
|
<div class="tr-section-caption">Profile (17)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/settings/" class="tr-section">
|
|
<div class="tr-section-cover cover7"></div>
|
|
<div class="tr-section-caption">Settings (523)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/stories/" class="tr-section">
|
|
<div class="tr-section-cover cover11"></div>
|
|
<div class="tr-section-caption">Stories (97)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/camera_and_media/" class="tr-section">
|
|
<div class="tr-section-cover cover6"></div>
|
|
<div class="tr-section-caption">Camera And Media (0)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/bots_and_payments/" class="tr-section">
|
|
<div class="tr-section-cover cover9"></div>
|
|
<div class="tr-section-caption">Bots And Payments (8)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/passport/" class="tr-section">
|
|
<div class="tr-section-cover cover10"></div>
|
|
<div class="tr-section-caption">Passport (0)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/general/" class="tr-section">
|
|
<div class="tr-section-cover cover1"></div>
|
|
<div class="tr-section-caption">General (39)</div>
|
|
</a></div>
|
|
</div><div class="tr-section-col col-lg-4 col-xs-6">
|
|
<div class="tr-section-wrap"><a href="/en/unigram/unsorted/" class="tr-section">
|
|
<div class="tr-section-cover cover0"></div>
|
|
<div class="tr-section-caption">Unsorted (2493)</div>
|
|
</a></div>
|
|
</div>
|
|
</section></section>
|
|
</section>
|
|
</main>
|
|
</div><div class="popup-container login-popup-container hide" id="login-popup-container">
|
|
<div class="popup">
|
|
<div class="popup-body">
|
|
<section>
|
|
<h2>Log In</h2>
|
|
<p>Log in here to translate Telegram apps. Please enter your <b>phone number</b> in the <a target="_blank" rel="noopener" href="https://telegram.org/faq#login-and-sms">international format</a> and we will send a confirmation message to your account via Telegram.</p>
|
|
|
|
<form id="send-form" class="login-form">
|
|
<div class="form-group">
|
|
<input type="tel" class="form-control tr-form-control input-lg" id="phone-number" placeholder="+12223334455" autocomplete="off"/>
|
|
</div>
|
|
<div class="popup-buttons">
|
|
<a class="btn btn-link btn-lg login-cancel-btn">Cancel</a><button type="submit" class="btn btn-link btn-lg">Next</button>
|
|
</div>
|
|
</form>
|
|
|
|
<div id="login-form" class="hide">
|
|
<div class="form-group">
|
|
<span class="form-control tr-form-control input input-lg input-disabled"><strong id="phone-number-field"></strong> (<a class="login-back" href="/auth">Incorrect?</a>)</span>
|
|
<p class="help-block dots-animated">We've just sent you a message.<br/>Please confirm access via Telegram</p>
|
|
</div>
|
|
<div class="popup-buttons">
|
|
<a class="btn btn-link btn-lg login-cancel-btn">Cancel</a><a class="btn btn-link btn-lg login-back">Back</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div><div class="popup-container languages-popup-container hide" id="languages-popup-container">
|
|
<div class="popup">
|
|
<div class="popup-body popup-has-footer">
|
|
<h4>Languages</h4>
|
|
|
|
<form class="tr-popup-search-form tr-languages-search-form">
|
|
<input class="form-control tr-popup-search-field tr-languages-search-field" placeholder="Search languages" autocomplete="off" value="">
|
|
</form>
|
|
<div class="tr-popup-search-results-wrap tr-languages-results-wrap">
|
|
<div class="tr-popup-search-results tr-languages-results"></div>
|
|
</div>
|
|
<div class="tr-languages-add"><a href="/lang/new" data-layer class="need-auth">Add a new language</a></div>
|
|
</div>
|
|
</div>
|
|
</div></div>
|
|
<script src="//telegram.org/js/jquery.min.js?1"></script>
|
|
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
|
<script src="//telegram.org/js/main-aj.js?70"></script>
|
|
<script src="/js/translations.js?113"></script>
|
|
<script src="/js/jquery-ui.min.js?1"></script>
|
|
<script src="/js/jquery-ex.js?18"></script>
|
|
<script src="/js/tesseract.js?1"></script>
|
|
<script src="/js/main.js?47"></script>
|
|
<script src="/js/tchart.min.js?18"></script>
|
|
<script src="/js/billboard.min.js?1"></script>
|
|
<script src="/js/stats.js?18"></script>
|
|
|
|
<script>ajInit({"version":1072,"apiUrl":"\/api?hash=telegram-crawler","unauth":true,"state":{"searchWhere":"","searchLang":"en","searchLangpack":"unigram","searchQuery":"","whereNames":{"":"All","key":"Key","text":"Text"},"langNames":{"en":"English","af":"Afrikaans","sq":"Albanian","am":"Amharic","ar":"Arabic","az":"Azerbaijani","eu":"Basque","be":"Belarusian","bn":"Bengali","bg":"Bulgarian","my":"Burmese","ca":"Catalan","zh-hans":"Chinese (Simplified)","zh-hant":"Chinese (Traditional)","hr":"Croatian","cs":"Czech","da":"Danish","nl":"Dutch","eo":"Esperanto","et":"Estonian","fil":"Filipino","fi":"Finnish","fr":"French","gl":"Galician","de":"German","el":"Greek","gu":"Gujarati","he":"Hebrew","hi":"Hindi","hu":"Hungarian","id":"Indonesian","ga":"Irish","it":"Italian","ja":"Japanese","kn":"Kannada","kk":"Kazakh","km":"Khmer","ko":"Korean","lv":"Latvian","lt":"Lithuanian","ms":"Malay","ml":"Malayalam","mt":"Maltese","mr":"Marathi","nb":"Norwegian (Bokmål)","or":"Odia","fa":"Persian","pl":"Polish","pt-br":"Portuguese (Brazil)","pt-pt":"Portuguese (Portugal)","ro":"Romanian","ru":"Russian","sr":"Serbian","sk":"Slovak","sl":"Slovene","es":"Spanish","sw":"Swahili","sv":"Swedish","tg":"Tajik","ta":"Tamil","te":"Telugu","th":"Thai","tr":"Turkish","tk":"Turkmen","uk":"Ukrainian","ur":"Urdu","uz":"Uzbek","vi":"Vietnamese"},"langpackList":["android","ios","tdesktop","macos","android_x","webk","weba","unigram"],"langpackNames":{"":"All Apps","android":"Android","ios":"iOS","tdesktop":"TDesktop","macos":"macOS","android_x":"Android X","webk":"WebK","weba":"WebA","unigram":"Unigram"},"langList":["en","af","sq","am","ar","az","eu","be","bn","bg","my","ca","zh-hans","zh-hant","hr","cs","da","nl","eo","et","fil","fi","fr","gl","de","el","gu","he","hi","hu","id","ga","it","ja","kn","kk","km","ko","lv","lt","ms","ml","mt","mr","nb","or","fa","pl","pt-br","pt-pt","ro","ru","sr","sk","sl","es","sw","sv","tg","ta","te","th","tr","tk","uk","ur","uz","vi"],"curLang":"en","curLangpack":"unigram"}});</script>
|
|
<script id="aj_script">l.add({"WEB_PLURALIZED_LABEL_0":"Zero","WEB_PLURALIZED_LABEL_1":"One","WEB_PLURALIZED_LABEL_2":"Two","WEB_PLURALIZED_LABEL_3":"Few","WEB_PLURALIZED_LABEL_4":"Many","WEB_PLURALIZED_LABEL_5":"Other","WEB_NO_TRANSLATIONS_FOUND":"No translations found","WEB_TRANSLATIONS_LOADING":"Loading","WEB_ACTIVATE_LANGPACK_CONFIRM_TEXT":"Do you want to begin translating <b>{lang_pack}<\/b> to <b>{lang}<\/b>?","WEB_ACTIVATE_LANGPACK_CONFIRM_BUTTON":"Start Translating","WEB_LOADING":"Loading","WEB_NO_LANGUAGES_FOUND":"No languages found"});
|
|
Search.init();
|
|
Header.init();
|
|
Nav.init();
|
|
Aj.onLoad(function(state) {
|
|
function requestConfirmation(event) {
|
|
event && event.preventDefault();
|
|
var phone = $('#phone-number').val();
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: '/auth/request',
|
|
data: {
|
|
phone: phone
|
|
},
|
|
success: function(result) {
|
|
$('#phone-number-field').text(phone);
|
|
$('#send-form').addClass('hide');
|
|
$('#login-form').removeClass('hide');
|
|
checkAuth(result.temp_session);
|
|
},
|
|
error: function(xhr) {
|
|
showAlert(xhr.responseText || 'Server error');
|
|
},
|
|
dataType: 'json'
|
|
});
|
|
return false;
|
|
}
|
|
function cancelConfirmation(event) {
|
|
event && event.preventDefault();
|
|
$('#phone-number-field').text('');
|
|
$('#send-form').removeClass('hide');
|
|
$('#login-form').addClass('hide');
|
|
$('#phone-number').focus();
|
|
clearTimeout(window.authTimeout);
|
|
return false;
|
|
}
|
|
function checkAuth(temp_session) {
|
|
clearTimeout(window.authTimeout);
|
|
window.authTimeout = setTimeout(function doCheckAuth() {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: '/auth/login',
|
|
data: {
|
|
temp_session: temp_session
|
|
},
|
|
success: function(result) {
|
|
if (result) {
|
|
location.reload();
|
|
} else {
|
|
checkAuth(temp_session);
|
|
}
|
|
},
|
|
error: function (xhr) {
|
|
showAlert(xhr.responseText || 'Server error');
|
|
},
|
|
dataType: 'json'
|
|
});
|
|
}, 700);
|
|
}
|
|
$('#login-popup-container').on('popup:open', function() {
|
|
$('#phone-number').focus();
|
|
});
|
|
$('#login-popup-container').on('popup:close', function() {
|
|
cancelConfirmation();
|
|
if (location.pathname == '/auth') {
|
|
window.history && history.replaceState(null, null, '/');
|
|
}
|
|
});
|
|
$('#login-popup-container #send-form').on('submit', requestConfirmation);
|
|
$('#login-popup-container .login-cancel-btn').on('click', function(e) {
|
|
e.preventDefault();
|
|
closePopup('#login-popup-container');
|
|
});
|
|
$('#login-popup-container .login-back').on('click', cancelConfirmation);
|
|
$('.login-link').on('click', function(e) {
|
|
e.stopImmediatePropagation();
|
|
e.preventDefault();
|
|
openPopup('#login-popup-container');
|
|
});
|
|
});
|
|
Aj.onUnload(function(state) {
|
|
$('#login-popup-container').off('popup:open');
|
|
$('#login-popup-container').off('popup:close');
|
|
$('#login-popup-container #send-form').off('submit');
|
|
$('#login-popup-container .login-cancel-btn').off('click');
|
|
$('#login-popup-container .login-back').off('click');
|
|
$('.login-link').off('click');
|
|
});
|
|
</script>
|
|
<script>Aj.pageLoaded();</script>
|
|
|
|
</body>
|
|
</html>
|
|
|