- {loading ? 'Loading PRs...' : `${prs.length} pull request${prs.length !== 1 ? 's' : ''}`} + {loading + ? t('contributor_pr_loading') + : t(prs.length === 1 ? 'contributor_pr_count_one' : 'contributor_pr_count_other', { count: prs.length })}
))} diff --git a/src/components/cards/ProjectCardList.tsx b/src/components/cards/ProjectCardList.tsx index ac4fbe9..b9e5b64 100644 --- a/src/components/cards/ProjectCardList.tsx +++ b/src/components/cards/ProjectCardList.tsx @@ -452,6 +452,7 @@ export function ProjectCardList({ (dndCategoryGroups || categoryGroups)!, categories, isDndEnabled ? cardForDnd : cardFor, + t('uncategorized'), isDndEnabled, ) : unpinnedProjects.map((p) => isDndEnabled ? cardForDnd(p) : cardFor(p))), @@ -461,6 +462,7 @@ export function ProjectCardList({ (dndCategoryGroups || categoryGroups)!, categories, isDndEnabled ? cardForDnd : cardFor, + t('uncategorized'), isDndEnabled, ) : projects.map((p) => isDndEnabled ? cardForDnd(p) : cardFor(p)) @@ -520,6 +522,7 @@ function renderCategoryGroups( groups: Map{t('no_categories_yet')}
-Create one above to organize your projects
+{t('category_empty_hint')}