Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/SetupChecks/HarpVersionCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ public function run(): SetupResult {
continue;
}
if (!$this->fulfillsMinimumVersionRequirement($versionString)) {
$issues[] = $this->l10n->t('HaRP version for daemon "%s" is "%s", which is too old. The minimum required version is "%s". Please update the daemon to the latest version.', [$daemonConfig->getName(), $versionString, Application::MINIMUM_HARP_VERSION]);
$issues[] = $this->l10n->t('HaRP version for daemon "%1$s" is "%2$s", which is too old. The minimum required version is "%3$s". Please update the daemon to the latest version.', [$daemonConfig->getName(), $versionString, Application::MINIMUM_HARP_VERSION]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Preserve the existing translations for both warnings.

The new message IDs do not match the shipped catalog entries. Non-English users will therefore see these warnings in English until updated translations are shipped. Coordinate the catalog updates with this change, or migrate the existing translations to the numbered placeholders.

Also applies to: 75-75

}
} catch (\Exception $e) {
$this->logger->error('Failed to check HaRP version for daemon ' . $daemonConfig->getName() . ': ' . $e->getMessage(), ['exception' => $e]);
$issues[] = $this->l10n->t('Failed to check HaRP version for daemon "%s": %s', [$daemonConfig->getName(), $e->getMessage()]);
$issues[] = $this->l10n->t('Failed to check HaRP version for daemon "%1$s": %2$s', [$daemonConfig->getName(), $e->getMessage()]);
}
}

Expand Down
Loading