[Templates] Use fallbacks when translating template titles and category names (#3494)

This commit is contained in:
Christian Byrne
2025-04-18 10:57:03 +08:00
committed by GitHub
parent 2f77d74891
commit e2a6dc2ec8
4 changed files with 59 additions and 14 deletions

View File

@@ -1,5 +1,9 @@
export interface TemplateInfo {
name: string
/**
* Optional title which is used as the fallback if the name is not in the locales dictionary.
*/
title?: string
tutorialUrl?: string
mediaType: string
mediaSubtype: string