mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-20 19:32:22 +02:00
* feat(tracker): field-prefixed search, inline filter chips and zero-hit empty state Adds SearchInputAdvanced (field:value prefixes routed to Elasticsearch query_string), match highlighting, inline filter chips with overflow popover, a reusable zero-hit empty state in view-resources, and search-scope/highlight view options for List and Kanban. Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> * refactor(tracker-search): address review follow-ups on search/filter rework Shared, non-storage-specific field list, test-folder conventions, locale coverage, single regex source and an owner-token gate for the result count. - core: add shared `fullTextSearchFields` constant next to FullTextSearchContext as the single source of truth for the full-text fields exposed to `field:value` targeting. The client encoder derives ES_NATIVE_FIELDS from it and the elastic adapter derives KNOWN_FIELD_RE from it, replacing the two "KEEP IN SYNC" copies. Per-field boost weights stay a local adapter detail. - tests: move the five co-located tests into each package's existing test folder convention (ui `__test__`, view-resources `__tests__`) and fix the relative imports. - i18n: translate the new tracker search/filter strings in the remaining locales (zh, ja, ko, cs, es, fr, it, pt, pt-br, tr), reusing each file's existing terminology; ICU placeholders left unchanged. - encoder: hoist the reserved-character class into one constant and build two RegExp instances from it (non-global for `.test()`, global for `.replace()`) to avoid the shared-lastIndex trap. - view-resources: guard `resultIssueCountStore` writes with an owner-token gate so a superseded viewlet can no longer clobber the active viewlet's count; List/KanbanView claim and release, IssuesView resets through the current owner. Assumes a single active IssuesView surface. - view-resources: make result-count reporting opt-in via a new `reportResultCount` prop on List (default true). Embedded, non-primary List instances (sub-issues / related issues in the issue edit panel, routed through SubIssueList) pass false and never claim the owner token, so opening and closing an issue can no longer strand the primary Issues viewlet with a dead token — the zero-hit SearchEmptyState card renders again afterwards. Add a regression test covering the opted-out embedded consumer. - elastic: escape every regex metacharacter (not just `.`) when building KNOWN_FIELD_RE from `fullTextSearchFields`, so a future field name carrying another metacharacter cannot silently corrupt the alternation. Behaviour for the current fields is unchanged. Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> * refactor(tracker-search): centralize regex escaping and lock down result-count store - Share escapeRegExp from @hcengineering/core so the client encoder and the server elastic adapter escape the fulltext field list identically, not just dots on the client. - Export resultIssueCountStore as a read-only Readable; the owner-token gate functions (setResultCount / resetResultCount / releaseResultCountOwner) are now the only write path. Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> --------- Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com> Co-authored-by: Michael Uray <michaeluray@users.noreply.github.com> Co-authored-by: Artyom Savchenko <armisav@gmail.com>
162 lines
7.6 KiB
JSON
162 lines
7.6 KiB
JSON
{
|
|
"string": {
|
|
"Contains": "含む",
|
|
"NotContains": "含まない",
|
|
"MoveClass": "{class} を移動",
|
|
"SelectToMove": "移動先の {classLabel} を選択してください。",
|
|
"Delete": "削除",
|
|
"Move": "移動",
|
|
"Cancel": "キャンセル",
|
|
"LabelYes": "はい",
|
|
"LabelNo": "いいえ",
|
|
"LabelNA": "該当なし",
|
|
"ChooseAColor": "色を選択",
|
|
"Table": "表",
|
|
"Role": "役割",
|
|
"DeleteObject": "オブジェクトを削除",
|
|
"DeleteObjectConfirm": "{count, plural, =1 {このオブジェクト} other {これらの # 個のオブジェクト}}を削除しますか?",
|
|
"NoCreatePermissionTitle": "作成する権限がありません",
|
|
"DeletePopupNoPermissionTitle": "削除する権限がありません。",
|
|
"DeletePopupNoPermissionLabel": "削除するには、以下のリストの担当者にご連絡ください。",
|
|
"DeletePopupCreatorLabel": "作成者 (自分で作成したもののみ削除できます):",
|
|
"DeletePopupOwnerLabel": "所有者 (すべて削除できます):",
|
|
"Archive": "アーカイブ",
|
|
"ArchiveConfirm": "{count, plural, =1 {オブジェクト} other {# 個のオブジェクト}}をアーカイブしますか?",
|
|
"Open": "開く",
|
|
"OpenInNewTab": "新しいタブで開く",
|
|
"Assignees": "担当者",
|
|
"Labels": "ラベル",
|
|
"MoveLeft": "左に移動",
|
|
"MoveRight": "右に移動",
|
|
"MoveUp": "上に移動",
|
|
"MoveDown": "下に移動",
|
|
"RestoreDefaults": "デフォルトに戻す",
|
|
"SelectItem": "フォーカスされたアイテムを選択",
|
|
"SelectItemAll": "すべてのアイテムを選択",
|
|
"SelectItemNone": "すべてのアイテムの選択を解除",
|
|
"NumberItems": "{count, plural, =0 {アイテムなし} =1 {1 アイテム} other {# アイテム}}",
|
|
"Assigned": "割り当て済み",
|
|
"Created": "作成済み",
|
|
"Subscribed": "購読済み",
|
|
"ShowPreview": "ドキュメントプレビューを表示",
|
|
"ShowActions": "アクションポップアップを表示",
|
|
"ActionPlaceholder": "検索またはコマンドを実行...",
|
|
"General": "一般",
|
|
"Navigation": "ナビゲーション",
|
|
"Editor": "エディター",
|
|
"MarkdownFormatting": "書式設定",
|
|
"CustomizeView": "ビューをカスタマイズ",
|
|
"Filter": "フィルター",
|
|
"ClearFilters": "フィルターをクリア",
|
|
"FilterLessThan": "未満",
|
|
"FilterGreaterThan": "より大きい",
|
|
"FilterIsNot": "ではない",
|
|
"FilterIsEither": "である",
|
|
"FilterIsEitherPlural": "である",
|
|
"FilterStatesCount": "{value, plural, =1 {1 状態} other {# 状態}}",
|
|
"FilterUpdated": "フィルターが更新されました",
|
|
"FilterRemoved": "{count, plural, =1 {# 個の存在しない値が} other {# 個の存在しない値が}} フィルターから削除されました",
|
|
"Before": "前",
|
|
"After": "後",
|
|
"Apply": "適用",
|
|
"Save": "保存",
|
|
"IncludeItemsThatMatch": "一致するアイテムを含める",
|
|
"AnyFilter": "いずれかのフィルター",
|
|
"AllFilters": "すべてのフィルター",
|
|
"MatchCriteria": "一致条件",
|
|
"DontMatchCriteria": "一致しない条件",
|
|
"View": "表示",
|
|
"MarkupEditor": "リッチコンテンツフィールドの編集",
|
|
"List": "リスト",
|
|
"Grid": "グリッド",
|
|
"Timeline": "タイムライン",
|
|
"Select": "選択",
|
|
"NoGrouping": "グループ化なし",
|
|
"Grouping": "グループ化",
|
|
"Ordering": "順序",
|
|
"Manual": "手動",
|
|
"FilteredViews": "フィルターされたビュー",
|
|
"NewFilteredView": "新しいフィルターされたビュー",
|
|
"FilteredViewName": "フィルターされたビュー名",
|
|
"Then": "次に",
|
|
"ShowPreviewOnClick": "クリックしてドキュメントインデックスプレビューを表示してください...",
|
|
"Shown": " {total, plural, =-1 {} other {フィルターされた # 件のアイテムのうち}} {len} 件の結果を表示中",
|
|
"Total": "合計: {total, plural, other{#}}",
|
|
"ShowEmptyGroups": "空のグループを表示",
|
|
"Overdue": "期限切れ",
|
|
"Today": "今日",
|
|
"Yesterday": "昨日",
|
|
"ThisWeek": "今週",
|
|
"NextWeek": "来週",
|
|
"ThisMonth": "今月",
|
|
"NextMonth": "来月",
|
|
"NotSpecified": "指定なし",
|
|
"ExactDate": "正確な日付",
|
|
"BeforeDate": "日付以前",
|
|
"AfterDate": "日付以降",
|
|
"BetweenDates": "日付の間",
|
|
"AddSavedView": "保存されたビューを追加",
|
|
"Public": "公開",
|
|
"Hide": "非表示",
|
|
"Rename": "名前を変更",
|
|
"SaveAs": "名前を付けて保存",
|
|
"And": "と",
|
|
"Between": "と",
|
|
"ShowColors": "色を使用",
|
|
"Show": "表示",
|
|
"FilterArrayAll": "すべてを含む",
|
|
"FilterArrayAny": "いずれかを含む",
|
|
"Or": "または",
|
|
"HyperlinkPlaceholder": "https://jappleseed.com",
|
|
"CopyToClipboard": "クリップボードにコピー",
|
|
"CopyAll": "すべてコピー",
|
|
"CopyDocumentMarkdown": "Markdownとしてコピー",
|
|
"CopyAsMarkdownTable": "Markdownテーブルとしてコピー",
|
|
"TableCopiedToClipboard": "テーブルをクリップボードにコピーしました",
|
|
"TableCopyFailed": "テーブルをクリップボードにコピーできませんでした",
|
|
"PublicView": "公開",
|
|
"ChooseIcon": "アイコンを選択",
|
|
"IconColor": "アイコンの色を選択",
|
|
"IconCategory": "アイコン",
|
|
"EmojiCategory": "絵文字",
|
|
"Type": "タイプ",
|
|
"ToViewCommands": "利用可能なコマンドを表示するには",
|
|
"UnArchive": "アーカイブ解除",
|
|
"UnArchiveConfirm": "この{count, plural, =1 {オブジェクト} other {# 個のオブジェクト}}をアーカイブ解除しますか?",
|
|
"Pin": "ピン留め",
|
|
"Unpin": "ピン留めを解除",
|
|
"Archived": "アーカイブ済み",
|
|
"MoreActions": "その他の操作",
|
|
"Leave": "退出",
|
|
"Join": "参加",
|
|
"Copied": "コピーしました",
|
|
"Title": "タイトル",
|
|
"HideArchived": "アーカイブ済みを非表示",
|
|
"RemoveRelation": "関連を削除",
|
|
"RemoveRelationConfirmation": "関連を削除しますか?",
|
|
"MasterDetail": "マスター・詳細",
|
|
"Tree": "ツリー",
|
|
"Document": "ドキュメント",
|
|
"Loading": "読み込み中...",
|
|
"NoRelations": "関係なし",
|
|
"ReadOnlyWarningTitle": "✨ 匿名ゲストデモ",
|
|
"ReadOnlyWarningMessage": "閲覧モードです。選択してください:このワークスペースに参加して共同作業(ゲストとして)するか、独自のスペースを作成してプロジェクトを完全に管理(タスク、期限、チーム)しましょう!",
|
|
"ReadOnlyJoinWorkspace": "ワークスペースに参加",
|
|
"ReadOnlySignUp": "ワークスペースを作成",
|
|
"PermissionWarningTitle": "✨ アクセスレベルを上げましょう!",
|
|
"PermissionWarningMessage": "現在のロールの権限は制限されています。この機能や他の高度な機能を利用するには、ワークスペース管理者にアクセスレベルのアップグレードを依頼してください!",
|
|
"Icon": "アイコン",
|
|
"Color": "色",
|
|
"AutomationOnly": "自動化のみ",
|
|
"CopyLink": "リンクをコピー",
|
|
"ValueIsSet": "値が設定されています",
|
|
"RoleLabel": "役割: {role}",
|
|
"ForbidAttributeChanges": "属性の変更を禁止: ",
|
|
"AllowAttributeChanges": "属性の変更を許可: ",
|
|
"RelationshipTable": "関係テーブル",
|
|
"FilterOverflowBadge": "+{count}",
|
|
"AddFilter": "フィルターを追加",
|
|
"HiddenFilters": "非表示のフィルター"
|
|
}
|
|
}
|