mirror of
https://github.com/kmvan/x-prober.git
synced 2026-04-21 16:59:02 +08:00
adjust php version text
This commit is contained in:
@@ -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}
|
||||
</Link>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user