diff --git a/step-core/src/main/resources/HtmlBundle.properties b/step-core/src/main/resources/HtmlBundle.properties index 927154f7df..88cbeae160 100644 --- a/step-core/src/main/resources/HtmlBundle.properties +++ b/step-core/src/main/resources/HtmlBundle.properties @@ -312,7 +312,8 @@ suggested_search_words=Suggested search word(s) search_range=Range click_to_select=Click to select/unselect click_to_select_search_range=Click to select search range -search_type_desc_text=Find the exact word(s):
       + words starting with +search_type_desc_text=Find the exact word(s) +search_type_desc_text2=:
       + words starting with search_type_desc_subject=Find verses about search_type_desc_meanings=Find all words meaning search_type_desc_greekMeanings=Greek words meaning diff --git a/step-web/src/main/webapp/js/search_selection.js b/step-web/src/main/webapp/js/search_selection.js index 82afb32795..79903aac4f 100644 --- a/step-web/src/main/webapp/js/search_selection.js +++ b/step-web/src/main/webapp/js/search_selection.js @@ -1412,6 +1412,7 @@ step.searchSelect = { limitType, null, false, false, "", ""); //, hasHebrew, hasGreek); text2Display = '"' + str2Search + '"'; str2Search = '%22' + str2Search + '%22'; + $("td.search-type-column.select-text").html(__s.search_type_desc_text); } else { if ((str2Search.slice(-1) !== "*") && (!step.searchSelect.wordsWithNoInflection(str2Search))) { @@ -1420,6 +1421,10 @@ step.searchSelect = { limitType, null, false, false, "", ""); // , hasHebrew, hasGreek); text2Display = str2Search + "* (" + __s.words_that_start_with + " " + str2Search + ")"; str2Search += "*"; + $("td.search-type-column.select-text").html(__s.search_type_desc_text); + // Add search_type_desc_text2 to description, if user's language has a definition for it. English already has a definition for it. + if ((step.userLanguageCode === "en") || (__s.search_type_desc_text2.indexOf("+ words starting with") == -1)) + $("td.search-type-column.select-text").html(__s.search_type_desc_text + __s.search_type_desc_text2); } suffixToDisplay = "" +__s.default_search + ""; suffixTitle = __s.default_search_mouse_over_title;