/**
 * 公告模块国际化（en）
 *
 * 注意：该文件会在 i18n 初始化时合并到 `announcement.*` 命名空间下
 */
export default {
  title: 'Announcement Management',

  platform: {
    title: 'Platform Announcements',
    list: 'Platform Announcement List',
    create: 'Create Platform Announcement',
    edit: 'Edit Platform Announcement',
    detail: 'Platform Announcement Detail'
  },

  tenant: {
    title: 'Tenant Announcements',
    list: 'Tenant Announcement List',
    create: 'Create Tenant Announcement',
    edit: 'Edit Tenant Announcement',
    detail: 'Tenant Announcement Detail'
  },

  app: {
    title: 'App Announcements',
    list: 'Announcements',
    detail: 'Announcement Detail',
    center: 'Announcement Center',
    unread: 'Unread',
    all: 'All',
    markAllRead: 'Mark All as Read',
    emptyUnread: 'No unread announcements',
    emptyAll: 'No announcements'
  },

  drafts: {
    title: 'Draft Center',
    list: 'Draft List',
    empty: 'No drafts',
    save: 'Save Draft',
    saving: 'Saving',
    savedAt: 'Saved · {time}',
    restore: 'Restore Draft',
    discard: 'Discard Draft',
    autoSaveOn: 'Auto-save enabled',
    autoSaveOff: 'Auto-save disabled'
  },

  list: {
    title: 'Announcement List',
    total: '{count} items',
    selected: '{count} selected',
    empty: 'No announcements'
  },

  table: {
    title: 'Title',
    type: 'Type',
    priority: 'Priority',
    status: 'Status',
    effectiveRange: 'Effective Range',
    publishedAt: 'Published At',
    actions: 'Actions'
  },

  detail: {
    title: 'Announcement Detail',
    readStatus: 'Read Status',
    unreadTip: 'Unread',
    readTip: 'Read'
  },

  form: {
    title: 'Announcement Info',
    base: 'Basic Info',
    audience: 'Audience Settings',
    schedule: 'Publish Settings',
    preview: 'Preview Settings'
  },

  fields: {
    title: 'Title',
    summary: 'Summary',
    content: 'Content',
    type: 'Type',
    priority: 'Priority',
    status: 'Status',
    publisher: 'Publisher',
    publisherScope: 'Publisher Scope',
    targetType: 'Audience',
    effectiveFrom: 'Effective From',
    effectiveTo: 'Effective To',
    publishedAt: 'Published At',
    revokedAt: 'Revoked At',
    scheduledPublishAt: 'Scheduled Publish At',
    createdAt: 'Created At',
    updatedAt: 'Updated At',
    readStatus: 'Read Status',
    readAt: 'Read At',
    tenantId: 'Tenant ID'
  },

  search: {
    keyword: 'Keyword',
    keywordPlaceholder: 'Search title/content',
    status: 'Status',
    statusPlaceholder: 'All statuses',
    dateRange: 'Date Range',
    dateFrom: 'Start Date',
    dateTo: 'End Date',
    targetType: 'Audience',
    publisherScope: 'Publisher Scope',
    announcementType: 'Announcement Type',
    priority: 'Priority'
  },

  status: {
    draft: 'Draft',
    published: 'Published',
    revoked: 'Revoked',
    scheduled: 'Scheduled',
    active: 'Active',
    inactive: 'Inactive',
    read: 'Read',
    unread: 'Unread'
  },

  priority: {
    low: 'Low',
    normal: 'Normal',
    high: 'High',
    urgent: 'Urgent'
  },

  targetType: {
    all: 'All Users',
    roles: 'Roles',
    users: 'Users',
    rules: 'Rules',
    manual: 'Manual'
  },

  publish: {
    mode: 'Publish Mode',
    immediate: 'Publish Now',
    scheduled: 'Schedule',
    scheduleTime: 'Scheduled Time'
  },

  action: {
    create: 'Create',
    edit: 'Edit',
    view: 'View',
    delete: 'Delete',
    publish: 'Publish',
    revoke: 'Revoke',
    preview: 'Preview',
    save: 'Save',
    saveDraft: 'Save Draft',
    markRead: 'Mark as Read',
    markAllRead: 'Mark All as Read',
    refresh: 'Refresh',
    reset: 'Reset',
    back: 'Back',
    close: 'Close'
  },

  messages: {
    createSuccess: 'Created successfully',
    updateSuccess: 'Updated successfully',
    deleteSuccess: 'Deleted successfully',
    publishSuccess: 'Published successfully',
    revokeSuccess: 'Revoked successfully',
    saveDraftSuccess: 'Draft saved',
    loadFailed: 'Failed to load',
    empty: 'No data',
    deleteConfirm: 'Are you sure you want to delete this announcement?',
    revokeConfirm: 'Are you sure you want to revoke this announcement?',
    publishConfirm: 'Are you sure you want to publish this announcement?',
    discardDraftConfirm: 'Discard this draft?',
    audienceEstimateFailed: 'Failed to estimate audience. Please try again.',
    permissionDenied: 'You do not have permission to perform this action',
    deleteNotSupported: 'Platform announcements cannot be deleted directly'
  },

  validation: {
    titleRequired: 'Please enter a title',
    contentRequired: 'Please enter content',
    effectiveFromRequired: 'Please select effective start time',
    targetTypeRequired: 'Please select audience',
    announcementTypeRequired: 'Please select announcement type',
    priorityRequired: 'Please select priority'
  },

  tabs: {
    base: 'Basic Info',
    audience: 'Audience',
    schedule: 'Publish',
    preview: 'Preview'
  },

  preview: {
    openPreview: 'Preview',
    drawerTitle: 'Announcement Preview',
    titlePlaceholder: 'Enter announcement title',
    emptyContent: 'No announcement content',
    publishAt: 'Publish Time',
    publishAtUnknown: 'Pending',
    priorityTag: 'Priority P{level}',
    priorityUnknown: 'Not set',
    resizeHandle: 'Resize preview width'
  },

  type: {
    system: 'System Announcement',
    billing: 'Billing Notice',
    operation: 'Operations Notice',
    systemPlatformUpdate: 'Platform System Update',
    systemSecurityNotice: 'System Security Notice',
    systemCompliance: 'System Compliance Notice',
    tenantInternal: 'Tenant Internal Notice',
    tenantFinance: 'Tenant Finance Notice',
    tenantOperation: 'Tenant Operations Notice',
    unknown: 'Unknown Type'
  }
}
