Skip to content

Commit

Permalink
fix: capitalize the first letter (#298)
Browse files Browse the repository at this point in the history
Signed-off-by: laixingyou <[email protected]>
  • Loading branch information
coder-sett authored Jan 11, 2024
1 parent 670bdd6 commit 5719d7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/web/i18n
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { useTranslation } from 'next-i18next';
const useContributionTypeMap = () => {
const { t } = useTranslation();
return {
observe: {
Observe: {
fork: t('analyze:metric_detail:observe:fork'),
star: t('analyze:metric_detail:observe:star'),
},
issue: {
Issue: {
issue_creation: t('analyze:metric_detail:issue:issue_creation'),
issue_comments: t('analyze:metric_detail:issue:issue_comments'),
},
'issue admin': {
'Issue Admin': {
issue_labeled: t('analyze:metric_detail:issue_admin:issue_labeled'),
issue_unlabeled: t('analyze:metric_detail:issue_admin:issue_unlabeled'),
issue_closed: t('analyze:metric_detail:issue_admin:issue_closed'),
Expand Down Expand Up @@ -65,12 +65,12 @@ const useContributionTypeMap = () => {
'analyze:metric_detail:issue_admin:issue_change_branch'
),
},
code: {
Code: {
pr_creation: t('analyze:metric_detail:code:pr_creation'),
pr_comments: t('analyze:metric_detail:code:pr_comments'),
code_commit: t('analyze:metric_detail:code:code_commit'),
},
'code admin': {
'Code Admin': {
pr_labeled: t('analyze:metric_detail:code_admin:pr_labeled'),
pr_unlabeled: t('analyze:metric_detail:code_admin:pr_unlabeled'),
pr_closed: t('analyze:metric_detail:code_admin:pr_closed'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const MetricContributor = () => {
</Tabs>
</div>

{/* <div className="absolute right-1 top-2.5 flex md:hidden xl:-top-2.5">
<div className="absolute right-1 top-2.5 flex md:hidden xl:-top-2.5">
<span className="mr-2 flex cursor-pointer items-center font-medium">
{t('analyze:metric_detail:milestone_persona_filter')}
<Tooltip
Expand Down Expand Up @@ -150,7 +150,7 @@ const MetricContributor = () => {
defaultValue={['core', 'regular']}
onChange={onChange}
/>
</div> */}
</div>

<div className="flex-1">{source}</div>
</div>
Expand Down

2 comments on commit 5719d7d

@vercel
Copy link

@vercel vercel bot commented on 5719d7d Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 5719d7d Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.