ff3dcac9269104df22c3b06fe44556f71bcae0c3 gperez2 Thu Jun 20 17:30:01 2024 -0700 Switching the Advanced track search page, View chromosomes page, hgConvert, hgCustom, hgGateway, hgLiftOver, hgPcr, hgSession, hgTracks, and hgCustom labels/buttons to sentence case, refs #25787 diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c index 84510a3..5b46b39 100644 --- src/hg/hgSession/hgSession.c +++ src/hg/hgSession/hgSession.c @@ -311,38 +311,38 @@ "$(document).ready(function () {\n" " $('#sessionTable').DataTable({\"columnDefs\": [{\"orderable\":false, \"targets\":[0,4,5,6,7,8]}],\n" " \"order\":[2,'desc'],\n" " \"stateSave\":true,\n" " \"stateSaveCallback\": %s,\n" " \"stateLoadCallback\": %s\n" " });\n" "} );\n" "}\n" , jsDataTableStateSave(hgSessionPrefix), jsDataTableStateLoad(hgSessionPrefix, cart)); printf("
session name (click to load) | " - "created on | view count | " - "assembly | " - "view/edit details | "
- "delete this session | "
- "share with others? | "
- "post in public listing? | "
- "send to | ",
+printf("Session name (click to load) | " + "Created on | View count | " + "Assembly | " + "View/edit details | "
+ "Delete this session | "
+ "Share with others? | "
+ "Post in public listing? | "
+ "Send to | ",
cartSidUrlString(cart));
printf("
" "Use settings from another user's saved session: | |
user: \n"); + " | |
User: \n"); cgiMakeOnKeypressTextVar(hgsOtherUserName, cartUsualString(cart, hgsOtherUserName, ""), 20, "return noSubmitOnEnter(event);"); -printf(" session name: \n"); +printf(" Session name: \n"); cgiMakeOnKeypressTextVar(hgsOtherUserSessionName, cartUsualString(cart, hgsOtherUserSessionName, ""), 20, jsPressOnEnter(hgsDoOtherUser)); printf(" "); cgiMakeButton(hgsDoOtherUser, "Submit"); printf(" | |
Save current settings as named session:" " | |||
name: | \n"); + " | ||
Name: | \n"); cgiMakeOnKeypressTextVar(hgsNewSessionName, hubConnectSkipHubPrefix(cartUsualString(cart, "db", "mySession")), 20, jsPressOnEnter(hgsDoNewSession)); printf(" "); cgiMakeCheckBox(hgsNewSessionShare, cartUsualBoolean(cart, hgsNewSessionShare, TRUE)); - printf("allow this session to be loaded by others\n"); + printf("Allow this session to be loaded by others\n"); printf(" | "); printf(" "); if (existingSessionNames) { struct dyString *js = dyPrintCheckExistingSessionJs(existingSessionNames, NULL); cgiMakeOnClickSubmitButton(js->string, hgsDoNewSession, "Submit"); dyStringFree(&js); } else cgiMakeButton(hgsDoNewSession, "submit"); printf(" | |
Save current settings to a local file: | |||
file: | \n"); +printf(" | ||
File: | \n"); cgiMakeOnKeypressTextVar(hgsSaveLocalFileName, cartUsualString(cart, hgsSaveLocalFileName, ""), 20, jsPressOnEnter(hgsDoSaveLocal)); printf(" "); -printf("file type returned: "); +printf("File type returned: "); char *compressType = cartUsualString(cart, hgsSaveLocalFileCompress, textOutCompressNone); cgiMakeRadioButton(hgsSaveLocalFileCompress, textOutCompressNone, differentWord(textOutCompressGzip, compressType)); printf(" plain text  "); cgiMakeRadioButton(hgsSaveLocalFileCompress, textOutCompressGzip, sameWord(textOutCompressGzip, compressType)); printf(" gzip compressed (ignored if output file is blank)"); printf(" | "); printf(" "); cgiMakeButton(hgsDoSaveLocal, "Submit"); printf(" | |
(leave file blank to get output in " "browser window) | |||
Save Custom Tracks: | |||
"); -printf("back up custom tracks to archive .tar.gz | "); +printf("Back up custom tracks to archive .tar.gz"); printf(""); printf(" "); cgiMakeButton(hgsShowDownloadPrefix, "Submit"); printf(" | ||
\n" "