| 1480 | setAttr("#openReviewUsername", "placeholder", text.settings.openReviewPlaceholder); |
| 1481 | setAttr("#openReviewToken", "placeholder", text.settings.tokenPlaceholder); |
| 1482 | setAttr("#conferenceCookieFile", "placeholder", text.settings.cookiePlaceholder); |
| 1483 | setText(".source-auth-note", text.settings.sourceAuthNote); |
| 1484 | setText("#addSourceUrlBtn", text.settings.addUrl); |
| 1485 | if (state.settings) { |
| 1486 | const sourcePrefs = state.settings.source_preferences || {}; |
| 1487 | renderConferenceSettings(sourcePrefs); |
| 1488 | updateSourceAuthStatus(sourcePrefs, envMap(state.settings)); |
| 1489 | } |
| 1490 | setText(".settings-profile .setting-card-head h2", text.settings.profile); |
| 1491 | setText("#profileSyncStatus", text.settings.profileSync); |
| 1492 | setAttr("#profileUserId", "placeholder", text.settings.userPlaceholder); |
| 1493 | setAttr("#homepageUrl", "placeholder", text.settings.homepagePlaceholder); |
| 1494 | setAttr("#pdfPaths", "placeholder", text.settings.pdfPlaceholder); |
| 1495 | const resetProfileLabel = document.querySelector("#resetProfile")?.parentElement; |
| 1496 | if (resetProfileLabel) resetProfileLabel.lastChild.textContent = ` ${text.settings.resetProfile}`; |
| 1497 | setText("#saveProfileBtn", text.settings.saveProfile); |
| 1498 | setText(".settings-report .setting-card-head h2", text.settings.reportWiki); |
| 1499 | setAllText(".preference-tabs button", [text.settings.standard, text.settings.deep, text.settings.brief]); |
| 1500 | setLabelTexts(".preference-grid .checkline", [ |
| 1501 | text.settings.directFeishu, |
| 1502 | text.settings.batchFeishu, |
| 1503 | text.settings.pdfFeishu, |