9cfa269e30bc186cd46a58e6d53f9faa61d3fb88
gperez2
  Thu Jun 20 14:20:02 2024 -0700
Switching Track search page, Get DNA page, hgBlat, hgSession, hgPcr, and hgCustom buttons to sentence case, refs #25787

diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c
index 5ea9937..2bb738f 100644
--- src/hg/hgCustom/hgCustom.c
+++ src/hg/hgCustom/hgCustom.c
@@ -716,32 +716,32 @@
 /* Make a form for navigating to other CGIs. */
 {
 struct slPair *valsAndLabels = makeOtherCgiValsAndLabels();
 // Default to the first CGI in the menu.
 char *defaultCgi = valsAndLabels->name;
 char *selected = cartUsualString(cart, hgCtNavDest, defaultCgi);
 printf("<FORM STYLE=\"margin-bottom:0;\" METHOD=\"GET\" NAME=\"navForm\" ID=\"navForm\""
        " ACTION=\"%s\">\n", selected);
 cartSaveSession(cart);
 if (pos)
     cgiMakeHiddenVar("position", pos);
 printf("view in ");
 // Construct a menu of destination CGIs
 puts(cgiMakeSingleSelectDropList(hgCtNavDest, valsAndLabels, selected, NULL, NULL,
  "change", "var newVal = $('#navSelect').val(); $('#navForm').attr('action', newVal);", NULL, "navSelect"));
-cgiMakeButton("submit", "go to first annotation");
-puts("&nbsp;<input type='submit' name='submit' id='submitGoBack' value='return to current position'>");
+cgiMakeButton("submit", "Go to first annotation");
+puts("&nbsp;<input type='submit' name='submit' id='submitGoBack' value='Return to current position'>");
 jsOnEventByIdF("click", "submitGoBack", "$('#navForm > [name=position]').remove()");
 puts("</FORM>");
 }
 
 static void manageCustomForm(char *warnMsg)
 /* list custom tracks and display checkboxes so user can select for delete */
 {
 
 struct dbDb *dbList = getCustomTrackDatabases();
 struct dbDb *dbDb = NULL;
 /* add this database to the list, as it may have no custom
  * tracks, but we still want to see it in the menu */
 slAddTail(&dbList, hDbDb(database));
 slReverse(&dbList);
 /* remove duplicate entry for this database, if any */
@@ -830,31 +830,31 @@
 if (ctList)
     {
     pos = ctInitialPosition(ctList);
     if (!pos)
         pos = ctFirstItemPos(ctList);
     }
 
 puts("<TR><TD>");
 makeOtherCgiForm(pos);
 puts("</TD></TR>");
 
 /* button to add custom tracks */
 puts("<TR><TD>");
 printf("<INPUT TYPE=SUBMIT NAME=\"addTracksButton\" ID=\"addTracksButton\" VALUE=\"%s\" "
        "STYLE=\"margin-top: 5px\" >\n",
-       "add custom tracks");
+       "Add custom tracks");
 // This submits mainForm with a hidden input that tells hgCustom to show add tracks page:
 jsOnEventByIdF("click", "addTracksButton", 
 	"var $form = $(\"form[name='mainForm']\"); "
 	"$form.append(\"<input name='%s' type='hidden'>\"); "
 	"$form.submit();"
 	, hgCtDoAdd);
 
 puts("</TD></TR>");
 
 puts("</TABLE>");
 puts("</TD>");
 
 cgiTableRowEnd();
 cgiTableEnd();