Commit 2131b031 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Readd example as an autotest use it

parent d730af80
Pipeline #38718 passed with stage
in 62 minutes and 6 seconds
add_subdirectory(messageviewergrantleetheme)
install(DIRECTORY themes DESTINATION ${KDE_INSTALL_DATADIR}/messageviewer )
[Desktop Entry]
Name=Example
Name[ar]=مثال
Name[ca]=Exemple
Name[ca@valencia]=Exemple
Name[cs]=Příklad
Name[da]=Eksempel
Name[de]=Beispiel
Name[en_GB]=Example
Name[es]=Ejemplo
Name[et]=Näidis
Name[fi]=Esimerkki
Name[fr]=Exemple
Name[gl]=Exemplo
Name[ia]=Exemplo
Name[it]=Esempio
Name[ko]=예제
Name[nb]=Eksempel
Name[nl]=Voorbeeld
Name[pl]=Przykład
Name[pt]=Exemplo
Name[pt_BR]=Exemplo
Name[ru]=Пример
Name[sk]=Príklad
Name[sl]=Primer
Name[sr]=Пример
Name[sr@ijekavian]=Пример
Name[sr@ijekavianlatin]=Primer
Name[sr@latin]=Primer
Name[sv]=Exempel
Name[tr]=Örnek
Name[uk]=Приклад
Name[x-test]=xxExamplexx
Name[zh_CN]=例句
Name[zh_TW]=範例
Description=Example theme for header.
Description[ar]=سمة مثال للتّرويسة.
Description[ca]=Tema d'exemple per a la capçalera.
Description[ca@valencia]=Tema d'exemple per a la capçalera.
Description[da]=Eksempeltema på header.
Description[de]=Beispieldesign für den Vorspann.
Description[en_GB]=Example theme for header.
Description[es]=Tema de ejemplo para encabezado.
Description[et]=Päise näidisteema
Description[fi]=Esimerkkiotsaketeema.
Description[fr]=Thème exemple pour en-tête
Description[gl]=Tema de exemplo para a cabeceira.
Description[ia]=Thema de exemplo pro capite
Description[it]=Tema di esempio per l'intestazione.
Description[ko]=예제 헤더 테마입니다.
Description[nb]=Eksempel tema for hodelinje.
Description[nl]=Voorbeeld van thema voor kop.
Description[pl]=Przykładowy wystrój nagłówka.
Description[pt]=Tema de exemplo de cabeçalhos.
Description[pt_BR]=Exemplo de tema para o cabeçalho.
Description[ru]=Пример оформления заголовка
Description[sk]=Ukážková téma pre hlavičku.
Description[sl]=Primer teme za glavo.
Description[sr]=Пример теме заглавља.
Description[sr@ijekavian]=Пример теме заглавља.
Description[sr@ijekavianlatin]=Primer teme zaglavlja.
Description[sr@latin]=Primer teme zaglavlja.
Description[sv]=Exempeltema för huvud.
Description[tr]=Başlık için örnek tema.
Description[uk]=Приклад теми для заголовка.
Description[x-test]=xxExample theme for header.xx
Description[zh_CN]=头部主题示例
Description[zh_TW]=適用於標頭的範例主題。
FileName=header.html
<div>
{% if header.subject %}
{% with header.subjecti18n as title %}
{% with header.subject|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.from.isSet %}
{% with header.fromi18n as title %}
{% with header.from.fullAddress|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.to.isSet %}
{% with header.toi18n as title %}
{% with header.to.fullAddress|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.cc.isSet %}
{% with header.cci18n as title %}
{% with header.cc.fullAddress|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% if header.bcc.isSet %}
{% with header.bcci18n as title %}
{% with header.bcc.fullAddress|safe as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% endif %}
{% with header.datei18n as title %}
{% with header.date.short as value %}
{% include "header_row.html" %}
{% endwith %}
{% endwith %}
{% 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[ar]=مثال عن الخياليّة
Name[ca]=Exemple sofisticat
Name[ca@valencia]=Exemple sofisticat
Name[da]=Eksempel på flot
Name[de]=Dekoratives Beispiel
Name[en_GB]=Example fancy
Name[es]=Ejemplo adornado
Name[et]=Uhke näidis
Name[fi]=Tyylikäs esimerkki
Name[fr]=Exemple fantaisie
Name[gl]=Exemplo elegante
Name[ia]=Exemplo phantasia
Name[it]=Esempio elegante
Name[ko]=보기 좋은 테마 예제
Name[nb]=Eksempel flott
Name[nl]=Voorbeeld van elegant
Name[pl]=Przykładowy elegancki
Name[pt]=Exemplo bonito
Name[pt_BR]=Exemplo bonito
Name[ru]=Пример изящного оформления
Name[sk]=Príklad pekný
Name[sl]=Primer razkošnega
Name[sr]=Пример помодне
Name[sr@ijekavian]=Пример помодне
Name[sr@ijekavianlatin]=Primer pomodne
Name[sr@latin]=Primer pomodne
Name[sv]=Snyggt exempel
Name[tr]=Örnek süs
Name[uk]=Приклад вишуканого
Name[x-test]=xxExample fancyxx
Name[zh_CN]=花哨示例
Name[zh_TW]=Example fancy
Description=Create fancy theme with grantlee.
Description[ar]=أنشئ سمة خياليّة بِ‍«غرانتلي».
Description[ca]=Crea un tema sofisticat amb grantlee.
Description[ca@valencia]=Crea un tema sofisticat amb grantlee.
Description[da]=Opret flot tema med grantlee.
Description[de]=Dekoratives mit Grantlee erstelltes Design
Description[en_GB]=Create fancy theme with grantlee.
Description[es]=Crear tema adornado con grantlee.
Description[et]=Vahva teema loomine grantleega
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[ia]=Crea un thema de phantasia con grantlee
Description[it]=Crea un tema elegante con grantlee.
Description[ko]=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 wystrój z grantlee.
Description[pt]=Criar um tema bonito com o Grantlee.
Description[pt_BR]=Cria um tema bonito com o Grantlee.
Description[ru]=Создайте изящное оформление с помощью grantlee.
Description[sk]=Vytvoriť peknú tému s grantlee.
Description[sl]=Ustvari razkošno temo z grantlee.
Description[sr]=Направите помодну тему Грантлијем.
Description[sr@ijekavian]=Направите помодну тему Грантлијем.
Description[sr@ijekavianlatin]=Napravite pomodnu temu Grantleejem.
Description[sr@latin]=Napravite pomodnu temu Grantleejem.
Description[sv]=Skapa snyggt tema med Grantlee.
Description[tr]=Grantlee ile süslü tema oluşturma.
Description[uk]=Створити складну тему за допомогою grantlee.
Description[x-test]=xxCreate fancy theme with grantlee.xx
Description[zh_CN]=用 grantlee 创建花哨主题
Description[zh_TW]=透過 grantlee 建立華麗的主題。
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.str}}
{% if header.resentFrom %}
&nbsp; {{ header.resentFromi18n }} {{ header.resentFrom }}
{% endif %}
{% if vCardName %}
&nbsp;&nbsp;<a href="{{ header.vcardname|safe }}">{{ header.vcardi18n }}</a>
{% endif %}
{% if header.organization %}
&nbsp;&nbsp;("{{ header.organization}}")
{% endif %}
</td>
</tr>
<tr>
<th align="left" style="font-size: 10px;">{{ header.toi18n }}</th>
<td style="font-size: 10px;">{{ header.to.expandableTo|safe }}</td>
</tr>
{% if header.cc.isSet %}
<tr>
<th align="left" style="font-size: 10px;"> {{ header.cci18n }} </th>
<td style="font-size: 10px;">{{ header.cc.expandableCc|safe }}</td>
</tr>
{% endif %}
{% if header.bcc.isSet %}
<tr>
<th align="left" style="font-size: 10px;"> {{ header.bcci18n }} </th>
<td style="font-size: 10px;">{{ header.bcc.expandableBCC|safe }}</td>
</tr>
{% endif %}
{% if header.sender.isSet %}
<tr>
<th align="left" style="font-size: 10px;"> {{ header.senderi18n }} </th>
<td style="font-size: 10px;">{{ header.sender.str }}</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.date.short }}</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