Browse Source

Rename "edit" to "select" for selecting messages

Close #1305
master
Igor Zhukov 8 years ago
parent
commit
043c76b454
  1. 6
      app/js/locales/en-us.json
  2. 2
      app/partials/desktop/head.html
  3. 4
      app/partials/mobile/head.html

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

@ -432,7 +432,7 @@
"head_settings": "Settings", "head_settings": "Settings",
"head_log_out": "Log out", "head_log_out": "Log out",
"head_peer_more": "More", "head_peer_more": "More",
"head_edit_messages": "Edit messages", "head_select_messages": "Select messages",
"head_media_photos": "Photos", "head_media_photos": "Photos",
"head_media_video": "Videos", "head_media_video": "Videos",
"head_media_documents": "Files", "head_media_documents": "Files",
@ -440,7 +440,7 @@
"head_media_search": "Search", "head_media_search": "Search",
"head_about": "About", "head_about": "About",
"head_clear_all": "Clear history", "head_clear_all": "Clear history",
"head_edit": "Edit", "head_select": "Select",
"head_typing": "typing", "head_typing": "typing",
"head_pluralize_participants": "{'0': 'No members', 'one': '1 member', 'other': '{} members'}", "head_pluralize_participants": "{'0': 'No members', 'one': '1 member', 'other': '{} members'}",
"head_one_typing": "{name1} is typing{dots}", "head_one_typing": "{name1} is typing{dots}",
@ -471,7 +471,7 @@
"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_info": "Info",
"im_edit": "Edit", "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",

2
app/partials/desktop/head.html

@ -40,7 +40,7 @@
<div ng-switch-default ng-if="!!historyPeer.id" class="tg_head_main_peer_wrap"> <div ng-switch-default ng-if="!!historyPeer.id" class="tg_head_main_peer_wrap">
<a class="tg_head_btn tg_head_msgs_edit_btn" my-i18n="im_edit" ng-click="toggleEdit()"></a> <a class="tg_head_btn tg_head_msgs_edit_btn" my-i18n="im_select" ng-click="toggleEdit()"></a>
<div class="tg_head_peer_dropdown tg_head_peer_media_dropdown dropdown" dropdown> <div class="tg_head_peer_dropdown tg_head_peer_media_dropdown dropdown" dropdown>
<a class="tg_head_btn dropdown-toggle" dropdown-toggle my-i18n="im_media"></a> <a class="tg_head_btn dropdown-toggle" dropdown-toggle my-i18n="im_media"></a>

4
app/partials/mobile/head.html

@ -19,7 +19,7 @@
<li><a ng-click="logOut()" my-i18n="head_log_out"></a></li> <li><a ng-click="logOut()" my-i18n="head_log_out"></a></li>
</ul> </ul>
<ul ng-switch-default class="dropdown-menu"> <ul ng-switch-default class="dropdown-menu">
<li><a ng-click="toggleEdit()" my-i18n="head_edit_messages"></a></li> <li><a ng-click="toggleEdit()" my-i18n="head_select_messages"></a></li>
<li ng-if="!historyFilter.mediaType" class="divider"></li> <li ng-if="!historyFilter.mediaType" class="divider"></li>
<li ng-if="!historyFilter.mediaType"><a ng-click="toggleMedia('photos')" my-i18n="head_media_photos"></a></li> <li ng-if="!historyFilter.mediaType"><a ng-click="toggleMedia('photos')" my-i18n="head_media_photos"></a></li>
<li ng-if="!historyFilter.mediaType"><a ng-click="toggleMedia('video')" my-i18n="head_media_video"></a></li> <li ng-if="!historyFilter.mediaType"><a ng-click="toggleMedia('video')" my-i18n="head_media_video"></a></li>
@ -60,7 +60,7 @@
<li class="navbar-quick-left"> <li class="navbar-quick-left">
<a ng-click="selectedFlush()" my-i18n="head_clear_all"></a> <a ng-click="selectedFlush()" my-i18n="head_clear_all"></a>
</li> </li>
<li class="navbar-quick-title" my-i18n="head_edit"></li> <li class="navbar-quick-title" my-i18n="head_select"></li>
</ul> </ul>
<ul ng-switch-default class="nav navbar-nav navbar-quick-nav" ng-switch="historyPeer.id > 0"> <ul ng-switch-default class="nav navbar-nav navbar-quick-nav" ng-switch="historyPeer.id > 0">
<li ng-switch-when="true"> <li ng-switch-when="true">

Loading…
Cancel
Save