Browse Source

Added try again to langpacks

master
Igor Zhukov 9 years ago
parent
commit
5e3bb38672
  1. 1
      app/js/locales/en-us.json
  2. 2
      app/partials/desktop/message.html
  3. 2
      app/partials/mobile/message.html

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

@ -336,6 +336,7 @@
"message_action_forward": "Forward", "message_action_forward": "Forward",
"message_action_select": "Select", "message_action_select": "Select",
"message_action_cancel": "Cancel", "message_action_cancel": "Cancel",
"message_action_retry": "Try again",
"error_modal_warning_title": "Warning", "error_modal_warning_title": "Warning",
"error_modal_bad_request_title": "Error", "error_modal_bad_request_title": "Error",

2
app/partials/desktop/message.html

@ -27,7 +27,7 @@
<i class="icon icon-select-tick"></i> <i class="icon icon-select-tick"></i>
<a class="im_message_error_btn" ng-if="::historyMessage.pending || historyMessage.error || false" ng-click="historyMessage.send()"> <a class="im_message_error_btn" ng-if="::historyMessage.pending || historyMessage.error || false" ng-click="historyMessage.send()">
<i class="icon-message-status" tooltip="Try again"></i> <i class="icon-message-status" tooltip="{{'message_action_retry' | i18n}}"></i>
</a> </a>
<i ng-if="::historyMessage.pFlags.unread &amp;&amp; historyMessage.pFlags.out || historyMessage.pending || false" class="icon-message-status" ng-show="!historyMessage.error"></i> <i ng-if="::historyMessage.pFlags.unread &amp;&amp; historyMessage.pFlags.out || historyMessage.pending || false" class="icon-message-status" ng-show="!historyMessage.error"></i>

2
app/partials/mobile/message.html

@ -34,7 +34,7 @@
</div> </div>
</div> </div>
<a class="im_message_error_btn" ng-if="::historyMessage.pending || historyMessage.error || false" ng-click="historyMessage.send()"> <a class="im_message_error_btn" ng-if="::historyMessage.pending || historyMessage.error || false" ng-click="historyMessage.send()">
<i class="icon-message-status" tooltip="Try again"></i> <i class="icon-message-status" tooltip="{{'message_action_retry' | i18n}}"></i>
</a> </a>
<i ng-if="::historyMessage.pFlags.unread &amp;&amp; historyMessage.pFlags.out || historyMessage.pending || false" class="icon-message-status" ng-show="!historyMessage.error"></i> <i ng-if="::historyMessage.pFlags.unread &amp;&amp; historyMessage.pFlags.out || historyMessage.pending || false" class="icon-message-status" ng-show="!historyMessage.error"></i>
<span class="im_message_date" ng-bind="::historyMessage.date | time"></span> <span class="im_message_date" ng-bind="::historyMessage.date | time"></span>

Loading…
Cancel
Save