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
3 changes: 0 additions & 3 deletions packages/webview/src/ContestApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,6 @@ const ContestApp: React.FC<ContestAppProps> = ({ initContest = "" }) => {
>
{t("ui.browserOpen")}
</Button>
<Button onClick={handleFetchSubmitPage} disabled={isLoading} size="sm" className="h-[26px] text-[11px]">
{submitTasks.length === 0 ? (isLoading ? t("ui.fetching") : t("ui.fetchSubmitPage")) : t("ui.refresh")}
</Button>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions packages/webview/src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const en: Record<keyof ZhDict, string> = {
"ui.submit": "Submit",
"ui.submitting": "Submitting...",
"ui.fetching": "Fetching...",
"ui.fetchSubmitPage": "Fetch submit page",
"ui.openInBrowser": "Open in Browser",
"ui.browserOpen": "Open in browser",
"ui.fetchingData": "Fetching data...",
Expand Down
1 change: 1 addition & 0 deletions packages/webview/src/i18n/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const zh = {
"ui.submit": "提交",
"ui.submitting": "提交中...",
"ui.fetching": "获取中...",
"ui.fetchSubmitPage": "获取提交页面",
"ui.openInBrowser": "在浏览器中打开",
"ui.browserOpen": "浏览器打开",
"ui.fetchingData": "正在抓取数据...",
Expand Down
Loading