c2f76a8b519313e22f6c91ee7745e86e4dc660bc gperez2 Mon Jun 17 10:56:57 2024 -0700 Switching more hgTracks and hgTables buttons/labels to sentence case, refs #25787 diff --git src/hg/hgTables/identifiers.c src/hg/hgTables/identifiers.c index bf0b235..7525818 100644 --- src/hg/hgTables/identifiers.c +++ src/hg/hgTables/identifiers.c @@ -195,64 +195,64 @@ htmlOpen("Paste In Identifiers for %s", curTableLabel()); if (idField == NULL) errAbort("Sorry, I can't tell which field of table %s to treat as the " "identifier field.", curTable); hPrintf("
\n", getScriptName(), cartUsualString(cart, "formMethod", "POST")); cartSaveSession(cart); hPrintf("Please paste in the identifiers you want to include.\n"); if (sqlDatabaseExists("hgTemp")) explainIdentifiers(actualDb, alternateConn, idField); else warn("No hgTemp database found for temporary tables.
Please see https://genome.ucsc.edu/goldenPath/help/mirrorManual.html#mysql-setup for more information."); hPrintf("
\n"); cgiMakeTextArea(hgtaPastedIdentifiers, oldPasted, 10, 70); hPrintf("
\n"); -cgiMakeButton(hgtaDoPastedIdentifiers, "submit"); +cgiMakeButton(hgtaDoPastedIdentifiers, "Submit"); hPrintf(" "); -cgiMakeButton(hgtaDoClearPasteIdentifierText, "clear"); +cgiMakeButton(hgtaDoClearPasteIdentifierText, "Clear"); hPrintf(" "); -cgiMakeButton(hgtaDoMainPage, "cancel"); +cgiMakeButton(hgtaDoMainPage, "Cancel"); hPrintf("
"); cgiDown(0.9); htmlClose(); if (sameWord(curTable, WIKI_TRACK_TABLE)) wikiDisconnect(&alternateConn); } void doUploadIdentifiers(struct sqlConnection *conn) /* Respond to upload identifiers button. */ { struct hTableInfo *hti = maybeGetHti(database, curTable, conn); char *idField = getIdField(database, curTrack, curTable, hti); htmlOpen("Upload Identifiers for %s", curTableLabel()); if (idField == NULL) errAbort("Sorry, I can't tell which field of table %s to treat as the " "identifier field.", curTable); hPrintf("
\n", getScriptName()); cartSaveSession(cart); hPrintf("Please enter the name of a file from your computer that contains a "); hPrintf("space, tab, or "); hPrintf("line separated list of the items you want to include.\n"); explainIdentifiers(database, conn, idField); hPrintf("
\n"); hPrintf(" ", hgtaPastedIdentifiers); hPrintf("
\n"); -cgiMakeButton(hgtaDoPastedIdentifiers, "submit"); +cgiMakeButton(hgtaDoPastedIdentifiers, "Submit"); hPrintf(" "); -cgiMakeButton(hgtaDoMainPage, "cancel"); +cgiMakeButton(hgtaDoMainPage, "Cancel"); hPrintf("
"); cgiDown(0.9); htmlClose(); } static void addPrimaryIdsToHash(struct sqlConnection *conn, struct hash *hash, char *idField, struct slName *tableList, struct lm *lm, char *extraWhere) /* For each table in tableList, query all idField values and add to hash, * id -> uppercased id for case-insensitive matching. */ { struct slName *table; struct sqlResult *sr; char **row; struct dyString *query = dyStringNew(0);