// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.

/**
 * Auto-generated by 'os i18n extract' for locale 'ja-JP'.
 * Edit translations in place; re-run extract (with --merge) to fill new gaps.
 * Do not hand-edit the structure — only the leaf string values.
 */

import type { TranslationData } from '@objectstack/spec/system';

export const jaJPObjects: NonNullable<TranslationData['objects']> = {
  sys_approval_request: {
    label: "承認リクエスト",
    pluralLabel: "承認リクエスト",
    description: "送信ごとに追跡されるライブ承認インスタンス",
    fields: {
      id: {
        label: "リクエスト ID"
      },
      organization_id: {
        label: "組織",
        help: "この承認リクエストを所有するテナント（送信者コンテキストから伝播）"
      },
      process_name: {
        label: "ソース",
        help: "リクエストの発生元 — ノード駆動の承認では `flow:<flowName|nodeId>`"
      },
      object_name: {
        label: "オブジェクト"
      },
      record_id: {
        label: "レコード ID"
      },
      submitter_id: {
        label: "送信者"
      },
      submitter_comment: {
        label: "送信者コメント"
      },
      status: {
        label: "ステータス",
        help: "リクエストのライフサイクル状態",
        options: {
          pending: "保留中",
          approved: "承認済み",
          rejected: "却下済み",
          recalled: "取り消し済み"
        }
      },
      current_step: {
        label: "現在のステップ",
        help: "承認待ちのステップの機械名"
      },
      current_step_index: {
        label: "現在のステップ番号"
      },
      pending_approvers: {
        label: "承認待ち承認者",
        help: "現在のステップを処理できるユーザー ID のカンマ区切りリスト"
      },
      payload_json: {
        label: "スナップショット",
        help: "送信時のレコードスナップショット"
      },
      flow_run_id: {
        label: "Flow Run",
        help: "Suspended automation run id this request gates (ADR-0019). The decision resumes it."
      },
      flow_node_id: {
        label: "Flow Node",
        help: "Approval node id within the flow that opened this request (ADR-0019)."
      },
      node_config_json: {
        label: "Node Config",
        help: "Snapshot of the Approval node config (approvers/behavior) for node-driven requests (ADR-0019)."
      },
      completed_at: {
        label: "完了日時"
      },
      created_at: {
        label: "作成日時"
      },
      updated_at: {
        label: "更新日時"
      }
    },
    _views: {
      my_pending: {
        label: "自分の保留中"
      },
      submitted_by_me: {
        label: "自分が送信"
      },
      completed: {
        label: "完了済み"
      },
      all_requests: {
        label: "すべて"
      }
    }
  },
  sys_approval_action: {
    label: "承認アクション",
    pluralLabel: "承認アクション",
    description: "承認アクションの追記専用監査証跡",
    fields: {
      id: {
        label: "アクション ID"
      },
      organization_id: {
        label: "組織",
        help: "このアクションを所有するテナント（親リクエストと同じ）"
      },
      request_id: {
        label: "リクエスト"
      },
      step_name: {
        label: "ステップ",
        help: "アクション時点のステップの機械名"
      },
      step_index: {
        label: "ステップ番号"
      },
      action: {
        label: "アクション",
        options: {
          submit: "申請",
          approve: "承認",
          reject: "却下",
          recall: "取消",
          escalate: "エスカレーション"
        }
      },
      actor_id: {
        label: "操作者"
      },
      comment: {
        label: "コメント"
      },
      created_at: {
        label: "作成日時"
      }
    },
    _views: {
      recent: {
        label: "最近"
      },
      by_actor: {
        label: "操作者別"
      },
      all_actions: {
        label: "すべて"
      }
    }
  }
};
