locale added all case conversion
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
This commit is contained in:
@@ -74,7 +74,8 @@ export const ConsumedApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
emptyContent={
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Typography variant="body1">
|
||||
This {entity.kind.toLowerCase()} does not consume any APIs.
|
||||
This {entity.kind.toLocaleLowerCase('en-US')} does not consume any
|
||||
APIs.
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
<Link to="https://backstage.io/docs/features/software-catalog/descriptor-format#specconsumesapis-optional">
|
||||
|
||||
@@ -78,7 +78,8 @@ export const HasApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
emptyContent={
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Typography variant="body1">
|
||||
This {entity.kind.toLowerCase()} does not contain any APIs.
|
||||
This {entity.kind.toLocaleLowerCase('en-US')} does not contain any
|
||||
APIs.
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
<Link to="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-api">
|
||||
|
||||
@@ -74,7 +74,8 @@ export const ProvidedApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
emptyContent={
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Typography variant="body1">
|
||||
This {entity.kind.toLowerCase()} does not provide any APIs.
|
||||
This {entity.kind.toLocaleLowerCase('en-US')} does not provide any
|
||||
APIs.
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
<Link to="https://backstage.io/docs/features/software-catalog/descriptor-format#specprovidesapis-optional">
|
||||
|
||||
Reference in New Issue
Block a user