diff --git a/src/pages/showcase/_components/ShowcaseCard/index.tsx b/src/pages/showcase/_components/ShowcaseCard/index.tsx index 17eb6e00135..5cc9c1caf59 100644 --- a/src/pages/showcase/_components/ShowcaseCard/index.tsx +++ b/src/pages/showcase/_components/ShowcaseCard/index.tsx @@ -84,7 +84,7 @@ function ShowcaseCard({user}: {user: User}) { 'button button--secondary button--sm', styles.showcaseCardSrcBtn, )}> - source + 源码 )} diff --git a/src/pages/showcase/_components/ShowcaseCards/index.tsx b/src/pages/showcase/_components/ShowcaseCards/index.tsx index f71c87a5ce7..d00c7bdd37f 100644 --- a/src/pages/showcase/_components/ShowcaseCards/index.tsx +++ b/src/pages/showcase/_components/ShowcaseCards/index.tsx @@ -27,7 +27,7 @@ const otherUsers = sortedUsers.filter( function HeadingNoResult() { return ( - No result + 没有符合条件的案例 ); } diff --git a/src/pages/showcase/_utils.tsx b/src/pages/showcase/_utils.tsx index 79abf738918..db94c11db1e 100644 --- a/src/pages/showcase/_utils.tsx +++ b/src/pages/showcase/_utils.tsx @@ -89,9 +89,8 @@ export function useSiteCountPlural() { translate( { id: 'showcase.filters.resultCount', - description: - 'Pluralized label for the number of sites found on the showcase. Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)', - message: '1 site|{sitesCount} sites', + description: '', + message: '{sitesCount} 项案例', }, {sitesCount}, ), diff --git a/src/pages/showcase/index.tsx b/src/pages/showcase/index.tsx index 74ba58da468..2b7a3fcf261 100644 --- a/src/pages/showcase/index.tsx +++ b/src/pages/showcase/index.tsx @@ -15,9 +15,9 @@ import ShowcaseSearchBar from '@site/src/pages/showcase/_components/ShowcaseSear import ShowcaseCards from './_components/ShowcaseCards'; import ShowcaseFilters from './_components/ShowcaseFilters'; -const TITLE = translate({message: 'GoFrame框架案例展示'}); +const TITLE = translate({message: '🌟GoFrame框架案例展示, Time to shine🌟'}); const DESCRIPTION = translate({ - message: '基于GoFrame构建的站点以及适用于GoFrame的开源组件列表', + message: '🔥基于GoFrame构建的站点, 以及适用于GoFrame的开源组件列表🔥', }); const SUBMIT_URL = 'https://github.com/gogf/gf-site/discussions/59';