bugs
This commit is contained in:
@@ -723,29 +723,7 @@ if (!function_exists('monthForecastBuildNarrativeText')) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
foreach ($skyIntroByMonth as $introMonthNumber => $introText) {
|
foreach ($skyIntroByMonth as $introMonthNumber => $introText) {
|
||||||
$monthLabel = $monthName;
|
$skyIntroByMonth[$introMonthNumber] = [$introText];
|
||||||
if ($introMonthNumber !== $monthNumber) {
|
|
||||||
$monthLabel = [
|
|
||||||
1 => 'Januar',
|
|
||||||
2 => 'Februar',
|
|
||||||
3 => 'März',
|
|
||||||
4 => 'April',
|
|
||||||
5 => 'Mai',
|
|
||||||
6 => 'Juni',
|
|
||||||
7 => 'Juli',
|
|
||||||
8 => 'August',
|
|
||||||
9 => 'September',
|
|
||||||
10 => 'Oktober',
|
|
||||||
11 => 'November',
|
|
||||||
12 => 'Dezember',
|
|
||||||
][$introMonthNumber] ?? $monthName;
|
|
||||||
}
|
|
||||||
|
|
||||||
$skyIntroByMonth[$introMonthNumber] = [
|
|
||||||
$introText,
|
|
||||||
$monthLabel,
|
|
||||||
$monthLabel,
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$paragraphs = [];
|
$paragraphs = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user