搜索

在 3.9 版本新加入.

使用布爾操作,括號或字段特定查找的高級查詢可用於查找所需的字串。

When no field is defined, the lookup happens on source, target, and context strings.

../_images/search.png

Fields

source:TEXT

Source string case-insensitive search.

target:TEXT

Target string case-insensitive search.

context:TEXT

Context string case-insensitive search.

key:TEXT

Key string case-insensitive search.

note:TEXT

Source string description case-insensitive search.

location:TEXT

Location string case-insensitive search.

priority:NUMBER

String priority.

id:NUMBER

String unique identifier.

added:DATETIME

將字串添加到Webleate時的時間戳。

state:TEXT

Search for string states (approved, translated, needs-editing, empty, read-only), supports Field operators.

pending:BOOLEAN

掛在彎曲以沖洗到VCS。

has:TEXT

Search for string having attributes - plural, context, suggestion, comment, check, dismissed-check, translation, variant, screenshot, flags, explanation, glossary, note, label.

is:TEXT

搜尋擱置中的翻譯 (pending)。 也可搜尋其他狀態的翻譯字串 (approved, translated, untranslated, needs-editing, read-only)。

language:TEXT

String target language.

component:TEXT

Component slug or name case-insensitive search, see 組件標識串 and 組件名稱.

project:TEXT

Project slug, see URL slug.

changed_by:TEXT

作者使用給定使用者名更改字串。

changed:DATETIME

字串內容在日期內更改,支持:ref:“搜索操作員”。

change_time:DATETIME

字串已在日期更改,支持:ref:“搜索操作員”,與“已更改”(更改)提供此包含不會更改內容的事件,並且您可以使用“Change_Action”“”應用“使用”自定義操作過濾“。

change_action:TEXT

在更改動作上的過濾器,與``change_time``一起有用。接受更改操作的英語名稱,引用以及帶有連字符替換的空格或小寫和空格。請參閱:ref:“搜索 - 更改”以獲取示例。

check:TEXT

String has failing check, see 檢查和修復 for check identifiers.

dismissed_check:TEXT

String has dismissed check, see 檢查和修復 for check identifiers.

comment:TEXT

Search in user comments.

resolved_comment:TEXT

Search in resolved comments.

comment_author:TEXT

Filter by comment author.

suggestion:TEXT

Search in suggestions.

suggestion_author:TEXT

Filter by suggestion author.

explanation:TEXT

Search in explanations.

label:TEXT

Search in labels.

screenshot:TEXT

Search in screenshots.

Boolean operators

您可以合併使用以下方式來搜尋 AND, OR, NOT 或是在搜尋字串中混合使用。例如: state:translated AND (source:hello OR source:bar)

Field operators

您可以為日期或數字搜索指定運算符,範圍或部分查找:

state:>=translated

國家是“翻譯”或更好的(“批准”(“批准”)。

changed:2019

Changed in year 2019.

changed:[2019-03-01 to 2019-04-01]

在兩個給定的日期之間發生了變化。

Exact operators

您可以使用``=``運算符在不同的字串字段上進行完全匹配查詢。例如,搜索完全匹配的源字串匹配“您好世界”,使用:“來源:=”Hello World“。用於搜索單詞表達式,您可以跳過引號。例如,搜索匹配``hello``的所有源字串:``source:= hello

Searching for changes

在 4.4 版本新加入.

搜索歷史事件可以使用“Change_Action”和“Change_Time`”操作員完成。

例如,可以將標記為2018年編輯的字串輸入為“Change_time:2018和Change_Action:標記為編輯”“”或“Change_Time:2018和Change_Action:”標記為編輯“```

正規表示法

任何已接受的內文,您也可以指定使用正規表示法如 r"regexp"

例如,要搜索包含 2 和 5 之間的任何數字的所有來源字串,請使用 source:r"[2-5]"

Predefined queries

您可以在搜索頁面上選擇預定義查詢,這允許您快速訪問最常見的搜索:

../_images/query-dropdown.png

Ordering the results

根據您的需要,有許多選擇字串:

../_images/query-sort.png