2023-04-14 16:10:09 +02:00
<!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?236" rel = "stylesheet" >
< link href = "/css/translations.css?126" 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 = "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 > < /
-->< 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/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" >
2023-05-08 20:45:39 +02:00
< a href = "/en/" class = "tr-back" > < / a > Unigram< span class = "tr-header-counter" > 2308< / span >
2023-04-14 16:10:09 +02:00
< 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 (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/chat_list/" class = "tr-section" >
< div class = "tr-section-cover cover3" > < / div >
2023-05-05 23:19:41 +02:00
< div class = "tr-section-caption" > Chat List (47)< / div >
2023-04-14 16:10:09 +02:00
< / 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 >
2023-05-05 23:28:28 +02:00
< div class = "tr-section-caption" > Private chats (53)< / div >
2023-04-14 16:10:09 +02:00
< / 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 >
2023-05-05 23:37:06 +02:00
< div class = "tr-section-caption" > Groups And Channels (191)< / div >
2023-04-14 16:10:09 +02:00
< / 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 >
2023-04-29 02:27:46 +02:00
< div class = "tr-section-caption" > Profile (17)< / div >
2023-04-14 16:10:09 +02:00
< / 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 >
2023-05-10 14:49:04 +02:00
< div class = "tr-section-caption" > Settings (527)< / div >
2023-04-14 16:10:09 +02:00
< / 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 >
2023-04-29 02:27:46 +02:00
< div class = "tr-section-caption" > Bots And Payments (5)< / div >
2023-04-14 16:10:09 +02:00
< / 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 (37)< / 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 >
2023-05-10 14:49:04 +02:00
< div class = "tr-section-caption" > Unsorted (1427)< / div >
2023-04-14 16:10:09 +02:00
< / 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?67" > < / script >
< script src = "/js/translations.js?113" > < / script >
< script src = "/js/jquery-ui.min.js?1" > < / script >
< script src = "/js/jquery-ex.js?14" > < / 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" : 1055 , "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" , "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" , "ta" : "Tamil" , "te" : "Telugu" , "th" : "Thai" , "tr" : "Turkish" , "tk" : "Turkmen" , "uk" : "Ukrainian" , "ur" : "Urdu" , "uz" : "Uzbek" , "vi" : "Vietnamese" } , "langpackList" : [ ] , "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" , "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" , "ta" , "te" , "th" , "tr" , "tk" , "uk" , "ur" , "uz" , "vi" ] , "curLang" : "en" , "curLangpack" : "unigram" } } ) ; < / script >
< script id = "aj_script" > l . a d d ( { " W E B _ P L U R A L I Z E D _ L A B E L _ 0 " : " Z e r o " , " W E B _ P L U R A L I Z E D _ L A B E L _ 1 " : " O n e " , " W E B _ P L U R A L I Z E D _ L A B E L _ 2 " : " T w o " , " W E B _ P L U R A L I Z E D _ L A B E L _ 3 " : " F e w " , " W E B _ P L U R A L I Z E D _ L A B E L _ 4 " : " M a n y " , " W E B _ P L U R A L I Z E D _ L A B E L _ 5 " : " O t h e r " , " W E B _ N O _ T R A N S L A T I O N S _ F O U N D " : " N o t r a n s l a t i o n s f o u n d " , " W E B _ T R A N S L A T I O N S _ L O A D I N G " : " L o a d i n g " , " W E B _ A C T I V A T E _ L A N G P A C K _ C O N F I R M _ T E X T " : " D o y o u w a n t t o b e g i n t r a n s l a t i n g < b > { l a n g _ p a c k } < \ / b > t o < b > { l a n g } < \ / b > ? " , " W E B _ A C T I V A T E _ L A N G P A C K _ C O N F I R M _ B U T T O N " : " S t a r t T r a n s l a t i n g " , " W E B _ L O A D I N G " : " L o a d i n g " , " W E B _ N O _ L A N G U A G E S _ F O U N D " : " N o l a n g u a g e s f o u n d " } ) ;
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 >