소스 검색

Remove the `No message history available` message

It's misleading because it shows before MAM has finished (which also causes
flashing)

Showing it only after MAM has finished would be preferable but too much
work, so I'm removing it for now.
JC Brand 4 년 전
부모
커밋
e896361b2f
41개의 변경된 파일11121개의 추가작업 그리고 11286개의 파일을 삭제
  1. 278 282
      src/i18n/af/LC_MESSAGES/converse.po
  2. 278 282
      src/i18n/ar/LC_MESSAGES/converse.po
  3. 278 282
      src/i18n/bg/LC_MESSAGES/converse.po
  4. 278 282
      src/i18n/ca/LC_MESSAGES/converse.po
  5. 278 282
      src/i18n/converse.pot
  6. 278 282
      src/i18n/cs/LC_MESSAGES/converse.po
  7. 278 282
      src/i18n/da/LC_MESSAGES/converse.po
  8. 278 282
      src/i18n/de/LC_MESSAGES/converse.po
  9. 278 282
      src/i18n/el/LC_MESSAGES/converse.po
  10. 278 282
      src/i18n/eo/LC_MESSAGES/converse.po
  11. 278 282
      src/i18n/es/LC_MESSAGES/converse.po
  12. 278 282
      src/i18n/eu/LC_MESSAGES/converse.po
  13. 278 282
      src/i18n/fa/LC_MESSAGES/converse.po
  14. 278 282
      src/i18n/fi/LC_MESSAGES/converse.po
  15. 278 282
      src/i18n/fr/LC_MESSAGES/converse.po
  16. 278 282
      src/i18n/gl/LC_MESSAGES/converse.po
  17. 278 282
      src/i18n/he/LC_MESSAGES/converse.po
  18. 278 282
      src/i18n/hi/LC_MESSAGES/converse.po
  19. 278 282
      src/i18n/hu/LC_MESSAGES/converse.po
  20. 278 282
      src/i18n/id/LC_MESSAGES/converse.po
  21. 278 282
      src/i18n/it/LC_MESSAGES/converse.po
  22. 278 282
      src/i18n/ja/LC_MESSAGES/converse.po
  23. 278 282
      src/i18n/lt/LC_MESSAGES/converse.po
  24. 278 282
      src/i18n/mr/LC_MESSAGES/converse.po
  25. 278 282
      src/i18n/nb/LC_MESSAGES/converse.po
  26. 278 282
      src/i18n/nl/LC_MESSAGES/converse.po
  27. 278 282
      src/i18n/nl_BE/LC_MESSAGES/converse.po
  28. 278 282
      src/i18n/oc/LC_MESSAGES/converse.po
  29. 278 282
      src/i18n/pl/LC_MESSAGES/converse.po
  30. 278 282
      src/i18n/pt/LC_MESSAGES/converse.po
  31. 278 282
      src/i18n/pt_BR/LC_MESSAGES/converse.po
  32. 278 282
      src/i18n/ro/LC_MESSAGES/converse.po
  33. 278 282
      src/i18n/ru/LC_MESSAGES/converse.po
  34. 278 282
      src/i18n/sv/LC_MESSAGES/converse.po
  35. 278 282
      src/i18n/th/LC_MESSAGES/converse.po
  36. 278 282
      src/i18n/tr/LC_MESSAGES/converse.po
  37. 278 282
      src/i18n/uk/LC_MESSAGES/converse.po
  38. 278 282
      src/i18n/vi/LC_MESSAGES/converse.po
  39. 278 282
      src/i18n/zh_CN/LC_MESSAGES/converse.po
  40. 278 282
      src/i18n/zh_TW/LC_MESSAGES/converse.po
  41. 1 6
      src/shared/chat/message-history.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/af/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/ar/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/bg/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/ca/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/converse.pot


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/cs/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/da/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/de/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/el/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/eo/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/es/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/eu/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/fa/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/fi/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/fr/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/gl/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/he/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/hi/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/hu/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/id/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/it/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/ja/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/lt/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/mr/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/nb/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/nl/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/nl_BE/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/oc/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/pl/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/pt/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/pt_BR/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/ro/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/ru/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/sv/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/th/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/tr/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/uk/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/vi/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/zh_CN/LC_MESSAGES/converse.po


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 278 - 282
src/i18n/zh_TW/LC_MESSAGES/converse.po


+ 1 - 6
src/shared/chat/message-history.js

@@ -2,13 +2,10 @@ import "./message";
 import dayjs from 'dayjs';
 import tpl_new_day from "templates/new_day.js";
 import { CustomElement } from 'components/element.js';
-import { __ } from 'i18n';
 import { _converse, api } from "@converse/headless/core";
 import { html } from 'lit-element';
 import { repeat } from 'lit-html/directives/repeat.js';
 
-const i18n_no_history = __('No message history available.');
-
 const tpl_message = (o) => html`
     <converse-chat-message
         .hats=${o.hats}
@@ -115,9 +112,7 @@ export default class MessageHistory extends CustomElement {
 
     render () {
         const msgs = this.messages;
-        return msgs.length ?
-            html`${repeat(msgs, m => m.get('id'), m => this.renderMessage(m)) }` :
-            html`<div class="empty-history-feedback form-help"><span>${i18n_no_history}</span></div>`;
+        return msgs.length ? html`${repeat(msgs, m => m.get('id'), m => this.renderMessage(m)) }` : '';
     }
 
     renderMessage (model) {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.