Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/views/locales/en/ship.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
"draft_title": "{{count}} draft",
"no_prs": "No pull requests"
},
"repo_section": {
"expand": "Expand repo",
"collapse": "Collapse repo",
"empty": "No pull requests"
},
"kanban": {
"drafted": "Drafted",
"in_review": "In Review",
Expand Down
5 changes: 5 additions & 0 deletions packages/views/locales/zh-Hans/ship.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
"draft_title": "{{count}} 个草稿",
"no_prs": "暂无 PR"
},
"repo_section": {
"expand": "展开仓库",
"collapse": "折叠仓库",
"empty": "没有拉取请求"
},
"kanban": {
"drafted": "草稿",
"in_review": "审查中",
Expand Down
6 changes: 5 additions & 1 deletion packages/views/ship/components/ship-repo-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ export function ShipRepoSection({
className="flex size-5 shrink-0 items-center justify-center rounded hover:bg-muted"
aria-expanded={!collapsed}
aria-controls={sectionId}
aria-label={collapsed ? "Expand repo" : "Collapse repo"}
aria-label={
collapsed
? t(($) => $.repo_section.expand)
: t(($) => $.repo_section.collapse)
}
>
<ChevronRight
className={cn(
Expand Down
Loading