Fixed: "Run on sentences" when multiple comments were present

This commit is contained in:
Squidly271 2023-01-05 10:10:27 -05:00
parent 0b31066097
commit d2122814ca
3 changed files with 5 additions and 5 deletions

View File

@ -22,4 +22,4 @@ ed42a35b3524b55e2024cdd56a795733 ./scripts/pluginInstall.php
5c088a7cf82229cb64edfd4c415a84a0 ./scripts/updatePluginSupport.php
230290ceb59b21a3fae7fa7674d5d89d ./skins/Narrow/css.php
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
cfc812f37f860ccf5a8b0688aa82549f ./skins/Narrow/skin.php
66ba1f2871db0118fd8c315a6cc6f4b2 ./skins/Narrow/skin.php

View File

@ -1412,13 +1412,13 @@ function displayPopup($template) {
$card .= "<div class='additionalRequirementsHeader'>".tr("Additional Requirements")."</div><div class='additionalRequirements'>{$template['Requires']}</div>";
if ( $Deprecated )
$ModeratorComment .= "<br>".tr("This application template has been deprecated");
$ModeratorComment .= "<br>".tr("This application template has been deprecated.");
if ( ! $Compatible && ! $UnknownCompatible )
$ModeratorComment .= $VerMessage ?: "<br>".tr("This application is not compatible with your version of Unraid");
$ModeratorComment .= $VerMessage ?: "<br>".tr("This application is not compatible with your version of Unraid.");
if ( $Blacklist )
$ModeratorComment .= "<br>".tr("This application template has been blacklisted");
$ModeratorComment .= "<br>".tr("This application template has been blacklisted.");
$ModeratorComment .= $CAComment;
$ModeratorComment .= " $CAComment";
if ( $Language && $LanguagePack !== "en_US" ) {
$ModeratorComment .= "<a href='$disclaimLineLink' target='_blank'>$disclaimLine1</a>";
}