chore: add other to categories in marketplace (#36047)

This commit is contained in:
Hanqing Zhao 2026-05-11 18:55:07 +08:00 committed by GitHub
parent 9cf2c9da5a
commit 6d64b4c43d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 18 additions and 10 deletions

View File

@ -59,6 +59,8 @@ export function useTemplateCategoryText() {
return t('marketplace.templateCategory.knowledge', { ns: 'plugin' })
case TEMPLATE_CATEGORY_MAP.design:
return t('marketplace.templateCategory.design', { ns: 'plugin' })
case TEMPLATE_CATEGORY_MAP.other:
return t('marketplace.templateCategory.other', { ns: 'plugin' })
case TEMPLATE_CATEGORY_MAP.all:
default:
return t('marketplace.templateCategory.all', { ns: 'plugin' })

View File

@ -21,6 +21,7 @@ const categoryValues = [
TEMPLATE_CATEGORY_MAP.it,
TEMPLATE_CATEGORY_MAP.knowledge,
TEMPLATE_CATEGORY_MAP.design,
TEMPLATE_CATEGORY_MAP.other,
] as const
export const TemplateCategorySwitch = ({

View File

@ -46,6 +46,7 @@ export const TEMPLATE_CATEGORY_MAP = {
it: 'it',
knowledge: 'knowledge',
design: 'design',
other: 'other',
} as const
export type ActiveTemplateCategory = typeof TEMPLATE_CATEGORY_MAP[keyof typeof TEMPLATE_CATEGORY_MAP]

View File

@ -246,6 +246,7 @@
"marketplace.templateCategory.knowledge": "Knowledge",
"marketplace.templateCategory.marketing": "Marketing",
"marketplace.templateCategory.operations": "Operations",
"marketplace.templateCategory.other": "Other",
"marketplace.templateCategory.sales": "Sales",
"marketplace.templateCategory.support": "Support",
"marketplace.templatesHeroSubtitle": "Discover templates built by the community — ready to use, customize, and deploy.",

View File

@ -246,6 +246,7 @@
"marketplace.templateCategory.knowledge": "ナレッジ",
"marketplace.templateCategory.marketing": "マーケティング",
"marketplace.templateCategory.operations": "オペレーション",
"marketplace.templateCategory.other": "その他",
"marketplace.templateCategory.sales": "セールス",
"marketplace.templateCategory.support": "サポート",
"marketplace.templatesHeroSubtitle": "コミュニティが開発したテンプレートをチェック — すぐに使えて、自在にカスタマイズ、そのままデプロイ可能。",

View File

@ -80,7 +80,6 @@
"categorySingle.model": "Modelo",
"categorySingle.tool": "Ferramenta",
"categorySingle.trigger": "Gatilho",
"createPublishTemplates": "Criar / Publicar modelos",
"debugInfo.title": "Depuração",
"debugInfo.viewDocs": "Ver documentos",
"deprecated": "Obsoleto",
@ -194,6 +193,10 @@
"list.source.github": "Instalar do GitHub",
"list.source.local": "Instalar a partir do arquivo de pacote local",
"list.source.marketplace": "Instalar do Marketplace",
"marketplace.and": "e",
"marketplace.difyMarketplace": "Mercado Dify",
"marketplace.discover": "Descobrir",
"marketplace.empower": "Capacite seu desenvolvimento de IA",
"marketplace.featured": "Em destaque",
"marketplace.installs": "instalações",
"marketplace.languages": "Idiomas",
@ -204,7 +207,12 @@
"marketplace.listTopInfo.templatesSubtitle": "Fluxos de trabalho projetados para acelerar seu desenvolvimento de código e IA",
"marketplace.listTopInfo.templatesTitleAll": "Todos os modelos",
"marketplace.listTopInfo.templatesTitleByCategory": "Todos os modelos de {{category}}",
"marketplace.moreFrom": "Mais do Marketplace",
"marketplace.noCreatorFound": "Nenhum criador encontrado",
"marketplace.noPluginFound": "Nenhum plugin encontrado",
"marketplace.noTemplateFound": "Nenhum modelo encontrado",
"marketplace.ourTopPicks": "Nossas principais escolhas para você começar",
"marketplace.partnerTip": "Verificado por um parceiro da Dify",
"marketplace.pluginsHeroSubtitle": "Desenvolva com plugins mais seguros e confiáveis do Marketplace Dify.",
"marketplace.pluginsHeroTitle": "Descubra. Expanda. Desenvolva.",
"marketplace.searchBreadcrumbMarketplace": "Marketplace",
@ -230,19 +238,11 @@
"marketplace.templateCategory.knowledge": "Conhecimento",
"marketplace.templateCategory.marketing": "Marketing",
"marketplace.templateCategory.operations": "Operações",
"marketplace.templateCategory.other": "Outros",
"marketplace.templateCategory.sales": "Vendas",
"marketplace.templateCategory.support": "Suporte",
"marketplace.templatesHeroSubtitle": "Descubra modelos criados pela comunidade — prontos para usar, personalizar e implantar.",
"marketplace.templatesHeroTitle": "Crie. Remixe. Implante.",
"marketplace.and": "e",
"marketplace.difyMarketplace": "Mercado Dify",
"marketplace.discover": "Descobrir",
"marketplace.empower": "Capacite seu desenvolvimento de IA",
"marketplace.moreFrom": "Mais do Marketplace",
"marketplace.noCreatorFound": "Nenhum criador encontrado",
"marketplace.noPluginFound": "Nenhum plugin encontrado",
"marketplace.noTemplateFound": "Nenhum modelo encontrado",
"marketplace.partnerTip": "Verificado por um parceiro da Dify",
"marketplace.pluginsResult": "{{num}} resultados",
"marketplace.sortBy": "Ordenar por",
"marketplace.sortOption.firstReleased": "Lançado pela primeira vez",

View File

@ -246,6 +246,7 @@
"marketplace.templateCategory.knowledge": "知识",
"marketplace.templateCategory.marketing": "营销",
"marketplace.templateCategory.operations": "运营",
"marketplace.templateCategory.other": "其他",
"marketplace.templateCategory.sales": "销售",
"marketplace.templateCategory.support": "支持",
"marketplace.templatesHeroSubtitle": "发现由社区打造的精选模板 —— 即刻使用,灵活定制,快速部署。",

View File

@ -246,6 +246,7 @@
"marketplace.templateCategory.knowledge": "知識",
"marketplace.templateCategory.marketing": "行銷",
"marketplace.templateCategory.operations": "營運",
"marketplace.templateCategory.other": "其他",
"marketplace.templateCategory.sales": "銷售",
"marketplace.templateCategory.support": "支援",
"marketplace.templatesHeroSubtitle": "探索由社群打造的精選模板 —— 即刻使用,彈性客製,快速部署。",