Commit 0fe65be9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Move example here

parent d22dc3a3
......@@ -4,3 +4,4 @@ add_subdirectory(apps)
add_subdirectory(customtoolsplugins)
add_subdirectory(messageviewerplugins)
add_subdirectory(kmail)
add_subdirectory(messageviewergrantleetheme)
install(DIRECTORY themes DESTINATION ${KDE_INSTALL_DATADIR}/messageviewer )
[Desktop Entry]
Name=Example
Name[ca]=Exemple
Name[ca@valencia]=Exemple
Name[de]=Beispiel
Name[en_GB]=Example
Name[es]=Ejemplo
Name[fi]=Esimerkki
Name[fr]=Exemple
Name[gl]=Exemplo
Name[it]=Esempio
Name[nb]=Eksempel
Name[nl]=Voorbeeld
Name[pl]=Przykład
Name[pt]=Exemplo
Name[pt_BR]=Exemplo
Name[sk]=Príklad
Name[sr]=Пример
Name[sr@ijekavian]=Пример
Name[sr@ijekavianlatin]=Primer
Name[sr@latin]=Primer
Name[sv]=Exempel
Name[uk]=Приклад
Name[x-test]=xxExamplexx
Name[zh_CN]=示例
Description=Example theme for header.
Description[ca]=Tema d'exemple per a la capçalera.
Description[ca@valencia]=Tema d'exemple per a la capçalera.
Description[de]=Beispieldesign für den Vorspann.
Description[en_GB]=Example theme for header.
Description[es]=Tema de ejemplo para encabezado.
Description[fi]=Esimerkkiotsaketeema.
Description[fr]=Thème exemple pour en-tête
Description[gl]=Tema de exemplo para a cabeceira.
Description[it]=Tema di esempio per l'intestazione.
Description[nb]=Eksempel tema for hodelinje.
Description[nl]=Voorbeeld van thema voor kop.
Description[pl]=Przykładowy motyw nagłówka.
Description[pt]=Tema de exemplo de cabeçalhos.
Description[pt_BR]=Exemplo de tema para o cabeçalho.
Description[sk]=Ukážková téma pre hlavičku.
Description[sr]=Пример теме за заглавље.
Description[sr@ijekavian]=Пример теме за заглавље.
Description[sr@ijekavianlatin]=Primer teme za zaglavlje.
Description[sr@latin]=Primer teme za zaglavlje.
Description[sv]=Exempeltema för huvud.
Description[uk]=Приклад теми для заголовка.
Description[x-test]=xxExample theme for header.xx
Description[zh_CN]=示例信头主题。
FileName=header.html
<div>
{% if header.subjecti18n %}
{% with header.subjecti18n as title %}
{% with header.subject|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.fromi18n %}
{% with header.fromi18n as title %}
{% with header.from|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.cci18n %}
{% with header.cci18n as title %}
{% with header.cc|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.bcci18n %}
{% with header.bcci18n as title %}
{% with header.bcc|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.datei18n %}
{% with header.datei18n as title %}
{% with header.dateshort|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.spamHTML %}
{{ spamHTML|safe }}
{% endif %}
</div>
<div valign="top" width="30%"><b><font color="grey">{{ title }}</font></b>{{ value }}</div>
[Desktop Entry]
Name=Example fancy
Name[ca]=Exemple sofisticat
Name[ca@valencia]=Exemple sofisticat
Name[de]=Dekoratives Beispiel
Name[en_GB]=Example fancy
Name[es]=Ejemplo adornado
Name[fi]=Tyylikäs esimerkki
Name[fr]=Exemple fantaisie
Name[gl]=Exemplo elegante
Name[it]=Esempio elegante
Name[nb]=Eksempel flott
Name[nl]=Voorbeeld van elegant
Name[pl]=Przykładowy elegancki
Name[pt]=Exemplo bonito
Name[pt_BR]=Exemplo bonito
Name[sk]=Príklad pekný
Name[sr]=Пример помодног
Name[sr@ijekavian]=Пример помодног
Name[sr@ijekavianlatin]=Primer pomodnog
Name[sr@latin]=Primer pomodnog
Name[sv]=Snyggt exempel
Name[uk]=Приклад вишуканого
Name[x-test]=xxExample fancyxx
Description=Create fancy theme with grantlee.
Description[ca]=Crea un tema sofisticat amb grantlee.
Description[ca@valencia]=Crea un tema sofisticat amb grantlee.
Description[de]=Dekoratives mit Grantlee erstelltes Design
Description[en_GB]=Create fancy theme with grantlee.
Description[es]=Crear tema adornado con grantlee.
Description[fi]=Luo tyylikäs teema grantleeta käyttäen.
Description[fr]=Créer des thèmes fantaisies avec Grantlee
Description[gl]=Crear un tema elegante con Grantlee.
Description[it]=Crea un tema elegante con grantlee.
Description[nb]=Opprett et flott tema med grantlee.
Description[nl]=Elegant thema maken met grantlee.
Description[nn]=Skap ditt eige «grantlee»-tema.
Description[pl]=Utwórz elegancki motyw z grantlee.
Description[pt]=Criar um tema bonito com o Grantlee.
Description[pt_BR]=Cria um tema bonito com o Grantlee.
Description[sk]=Vytvoriť peknú tému s grantlee.
Description[sr]=Направите помодну тему помоћу Грантлија
Description[sr@ijekavian]=Направите помодну тему помоћу Грантлија
Description[sr@ijekavianlatin]=Napravite pomodnu temu pomoću Grantleeja
Description[sr@latin]=Napravite pomodnu temu pomoću Grantleeja
Description[sv]=Skapa snyggt tema med Grantlee.
Description[uk]=Створити складну тему за допомогою grantlee.
Description[x-test]=xxCreate fancy theme with grantlee.xx
FileName=header.html
DisplayExtraVariables=Sender,List-Id
<div class="fancy header" dir="ltr">
<div dir="ltr"> {{ header.subject|safe }}
</div>
<table class="outer">
<tbody>
<tr>
<td width="100%">
<table>
<tr>
<th align="left" style="font-size: 10px;">{{ header.fromi18n }}</th>
<td style="font-size: 10px;">{{ header.from|safe }}
{% if header.resentfrom %}
&nbsp; {{ header.resentfromi18n }}: {{ header.resentfrom|safe }}
{% endif %}
{% if vCardName %}
&nbsp;&nbsp;<a href="{{ header.vcardname|safe }}">{{ header.vcardi18n }}</a>
{% endif %}
{% if header.organization %}
&nbsp;&nbsp;("{{ header.organization|safe }}")
{% endif %}
</td>
</tr>
<tr>
<th align="left" style="font-size: 10px;">{{ header.toi18n }}</th>
<td style="font-size: 10px;">{{ header.toExpandable|safe }}</td>
</tr>
{% if header.cc %}
<tr>
<th align="left" style="font-size: 10px;"> {{ header.cci18n }} </th>
<td style="font-size: 10px;">{{ header.ccExpandable|safe }}</td>
</tr>
{% endif %}
{% if header.bcc %}
<tr>
<th align="left" style="font-size: 10px;"> {{ header.bcci18n }} </th>
<td style="font-size: 10px;">{{ header.bccExpandable|safe }}</td>
</tr>
{% endif %}
{% if header.Sender %}
<tr>
<th align="left" style="font-size: 10px;"> Sender: </th>
<td style="font-size: 10px;">{{ header.Sender|safe }}</td>
</tr>
{% endif %}
{% if header.ListId %}
<tr>
<th align="left" style="font-size: 10px;"> List-Id: </th>
<td style="font-size: 10px;">{{ header.ListId }}</td>
</tr>
{% endif %}
<tr>
<th align="left" style="font-size: 10px;">{{ header.datei18n }} </th>
<td dir="{{ dateDir }}" style="font-size: 10px;">{{ header.dateshort }}</td>
</tr>
<tr>
<td colspan="2"><div id="attachmentInjectionPoint"></div></td>
</tr>
</table>
</td>
{% if header.photourl %}
<td align="center">
<div style="font-size:0.8em ! important;border:1px solid black ! important;background-color:#3384b3 ! important;">
<img src="{{ header.photourl }}" width="{{ header.photowidth }}" height="{{ header.photoheight }}">
</div>
</td>
{% endif %}
</tr>
{% if header.spamHTML %}
<table >
<tbody>
<tr>
<td>
<div class="spamheader" >
<span><b>{{ header.spamstatusi18n }}</b></span>&nbsp;
<span>{{ header.spamHTML|safe }}</span>
</div>
</td>
</tr>
</tbody>
</table>
{% endif %}
</tbody>
</table>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment