Plugins: Change versions tab column name (#105596)
This commit is contained in:
@@ -48,7 +48,7 @@ export const VersionList = ({ pluginId, versions = [], installedVersion, disable
|
||||
</th>
|
||||
<th></th>
|
||||
<th>
|
||||
<Trans i18nKey="plugins.version-list.last-updated">Last updated</Trans>
|
||||
<Trans i18nKey="plugins.version-list.latest-release-date">Latest release date</Trans>
|
||||
</th>
|
||||
<th>
|
||||
<Trans i18nKey="plugins.version-list.grafana-dependency">Grafana dependency</Trans>
|
||||
@@ -113,7 +113,7 @@ export const VersionList = ({ pluginId, versions = [], installedVersion, disable
|
||||
/>
|
||||
</td>
|
||||
|
||||
{/* Last updated */}
|
||||
{/* Latest release date */}
|
||||
<td className={isInstalledVersion ? styles.currentVersion : ''}>
|
||||
{dateTimeFormatTimeAgo(version.updatedAt || version.createdAt)}
|
||||
</td>
|
||||
|
||||
@@ -274,7 +274,7 @@ describe('Plugin details page', () => {
|
||||
|
||||
// Check the column headers
|
||||
expect(getByRole('columnheader', { name: /version/i })).toBeInTheDocument();
|
||||
expect(getByRole('columnheader', { name: /last updated/i })).toBeInTheDocument();
|
||||
expect(getByRole('columnheader', { name: /latest release date/i })).toBeInTheDocument();
|
||||
|
||||
// Check the data
|
||||
for (const version of versions) {
|
||||
|
||||
@@ -7373,8 +7373,8 @@
|
||||
"version-list": {
|
||||
"grafana-dependency": "Grafana dependency",
|
||||
"installed-version": "{{versionNumber}} (installed version)",
|
||||
"last-updated": "Last updated",
|
||||
"latest-compatible-version": "{{versionNumber}} (latest compatible version)",
|
||||
"latest-release-date": "Latest release date",
|
||||
"no-version-history-was-found": "No version history was found.",
|
||||
"version": "Version"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user