diff --git a/src/Components/PhpInfo/components/php-version.tsx b/src/Components/PhpInfo/components/php-version.tsx index 5e585b0..9728510 100644 --- a/src/Components/PhpInfo/components/php-version.tsx +++ b/src/Components/PhpInfo/components/php-version.tsx @@ -27,12 +27,15 @@ export const PhpInfoPhpVersion: FC = observer(() => { href="https://www.php.net/" title={gettext('Visit PHP.net Official website')} > - {phpVersion} {compare === -1 - ? ` ${template(gettext('{{latestPhpVersion}} (Latest)'), { - latestPhpVersion, - })}` - : ''} + ? ` ${template( + gettext('{{oldVersion}} (Latest: {{latestPhpVersion}})'), + { + oldVersion: phpVersion, + latestPhpVersion, + } + )}` + : phpVersion} ); });