Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
gqcn committed Nov 18, 2024
1 parent cefa67a commit f67da38
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/pages/showcase/_components/ShowcaseCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function ShowcaseCard({user}: {user: User}) {
'button button--secondary button--sm',
styles.showcaseCardSrcBtn,
)}>
<Translate id="showcase.card.sourceLink">source</Translate>
<Translate id="showcase.card.sourceLink">源码</Translate>
</Link>
)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/showcase/_components/ShowcaseCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const otherUsers = sortedUsers.filter(
function HeadingNoResult() {
return (
<Heading as="h2">
<Translate id="showcase.usersList.noResult">No result</Translate>
<Translate id="showcase.usersList.noResult">没有符合条件的案例</Translate>
</Heading>
);
}
Expand Down
5 changes: 2 additions & 3 deletions src/pages/showcase/_utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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},
),
Expand Down
4 changes: 2 additions & 2 deletions src/pages/showcase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit f67da38

Please sign in to comment.