ソースを参照

Add instructions for sort operator

John Supplee 4 年 前
コミット
5fe58dc9ae
2 ファイル変更3 行追加0 行削除
  1. 2 0
      client/components/main/globalSearch.js
  2. 1 0
      i18n/en.i18n.json

+ 2 - 0
client/components/main/globalSearch.js

@@ -649,6 +649,8 @@ BlazeComponent.extendComponent({
 
     text += `\n* ${TAPi18n.__('globalSearch-instructions-operator-has', tags)}`;
 
+    text += `\n* ${TAPi18n.__('globalSearch-instructions-operator-sort', tags)}`;
+
     text += `\n## ${TAPi18n.__('heading-notes')}`;
     text += `\n* ${TAPi18n.__('globalSearch-instructions-notes-1', tags)}`;
     text += `\n* ${TAPi18n.__('globalSearch-instructions-notes-2', tags)}`;

+ 1 - 0
i18n/en.i18n.json

@@ -953,6 +953,7 @@
   "globalSearch-instructions-status-public": "`__operator_status__:__predicate_public__` - cards only in public boards.",
   "globalSearch-instructions-status-private": "`__operator_status__:__predicate_private__` - cards only in private boards.",
   "globalSearch-instructions-operator-has": "`__operator_has__:field` - where *field* is one of `__predicate_attachment__`, `__predicate_checklist__` or `__predicate_description__`",
+  "globalSearch-instructions-operator-sort": "`__operator_sort__:sort-name` - where *sort-name* is one of `__predicate_due__`, `__predicate_created__` or `__predicate_modified`.",
   "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.",