File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
site/src/pages/TemplatesPages Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export const Language = {
25
25
nameLabel : "Name" ,
26
26
emptyMessage : "No templates have been created yet" ,
27
27
emptyDescription : "Run the following command to get started:" ,
28
+ totalLabel : "total" ,
28
29
}
29
30
30
31
export const TemplatesPage : React . FC = ( ) => {
@@ -34,7 +35,7 @@ export const TemplatesPage: React.FC = () => {
34
35
orgs ? `/api/v2/organizations/${ orgs [ 0 ] . id } /templates` : null ,
35
36
)
36
37
const isLoading = ! templates || ! orgs
37
- const subTitle = templates ? `${ templates . length } total ` : undefined
38
+ const subTitle = templates ? `${ templates . length } ${ Language . totalLabel } ` : undefined
38
39
const hasError = orgsError || error
39
40
// Create a dictionary of organization ID -> organization Name
40
41
// Needed to properly construct links to dive into a template
You can’t perform that action at this time.
0 commit comments