Browse Source

Update 2017-01-19T16:10:59.863Z

gh-pages
Igor Zhukov 8 years ago
parent
commit
3dabc2f599
  1. 2
      css/app.css
  2. 2
      css/badbrowser.css
  3. 36
      css/desktop.css
  4. BIN
      img/icons/IconsetW.png
  5. BIN
      img/icons/IconsetW_2x.png
  6. 14
      js/app.js
  7. 7
      js/locales/de-de.json
  8. 2
      js/locales/en-us.json
  9. 9
      js/locales/es-es.json
  10. 7
      js/locales/it-it.json
  11. 7
      js/locales/nl-nl.json
  12. 7
      js/locales/pt-br.json
  13. 7
      js/locales/ru-ru.json
  14. 3
      manifest.json
  15. 69
      manifest.webapp.json
  16. 2
      service_worker.js
  17. 2
      webogram.appcache

2
css/app.css

@ -2001,7 +2001,7 @@ a.md_modal_list_peer_name{color:inherit}
.inactive_actions{margin-top:15px} .inactive_actions{margin-top:15px}
@media print{body,html{background:#fff} @media print{body,html{background:#fff}
body .im_page_wrap{border:0;box-shadow:none;overflow:visible} body .im_page_wrap{border:0;box-shadow:none;overflow:visible}
body .im_bottom_panel_wrap,body .im_dialogs_col_wrap,body .tg_head_logo_wrap,body .tg_head_msgs_edit_btn,body .tg_head_peer_dropdown,body .tg_head_peer_return_btn{display:none} body .im_bottom_panel_wrap,body .im_dialogs_col_wrap,body .tg_head_logo_wrap,body .tg_head_peer_dropdown,body .tg_head_peer_return_btn,body .tg_head_peer_search_btn{display:none}
body .im_history_wrap{height:auto!important} body .im_history_wrap{height:auto!important}
body .nano-pane{display:none} body .nano-pane{display:none}
body .nano>.nano-content{position:static} body .nano>.nano-content{position:static}

2
css/badbrowser.css

@ -1954,7 +1954,7 @@ a.md_modal_list_peer_name{color:inherit}
.inactive_actions{margin-top:15px} .inactive_actions{margin-top:15px}
@media print{body,html{background:#fff} @media print{body,html{background:#fff}
body .im_page_wrap{border:0;box-shadow:none;overflow:visible} body .im_page_wrap{border:0;box-shadow:none;overflow:visible}
body .im_bottom_panel_wrap,body .im_dialogs_col_wrap,body .tg_head_logo_wrap,body .tg_head_msgs_edit_btn,body .tg_head_peer_dropdown,body .tg_head_peer_return_btn{display:none} body .im_bottom_panel_wrap,body .im_dialogs_col_wrap,body .tg_head_logo_wrap,body .tg_head_peer_dropdown,body .tg_head_peer_return_btn,body .tg_head_peer_search_btn{display:none}
body .im_history_wrap{height:auto!important} body .im_history_wrap{height:auto!important}
body .nano-pane{display:none} body .nano-pane{display:none}
body .nano>.nano-content{position:static} body .nano>.nano-content{position:static}

36
css/desktop.css

@ -252,8 +252,10 @@
.tg_head_connecting_wrap .tg_head_btn { .tg_head_connecting_wrap .tg_head_btn {
float: left; float: left;
} }
.tg_head_msgs_edit_btn { .tg_head_peer_search_btn {
float: right; float: right;
padding-top: 15px;
padding-bottom: 15px;
} }
.tg_head_peer_dropdown { .tg_head_peer_dropdown {
float: right; float: right;
@ -265,6 +267,9 @@
max-width: 100%; max-width: 100%;
border-radius: 0; border-radius: 0;
padding: 9px 0; padding: 9px 0;
float: none;
right: 0;
left: auto;
margin: -1px 0 0 0; margin: -1px 0 0 0;
border: 1px solid rgba(15, 60, 96, 0.2); border: 1px solid rgba(15, 60, 96, 0.2);
-webkit-box-shadow: 0px 1px 3px 0px rgba(60, 75, 87, 0.27); -webkit-box-shadow: 0px 1px 3px 0px rgba(60, 75, 87, 0.27);
@ -323,6 +328,35 @@
float: left; float: left;
font-weight: bold; font-weight: bold;
} }
.icon-search {
display: inline-block;
width: 17px;
height: 17px;
background-image: url(../img/icons/IconsetW.png);
background-repeat: no-repeat;
background-position: -12px -1037px;
vertical-align: middle;
opacity: 0.9;
}
.is_2x .icon-search {
background-image: url(../img/icons/IconsetW_2x.png);
background-size: 42px 1171px;
}
.tg_head_peer_media_dropdown .dropdown-toggle {
display: block;
}
.tg_head_peer_media_dropdown .dropdown-toggle .icon-bar {
display: block;
background-color: #d7e5f0;
width: 4px;
height: 4px;
border-radius: 2px;
margin-left: 3px;
margin-right: 3px;
}
.tg_head_peer_media_dropdown .dropdown-toggle .icon-bar + .icon-bar {
margin-top: 2px;
}
.icon-filter-photos, .icon-filter-photos,
.icon-filter-video, .icon-filter-video,
.icon-filter-documents, .icon-filter-documents,

BIN
img/icons/IconsetW.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 13 KiB

BIN
img/icons/IconsetW_2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 28 KiB

14
js/app.js

File diff suppressed because one or more lines are too long

7
js/locales/de-de.json

@ -390,7 +390,7 @@
"head_settings": "Einstellungen", "head_settings": "Einstellungen",
"head_log_out": "Abmelden", "head_log_out": "Abmelden",
"head_peer_more": "Weiteres", "head_peer_more": "Weiteres",
"head_edit_messages": "Nachrichten auswählen", "head_select_messages": "Nachrichten auswählen",
"head_media_photos": "Bilder", "head_media_photos": "Bilder",
"head_media_video": "Videos", "head_media_video": "Videos",
"head_media_documents": "Dateien", "head_media_documents": "Dateien",
@ -398,7 +398,7 @@
"head_media_search": "Suchen", "head_media_search": "Suchen",
"head_about": "Info", "head_about": "Info",
"head_clear_all": "Verlauf löschen", "head_clear_all": "Verlauf löschen",
"head_edit": "Bearbeiten", "head_select": "Auswählen",
"head_typing": "schreibt", "head_typing": "schreibt",
"head_pluralize_participants": "{'0': 'Keine Mitglieder', 'one': '1 Mitglied', 'other': '{} Mitglieder'}", "head_pluralize_participants": "{'0': 'Keine Mitglieder', 'one': '1 Mitglied', 'other': '{} Mitglieder'}",
"head_one_typing": "{name1} schreibt{dots}", "head_one_typing": "{name1} schreibt{dots}",
@ -425,8 +425,6 @@
"im_open_settings": "Einstellungen öffnen", "im_open_settings": "Einstellungen öffnen",
"im_select_a_chat": "Bitte wähle einen Chat aus, um eine Unterhaltung zu beginnen", "im_select_a_chat": "Bitte wähle einen Chat aus, um eine Unterhaltung zu beginnen",
"im_loading_history": "Lade Verlauf", "im_loading_history": "Lade Verlauf",
"im_info": "Info",
"im_edit": "Bearbeiten",
"im_media": "Medien", "im_media": "Medien",
"im_media_photos": "Bilder", "im_media_photos": "Bilder",
"im_media_video": "Videos", "im_media_video": "Videos",
@ -446,6 +444,7 @@
"im_delete": "{count} Löschen", "im_delete": "{count} Löschen",
"im_forward": "{count} weiterleiten", "im_forward": "{count} weiterleiten",
"im_reply": "Antworten", "im_reply": "Antworten",
"im_edit": "Bearbeiten",
"im_start": "Starten", "im_start": "Starten",
"im_channel_join": "Beitreten", "im_channel_join": "Beitreten",
"im_channel_mute": "Stumm", "im_channel_mute": "Stumm",

2
js/locales/en-us.json

@ -470,8 +470,6 @@
"im_open_settings": "Open settings", "im_open_settings": "Open settings",
"im_select_a_chat": "Please select a chat to start messaging", "im_select_a_chat": "Please select a chat to start messaging",
"im_loading_history": "Loading history", "im_loading_history": "Loading history",
"im_info": "Info",
"im_select": "Select",
"im_media": "Media", "im_media": "Media",
"im_media_photos": "Photos", "im_media_photos": "Photos",
"im_media_video": "Videos", "im_media_video": "Videos",

9
js/locales/es-es.json

@ -27,7 +27,7 @@
"group_modal_menu_share_link": "Invitar al grupo con un enlace", "group_modal_menu_share_link": "Invitar al grupo con un enlace",
"group_modal_migrate_to_supergroup": "Convertir en supergrupo", "group_modal_migrate_to_supergroup": "Convertir en supergrupo",
"group_modal_members": "Miembros", "group_modal_members": "Miembros",
"group_modal_members_kick": "Expulsar", "group_modal_members_kick": "Eliminar",
"group_modal_migrate_header": "Límite de miembros alcanzado", "group_modal_migrate_header": "Límite de miembros alcanzado",
"group_modal_migrate_desc": "Para superar el límite y tener características adicionales, conviértelo en un supergrupo:", "group_modal_migrate_desc": "Para superar el límite y tener características adicionales, conviértelo en un supergrupo:",
"group_modal_migrate_item1": "Permiten hasta 1000 miembros", "group_modal_migrate_item1": "Permiten hasta 1000 miembros",
@ -390,7 +390,7 @@
"head_settings": "Ajustes", "head_settings": "Ajustes",
"head_log_out": "Cerrar sesión", "head_log_out": "Cerrar sesión",
"head_peer_more": "Más", "head_peer_more": "Más",
"head_edit_messages": "Editar mensajes", "head_select_messages": "Elige mensajes",
"head_media_photos": "Fotos", "head_media_photos": "Fotos",
"head_media_video": "Vídeos", "head_media_video": "Vídeos",
"head_media_documents": "Archivos", "head_media_documents": "Archivos",
@ -398,7 +398,7 @@
"head_media_search": "Buscar", "head_media_search": "Buscar",
"head_about": "Acerca de", "head_about": "Acerca de",
"head_clear_all": "Eliminar historial", "head_clear_all": "Eliminar historial",
"head_edit": "Editar", "head_select": "Seleccionar",
"head_typing": "escribiendo", "head_typing": "escribiendo",
"head_pluralize_participants": "{'0': 'Sin miembro', 'one': '1 miembro', 'other': '{} miembros'}", "head_pluralize_participants": "{'0': 'Sin miembro', 'one': '1 miembro', 'other': '{} miembros'}",
"head_one_typing": "{name1} está escribiendo{dots}", "head_one_typing": "{name1} está escribiendo{dots}",
@ -425,8 +425,6 @@
"im_open_settings": "Abrir ajustes", "im_open_settings": "Abrir ajustes",
"im_select_a_chat": "Selecciona un chat para comenzar.", "im_select_a_chat": "Selecciona un chat para comenzar.",
"im_loading_history": "Cargando historial", "im_loading_history": "Cargando historial",
"im_info": "Información",
"im_edit": "Editar",
"im_media": "Multimedia", "im_media": "Multimedia",
"im_media_photos": "Fotos", "im_media_photos": "Fotos",
"im_media_video": "Vídeos", "im_media_video": "Vídeos",
@ -446,6 +444,7 @@
"im_delete": "Eliminar {count}", "im_delete": "Eliminar {count}",
"im_forward": "Reenviar {count}", "im_forward": "Reenviar {count}",
"im_reply": "Responder", "im_reply": "Responder",
"im_edit": "Editar",
"im_start": "Iniciar", "im_start": "Iniciar",
"im_channel_join": "+ Unirme", "im_channel_join": "+ Unirme",
"im_channel_mute": "Silenciar", "im_channel_mute": "Silenciar",

7
js/locales/it-it.json

@ -390,7 +390,7 @@
"head_settings": "Impostazioni", "head_settings": "Impostazioni",
"head_log_out": "Esci", "head_log_out": "Esci",
"head_peer_more": "Altro", "head_peer_more": "Altro",
"head_edit_messages": "Modifica messaggi", "head_select_messages": "Seleziona messaggi",
"head_media_photos": "Foto", "head_media_photos": "Foto",
"head_media_video": "Video", "head_media_video": "Video",
"head_media_documents": "File", "head_media_documents": "File",
@ -398,7 +398,7 @@
"head_media_search": "Cerca", "head_media_search": "Cerca",
"head_about": "Info", "head_about": "Info",
"head_clear_all": "Cancella cronologia", "head_clear_all": "Cancella cronologia",
"head_edit": "Modifica", "head_select": "Seleziona",
"head_typing": "sta scrivendo", "head_typing": "sta scrivendo",
"head_pluralize_participants": "{'0': 'Nessun membro', 'one': '1 membro', 'other': '{} membri'}", "head_pluralize_participants": "{'0': 'Nessun membro', 'one': '1 membro', 'other': '{} membri'}",
"head_one_typing": "{name1} sta scrivendo{dots}", "head_one_typing": "{name1} sta scrivendo{dots}",
@ -425,8 +425,6 @@
"im_open_settings": "Apri impostazioni", "im_open_settings": "Apri impostazioni",
"im_select_a_chat": "Seleziona una chat per iniziare a messaggiare", "im_select_a_chat": "Seleziona una chat per iniziare a messaggiare",
"im_loading_history": "Carico cronologia", "im_loading_history": "Carico cronologia",
"im_info": "Info",
"im_edit": "Modifica",
"im_media": "Media", "im_media": "Media",
"im_media_photos": "Foto", "im_media_photos": "Foto",
"im_media_video": "Video", "im_media_video": "Video",
@ -446,6 +444,7 @@
"im_delete": "Elimina {count}", "im_delete": "Elimina {count}",
"im_forward": "Inoltra {count}", "im_forward": "Inoltra {count}",
"im_reply": "Rispondi", "im_reply": "Rispondi",
"im_edit": "Modifica",
"im_start": "Avvia", "im_start": "Avvia",
"im_channel_join": "+ Unisciti", "im_channel_join": "+ Unisciti",
"im_channel_mute": "Silenzia", "im_channel_mute": "Silenzia",

7
js/locales/nl-nl.json

@ -390,7 +390,7 @@
"head_settings": "Instellingen", "head_settings": "Instellingen",
"head_log_out": "Uitloggen", "head_log_out": "Uitloggen",
"head_peer_more": "Meer", "head_peer_more": "Meer",
"head_edit_messages": "Berichten wijzigen", "head_select_messages": "Berichten kiezen",
"head_media_photos": "Foto's", "head_media_photos": "Foto's",
"head_media_video": "Video's", "head_media_video": "Video's",
"head_media_documents": "Bestanden", "head_media_documents": "Bestanden",
@ -398,7 +398,7 @@
"head_media_search": "Zoeken", "head_media_search": "Zoeken",
"head_about": "Over", "head_about": "Over",
"head_clear_all": "Geschiedenis wissen", "head_clear_all": "Geschiedenis wissen",
"head_edit": "Wijzig", "head_select": "Selecteren",
"head_typing": "aan het typen", "head_typing": "aan het typen",
"head_pluralize_participants": "{'0': 'Geen leden', 'one': '1 lid', 'other': '{} leden'}", "head_pluralize_participants": "{'0': 'Geen leden', 'one': '1 lid', 'other': '{} leden'}",
"head_one_typing": "{name1} is aan het typen{dots}", "head_one_typing": "{name1} is aan het typen{dots}",
@ -425,8 +425,6 @@
"im_open_settings": "Instellingen openen", "im_open_settings": "Instellingen openen",
"im_select_a_chat": "Kies een chat om met chatten te beginnen", "im_select_a_chat": "Kies een chat om met chatten te beginnen",
"im_loading_history": "Geschiedenis laden", "im_loading_history": "Geschiedenis laden",
"im_info": "Info",
"im_edit": "Wijzig",
"im_media": "Media", "im_media": "Media",
"im_media_photos": "Foto's", "im_media_photos": "Foto's",
"im_media_video": "Video's", "im_media_video": "Video's",
@ -446,6 +444,7 @@
"im_delete": "Verwijder {count}", "im_delete": "Verwijder {count}",
"im_forward": "Doorsturen {count}", "im_forward": "Doorsturen {count}",
"im_reply": "Antwoord", "im_reply": "Antwoord",
"im_edit": "Wijzig",
"im_start": "Begin", "im_start": "Begin",
"im_channel_join": "Lid worden", "im_channel_join": "Lid worden",
"im_channel_mute": "Geluid uit", "im_channel_mute": "Geluid uit",

7
js/locales/pt-br.json

@ -390,7 +390,7 @@
"head_settings": "Configurações", "head_settings": "Configurações",
"head_log_out": "Sair", "head_log_out": "Sair",
"head_peer_more": "Mais", "head_peer_more": "Mais",
"head_edit_messages": "Editar mensagens", "head_select_messages": "Selecionar mensagens",
"head_media_photos": "Fotos", "head_media_photos": "Fotos",
"head_media_video": "Vídeos", "head_media_video": "Vídeos",
"head_media_documents": "Arquivos", "head_media_documents": "Arquivos",
@ -398,7 +398,7 @@
"head_media_search": "Pesquisar", "head_media_search": "Pesquisar",
"head_about": "Sobre", "head_about": "Sobre",
"head_clear_all": "Limpar histórico", "head_clear_all": "Limpar histórico",
"head_edit": "Editar", "head_select": "Selecionar",
"head_typing": "escrevendo", "head_typing": "escrevendo",
"head_pluralize_participants": "{'0': 'Nenhum membro', 'one': '1 membro', 'other': '{} membros'}", "head_pluralize_participants": "{'0': 'Nenhum membro', 'one': '1 membro', 'other': '{} membros'}",
"head_one_typing": "{name1} está escrevendo{dots}", "head_one_typing": "{name1} está escrevendo{dots}",
@ -425,8 +425,6 @@
"im_open_settings": "Abrir configurações", "im_open_settings": "Abrir configurações",
"im_select_a_chat": "Selecione um chat para começar a conversar", "im_select_a_chat": "Selecione um chat para começar a conversar",
"im_loading_history": "Carregando histórico", "im_loading_history": "Carregando histórico",
"im_info": "Informações",
"im_edit": "Editar",
"im_media": "Mídia", "im_media": "Mídia",
"im_media_photos": "Fotos", "im_media_photos": "Fotos",
"im_media_video": "Vídeos", "im_media_video": "Vídeos",
@ -446,6 +444,7 @@
"im_delete": "Apagar {count}", "im_delete": "Apagar {count}",
"im_forward": "Encaminhar {count}", "im_forward": "Encaminhar {count}",
"im_reply": "Responder", "im_reply": "Responder",
"im_edit": "Editar",
"im_start": "Começar", "im_start": "Começar",
"im_channel_join": "+ Entrar", "im_channel_join": "+ Entrar",
"im_channel_mute": "Silenciar", "im_channel_mute": "Silenciar",

7
js/locales/ru-ru.json

@ -390,7 +390,7 @@
"head_settings": "Настройки", "head_settings": "Настройки",
"head_log_out": "Выход", "head_log_out": "Выход",
"head_peer_more": "Ещё", "head_peer_more": "Ещё",
"head_edit_messages": "Редактировать сообщения", "head_select_messages": "Select messages",
"head_media_photos": "Фотографии", "head_media_photos": "Фотографии",
"head_media_video": "Видео", "head_media_video": "Видео",
"head_media_documents": "Файлы", "head_media_documents": "Файлы",
@ -398,7 +398,7 @@
"head_media_search": "Search", "head_media_search": "Search",
"head_about": "О приложении", "head_about": "О приложении",
"head_clear_all": "Clear history", "head_clear_all": "Clear history",
"head_edit": "Редактировать", "head_select": "Select",
"head_typing": "набирает", "head_typing": "набирает",
"head_pluralize_participants": "{'one': '{} участник', 'few': '{} участника', 'many': '{} участников', 'other': '{} участников'}", "head_pluralize_participants": "{'one': '{} участник', 'few': '{} участника', 'many': '{} участников', 'other': '{} участников'}",
"head_one_typing": "{name1} набирает{dots}", "head_one_typing": "{name1} набирает{dots}",
@ -425,8 +425,6 @@
"im_open_settings": "Открыть настройки", "im_open_settings": "Открыть настройки",
"im_select_a_chat": "Выберите чат для начала общения", "im_select_a_chat": "Выберите чат для начала общения",
"im_loading_history": "Загрузка истории", "im_loading_history": "Загрузка истории",
"im_info": "Информация",
"im_edit": "Редактировать",
"im_media": "Медиа", "im_media": "Медиа",
"im_media_photos": "Фотографии", "im_media_photos": "Фотографии",
"im_media_video": "Видео", "im_media_video": "Видео",
@ -446,6 +444,7 @@
"im_delete": "Удалить {count}", "im_delete": "Удалить {count}",
"im_forward": "Переслать {count}", "im_forward": "Переслать {count}",
"im_reply": "Ответить", "im_reply": "Ответить",
"im_edit": "Редактировать",
"im_start": "Старт", "im_start": "Старт",
"im_channel_join": "+ Join", "im_channel_join": "+ Join",
"im_channel_mute": "Выкл. звук", "im_channel_mute": "Выкл. звук",

3
manifest.json

@ -4,9 +4,6 @@
"version": "0.5.5", "version": "0.5.5",
"short_name": "Telegram", "short_name": "Telegram",
"manifest_version": 2, "manifest_version": 2,
"display": "standalone",
"orientation": "portrait",
"theme_color": "#497495",
"app": { "app": {
"background": { "background": {
"scripts": ["js/background.js"] "scripts": ["js/background.js"]

69
manifest.webapp.json

@ -0,0 +1,69 @@
{
"name": "Telegram",
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
"short_name": "Telegram",
"display": "standalone",
"theme_color": "#497495",
"gcm_sender_id": "122867383838",
"start_url": "./?utm_source=web_app_manifest",
"scope": "/",
"background_color": "#fff",
"icons": [
{
"src": "img/icons/icon16.png",
"type": "image/png",
"sizes": "16x16"
},
{
"src": "img/icons/icon32.png",
"type": "image/png",
"sizes": "32x32"
},
{
"src": "img/icons/icon60.png",
"type": "image/png",
"sizes": "60x60"
},
{
"src": "img/icons/icon64.png",
"type": "image/png",
"sizes": "64x64"
},
{
"src": "img/icons/icon90.png",
"type": "image/png",
"sizes": "90x90"
},
{
"src": "img/icons/icon128.png",
"type": "image/png",
"sizes": "128x128"
},
{
"src": "img/icons/icon192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "img/icons/icon512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "img/icons/icon.svg",
"type": "image/svg+xml",
"sizes": "513x513"
}
],
"related_applications": [
{
"platform": "play",
"id": "org.telegram.messenger",
"url": "https://telegram.org/dl/android?ref=webmanifest"
},
{
"platform": "itunes",
"url": "https://telegram.org/dl/ios?ref=webmanifest"
}
]
}

2
service_worker.js

File diff suppressed because one or more lines are too long

2
webogram.appcache

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# Time: Thu Jan 12 2017 21:04:27 GMT+0300 (MSK) # Time: Thu Jan 19 2017 19:04:56 GMT+0300 (MSK)
CACHE: CACHE:

Loading…
Cancel
Save