MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / restoreProfileDraft

Function restoreProfileDraft

deployments/desktop/static/desktop.js:1502–1510  ·  view source on GitHub ↗
(draft = {})

Source from the content-addressed store, hash-verified

1500 setLabelTexts(".preference-grid .checkline", [
1501 text.settings.directFeishu,
1502 text.settings.batchFeishu,
1503 text.settings.pdfFeishu,
1504 text.settings.wikiAuto,
1505 text.settings.notesGitReview
1506 ]);
1507 setText(".settings-storage .setting-card-head h2", text.settings.storage);
1508 setAllText(".storage-counters span", [text.settings.papers, text.settings.queue, "Wiki", text.settings.cache]);
1509 if ($("settingsList")?.classList.contains("empty")) $("settingsList").textContent = text.settings.storageEmpty;
1510 setText("#saveStorageSettingsBtn", text.settings.save);
1511 setText("#exportMarkdownBtn", text.settings.exportMarkdown);
1512 setText("#exportZipBtn", text.settings.exportZip);
1513 setText(".settings-advanced .setting-card-head h2", text.settings.advanced);

Callers 1

setLocaleFunction · 0.85

Calls 1

$Function · 0.70

Tested by

no test coverage detected