updated translations keys

Signed-off-by: Piotr Piątkiewicz <piatkiewicz.piotr@gmail.com>
This commit is contained in:
Piotr Piątkiewicz
2024-02-13 10:39:44 +01:00
parent 8d3734b42a
commit d1d602e6d9
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ export default _default;
export const linguistTranslationRef: TranslationRef<
'linguist',
{
readonly 'component.title': 'Languages';
readonly 'component.noData': 'There is currently no language data for this entity.';
readonly 'entityCard.title': 'Languages';
readonly 'entityCard.noData': 'There is currently no language data for this entity.';
}
>;
@@ -73,10 +73,10 @@ export const LinguistCard = () => {
if (items && items.languageCount === 0 && items.totalBytes === 0) {
return (
<InfoCard title={t('component.title')} className={classes.infoCard}>
<InfoCard title={t('entityCard.title')} className={classes.infoCard}>
<Grid container spacing={3}>
<Box p={2}>
<Typography>{t('component.noData')}</Typography>
<Typography>{t('entityCard.noData')}</Typography>
</Box>
</Grid>
</InfoCard>
+1 -1
View File
@@ -19,7 +19,7 @@ import { createTranslationRef } from '@backstage/core-plugin-api/alpha';
export const linguistTranslationRef = createTranslationRef({
id: 'linguist',
messages: {
component: {
entityCard: {
title: 'Languages',
noData: 'There is currently no language data for this entity.',
},