diff --git a/client/components/main/globalSearch.js b/client/components/main/globalSearch.js index c8042dbee..d2c7a25fc 100644 --- a/client/components/main/globalSearch.js +++ b/client/components/main/globalSearch.js @@ -528,6 +528,7 @@ BlazeComponent.extendComponent({ operator_created: TAPi18n.__('operator-created'), operator_modified: TAPi18n.__('operator-modified'), operator_status: TAPi18n.__('operator-status'), + operator_has: TAPi18n.__('operator-has'), predicate_overdue: TAPi18n.__('predicate-overdue'), predicate_archived: TAPi18n.__('predicate-archived'), predicate_all: TAPi18n.__('predicate-all'), @@ -536,6 +537,9 @@ BlazeComponent.extendComponent({ predicate_month: TAPi18n.__('predicate-month'), predicate_quarter: TAPi18n.__('predicate-quarter'), predicate_year: TAPi18n.__('predicate-year'), + predicate_attachment: TAPi18n.__('predicate-attachment'), + predicate_description: TAPi18n.__('predicate-description'), + predicate_checklist: TAPi18n.__('predicate-checklist'), }; text = `# ${TAPi18n.__('globalSearch-instructions-heading')}`; @@ -594,6 +598,8 @@ BlazeComponent.extendComponent({ text += `\n* ${TAPi18n.__('globalSearch-instructions-status-all', tags)}`; text += `\n* ${TAPi18n.__('globalSearch-instructions-status-ended', tags)}`; + text += `\n* ${TAPi18n.__('globalSearch-instructions-operator-has', tags)}`; + text += `\n## ${TAPi18n.__('heading-notes')}`; text += `\n* ${TAPi18n.__('globalSearch-instructions-notes-1', tags)}`; text += `\n* ${TAPi18n.__('globalSearch-instructions-notes-2', tags)}`; diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index d4e5cc712..c1e39cf26 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -948,12 +948,13 @@ "globalSearch-instructions-status-archived": "`__operator_status__:__predicate_archived__` - cards that are archived.", "globalSearch-instructions-status-all": "`__operator_status__:__predicate_all__` - all archived and unarchived cards.", "globalSearch-instructions-status-ended": "`__operator_status__:__predicate_ended__` - cards with an end date.", + "globalSearch-instructions-operator-has": "`__operator_has__:field` - where *field* is one of `__predicate_attachment__`, `__predicate_checklist__` or `__predicate_description__`", "globalSearch-instructions-notes-1": "Multiple operators may be specified.", "globalSearch-instructions-notes-2": "Similar operators are *OR*ed together. Cards that match any of the conditions will be returned.\n`__operator_list__:Available __operator_list__:Blocked` would return cards contained in any list named *Blocked* or *Available*.", "globalSearch-instructions-notes-3": "Differing operators are *AND*ed together. Only cards that match all of the differing operators are returned. `__operator_list__:Available __operator_label__:red` returns only cards in the list *Available* with a *red* label.", "globalSearch-instructions-notes-3-2": "Days can be specified as an integer or using `__predicate_week__`, `__predicate_month__`, `__predicate_quarter__` or `__predicate_year__`", "globalSearch-instructions-notes-4": "Text searches are case insensitive.", - "globalSearch-instructions-notes-5": "Currently archived cards are not searched.", + "globalSearch-instructions-notes-5": "By default archived cards are not searched.", "link-to-search": "Link to this search", "excel-font": "Arial", "number": "Number",