Skip to content

Commit e1e6d9d

Browse files
committed
Add total label
1 parent c0824d5 commit e1e6d9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/pages/TemplatesPages/TemplatesPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const Language = {
2525
nameLabel: "Name",
2626
emptyMessage: "No templates have been created yet",
2727
emptyDescription: "Run the following command to get started:",
28+
totalLabel: "total",
2829
}
2930

3031
export const TemplatesPage: React.FC = () => {
@@ -34,7 +35,7 @@ export const TemplatesPage: React.FC = () => {
3435
orgs ? `/api/v2/organizations/${orgs[0].id}/templates` : null,
3536
)
3637
const isLoading = !templates || !orgs
37-
const subTitle = templates ? `${templates.length} total` : undefined
38+
const subTitle = templates ? `${templates.length} ${Language.totalLabel}` : undefined
3839
const hasError = orgsError || error
3940
// Create a dictionary of organization ID -> organization Name
4041
// Needed to properly construct links to dive into a template

0 commit comments

Comments
 (0)