[Kde-pim] [Differential] [Commented On] D1990: Show spam status in 5.2 header

knauss (Sandro Knauß) noreply at phabricator.kde.org
Fri Jun 24 11:43:56 BST 2016


knauss added inline comments.

INLINE COMMENTS

> header.html:83
> +		<div class="row">
> +			<div class="headerleft">{{ header.spamstatusi18n }}</div>
> +			<div class="headerrightdate">{{ header.spamHTML|safe }}</div>

(a little bit unrelated)
shouldn't we switch to use i18n  grantlee support? I think it is much more readable if we do the translation directly in the grantlee itself and we can fix more easily forgotten untranslated strings like Sender/List-Id in this case:

     [...]
      {% if header.ListId %}
      <div class="row">
  	​      <div class="headerleft">{% i18n "List-Id:" %}</div>
  	​      <div class="headerright">{{ header.ListId }}</div>
      </div>
      {% endif %}
      <div class="row">
  	​      <div class="headerleft">{% i18n "Date:" %}</div>
  	​      <div class="headerrightdate" dir="{{ dateDir }}">{{ header.dateshort }}</div>
      </div>
     {% if header.spamHTML %}
  	   <div class="row">
  	​      <div class="headerleft">{% i18n "Spam status:" %}</div>
    [...]

REPOSITORY
  rKDEPIMADDONS KDE PIM Addons

REVISION DETAIL
  https://phabricator.kde.org/D1990

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: knauss, colomar, mlaurent
Cc: dvratil, kde-pim, dvasin, winterz, smartins, vkrause, mlaurent, knauss
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list