Files
huly-platform/plugins/view-assets/lang/ja.json
T
63e28dc964 feat(tracker): Gantt chart for the issue tracker (#10992)
* feat(tracker): Gantt chart for the issue tracker

Builds on the merged search/filter rework (#10998). Introduces @hcengineering/gantt, a dependency-free scheduling/zoom/drag/viewport engine package (with a neutral GanttDependency contract), and wires the tracker-specific adapter, Svelte UI, model schema, dependency-shift notifications and sanity coverage in tracker-resources.

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

* fix(tracker): source Gantt holidays from HR and scope confirm-gate per view

Follow-up to review feedback on #10992:

- Confirm-gate: the module-global flag is replaced by a createConfirmGate()
  factory - one instance per mounted GanttView, so two Gantt views mounted at
  once in the same JS context no longer block each other's pointer input. A
  two-instance independence test guards the regression.

- Sidebar sorting: the stale deadline cast is dropped and issue.deadline is
  read directly (the field was added to the Issue model in this PR).

- HR holidays: the per-project WorkingDaysConfig.holidays field duplicated the
  workspace-wide hr.class.PublicHoliday concept and could drift from the real
  HR calendar. It is removed. WorkingDaysConfig now carries only the weekday
  mask and an optional holidayDepartment. The tracker adapter resolves holidays
  for the selected department plus all ancestors up to hr.ids.Head, matching
  HR's existing inheritance semantics (hr-resources ScheduleView). A missing or
  invalid reference falls back to company-wide (root) holidays; unrelated
  departments are never included. The ancestor walk is cycle/missing-parent
  safe.

  A small WorkingDaysEditor in the existing project create/edit dialog lets
  users with the existing project permission enable the mode, choose weekdays,
  and select an HR department (default: Company-wide). It persists through the
  existing project create/update transaction paths (createDoc on create,
  client.update on edit) and uses $unset when the mode is disabled. At least
  one working day must stay active.

  Calendar loading is explicit via a CalendarStateMachine: project-scoped drag,
  resize, cascade, keyboard-shift and auto-schedule mutations stay disabled
  until both the project config and the holiday data have loaded. A monotonic
  generation ticket (bumped synchronously on project switch) is re-checked
  immediately before every calendar-dependent date commit, so work started in
  one project can never persist after a switch to another. The all-projects
  view has no single project calendar, so calendar-dependent edits are
  read-only there; display, selection, the context menu and the manual
  date-picker (which does no calendar arithmetic and takes no mutation ticket)
  stay available.

  This depends on the lightweight @hcengineering/hr model package, but not on
  hr-resources; the tracker adapter uses hr.class.* and hr.ids.Head at runtime,
  and actual HR model presence is checked through the hierarchy - without the
  HR model, holidays resolve to an empty set. The @hcengineering/gantt engine
  package stays domain-neutral (no @hcengineering imports, no runtime deps).

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

* fix(gantt): measure FS gap-preservation floor in working days

The finish-to-start gap-preservation floor in the cascade scheduler mixed
two time measures: the FS snap anchor is working-calendar aware, but the
floor added a raw calendar-millisecond start-side delta. With an active
working calendar the two diverge, so dragging a predecessor over a weekend
over-shifted the successor across non-working days (a Fri->Mon body drag is
3 calendar days but only 1 working day, and could even land a successor on
a Saturday).

Measure the floor on the DUE side in working days instead: translate the
predecessor's shift via the new workingDayDelta helper and advance the
floor base with addWorkingDays over the calendar. A day-granular resize
gate (utcMidnight comparison, not a raw === 0 test) arms the floor only on
a start-DAY move, so a pure due-resize stays a pure snap even when the
stored issue carries a time-of-day on the cascade-commit path. The floor
base is normalized via utcMidnight(targetAnchor). The legacy path
(cfg === undefined) stays byte-identical to today's raw-ms floor. A
left-resize in working-days mode now correctly no-ops the floor (the due,
and thus the FS gap, did not move) instead of shifting on the raw start
delta.

Engine: add workingDayDelta (signed, half-open from-exclusive/to-inclusive
working-day step count) and export the previously-private utcMidnight from
packages/gantt/src/working-days.ts. The engine stays domain-neutral (no
@hcengineering imports, empty dependencies).

Adds engine and adapter test coverage: workingDayDelta cases and the full
FS floor matrix (right-resize no-push, weekend-spanner body drag, floor
wins over snap, holiday in the floor path, floor-dominant multi-hop chain,
negative delta, legacy no-cfg, SS pure-snap, raw time-of-day right-resize,
direct left-resize).

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>
2026-08-27 20:24:38 +07:00

163 lines
7.7 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": "ビューをカスタマイズ",
"ConfigureColumns": "列を設定",
"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": "非表示のフィルター"
}
}