Fix German language typos in newsletter HTML within index.php, including corrections to "für," "Übersicht," "Beiträge," and "Grüsse." Update hint text for highlight URLs to clarify behavior when fields are empty, enhancing user understanding.
This commit is contained in:
16
index.php
16
index.php
@@ -350,7 +350,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
$summaryText = $count === 1
|
$summaryText = $count === 1
|
||||||
? 'In diesem Zeitraum wurde ein neuer Wiki-Artikel veröffentlicht.'
|
? 'In diesem Zeitraum wurde ein neuer Wiki-Artikel veröffentlicht.'
|
||||||
: 'In diesem Zeitraum wurden ' . $count . ' neue Wiki-Artikel veröffentlicht.';
|
: 'In diesem Zeitraum wurden ' . $count . ' neue Wiki-Artikel veröffentlicht.';
|
||||||
$heroHeadline = 'Die wichtigsten Wiki-Updates fuer Ihr Team';
|
$heroHeadline = 'Die wichtigsten Wiki-Updates für Ihr Team';
|
||||||
$editorTip = trim((string)($config['editor_tip'] ?? ''));
|
$editorTip = trim((string)($config['editor_tip'] ?? ''));
|
||||||
|
|
||||||
$manualHighlightUrls = [];
|
$manualHighlightUrls = [];
|
||||||
@@ -373,10 +373,6 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($highlightArticles) && !empty($articles)) {
|
|
||||||
$highlightArticles = array_slice($articles, 0, 3);
|
|
||||||
}
|
|
||||||
|
|
||||||
[$periodStart, $periodEnd] = newsletterPeriod((string)$config['period_mode']);
|
[$periodStart, $periodEnd] = newsletterPeriod((string)$config['period_mode']);
|
||||||
$rangeEnd = $periodEnd;
|
$rangeEnd = $periodEnd;
|
||||||
if (($config['period_mode'] ?? '') === 'current_month') {
|
if (($config['period_mode'] ?? '') === 'current_month') {
|
||||||
@@ -572,7 +568,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="mobile-intro" style="font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:29px;color:#22324a;">
|
<td class="mobile-intro" style="font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:29px;color:#22324a;">
|
||||||
Guten Tag,<br><br>
|
Guten Tag,<br><br>
|
||||||
hier ist Ihre kuratierte Uebersicht mit den wichtigsten Beitraegen aus dem Thomas-Krenn-Wiki ' . $dateRangeText . '.<br>
|
hier ist Ihre kuratierte Übersicht mit den wichtigsten Beiträgen aus dem Thomas-Krenn-Wiki ' . $dateRangeText . '.<br>
|
||||||
Der Fokus liegt auf praxisnahen Themen, damit Ihr Team schneller zu Entscheidungen kommt.
|
Der Fokus liegt auf praxisnahen Themen, damit Ihr Team schneller zu Entscheidungen kommt.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -590,7 +586,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<td style="font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px;color:#2a3950;">
|
<td style="font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px;color:#2a3950;">
|
||||||
Haben Sie Fragen oder einen Themenwunsch?
|
Haben Sie Fragen oder einen Themenwunsch?
|
||||||
<a href="' . h($replyHref) . '" style="color:#ff7d00;text-decoration:underline;">Schreiben Sie uns gerne direkt.</a><br><br>
|
<a href="' . h($replyHref) . '" style="color:#ff7d00;text-decoration:underline;">Schreiben Sie uns gerne direkt.</a><br><br>
|
||||||
Viele Gruesse<br>
|
Viele Grüsse<br>
|
||||||
Ihr Thomas-Krenn Team
|
Ihr Thomas-Krenn Team
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -600,7 +596,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<tr>
|
<tr>
|
||||||
<td style="background:#5f6064;padding:22px 20px;text-align:center;font-family:Arial,Helvetica,sans-serif;">
|
<td style="background:#5f6064;padding:22px 20px;text-align:center;font-family:Arial,Helvetica,sans-serif;">
|
||||||
<div style="font-size:12px;line-height:19px;color:#eef0f2;">
|
<div style="font-size:12px;line-height:19px;color:#eef0f2;">
|
||||||
Thomas-Krenn.AG | Speltenbach-Steinaecker 1 | D-94078 Freyung<br>
|
Thomas-Krenn.AG | Speltenbach-Steinäcker 1 | D-94078 Freyung<br>
|
||||||
Tel.: +49 8551 9150 0 | Fax: +49 8551 9150 55 |
|
Tel.: +49 8551 9150 0 | Fax: +49 8551 9150 55 |
|
||||||
<a href="https://www.thomas-krenn.com/de/wiki/Hauptseite" target="_blank" style="color:#ff7d00;text-decoration:underline;">thomas-krenn.com</a>
|
<a href="https://www.thomas-krenn.com/de/wiki/Hauptseite" target="_blank" style="color:#ff7d00;text-decoration:underline;">thomas-krenn.com</a>
|
||||||
' . $unsubscribeFooter . '
|
' . $unsubscribeFooter . '
|
||||||
@@ -1086,7 +1082,7 @@ $isLoggedIn = isAdminLoggedIn();
|
|||||||
<p class="hint">Platzhalter: <code>{MONAT}</code>, <code>{ANZAHL}</code></p>
|
<p class="hint">Platzhalter: <code>{MONAT}</code>, <code>{ANZAHL}</code></p>
|
||||||
|
|
||||||
<label>Redaktionstipp (optional)</label>
|
<label>Redaktionstipp (optional)</label>
|
||||||
<textarea name="editor_tip" placeholder="Optionaler Hinweis fuer den Newsletter..."><?= h((string)($config['editor_tip'] ?? '')) ?></textarea>
|
<textarea name="editor_tip" placeholder="Optionaler Hinweis für den Newsletter..."><?= h((string)($config['editor_tip'] ?? '')) ?></textarea>
|
||||||
<p class="hint">Wird nur im Newsletter angezeigt, wenn ein Text hinterlegt ist.</p>
|
<p class="hint">Wird nur im Newsletter angezeigt, wenn ein Text hinterlegt ist.</p>
|
||||||
|
|
||||||
<label>Top Highlight 1 URL (optional)</label>
|
<label>Top Highlight 1 URL (optional)</label>
|
||||||
@@ -1097,7 +1093,7 @@ $isLoggedIn = isAdminLoggedIn();
|
|||||||
|
|
||||||
<label>Top Highlight 3 URL (optional)</label>
|
<label>Top Highlight 3 URL (optional)</label>
|
||||||
<input name="highlight_url_3" value="<?= h((string)($config['highlight_url_3'] ?? '')) ?>" placeholder="https://www.thomas-krenn.com/de/wiki/...">
|
<input name="highlight_url_3" value="<?= h((string)($config['highlight_url_3'] ?? '')) ?>" placeholder="https://www.thomas-krenn.com/de/wiki/...">
|
||||||
<p class="hint">Wenn gesetzt, werden diese 3 Artikel in genau dieser Reihenfolge als Highlights verwendet. Leer = automatische Highlights (erste 3 Artikel).</p>
|
<p class="hint">Wenn gesetzt, werden diese 3 Artikel in genau dieser Reihenfolge als Highlights verwendet. Sind alle Felder leer, wird kein Highlights-Block angezeigt.</p>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user