{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "core-i18n",
  "type": "registry:lib",
  "title": "core/i18n",
  "description": "Framework-free behaviour shared by the ui-* components (i18n); no DOM, no lit. Copied from @purpurabog/ui 2.3.0; the package is the maintained source, this copy is yours to change. Icons from the Carbon Design System (Apache-2.0, © IBM Corp.; see THIRD-PARTY-NOTICES.md in the package).",
  "dependencies": [],
  "registryDependencies": [
    "@kanok-ui/core-date"
  ],
  "files": [
    {
      "path": "src/core/i18n.ts",
      "type": "registry:lib",
      "target": "components/ui/core/i18n.ts",
      "content": "/**\n * Built-in text of every component (close buttons, \"Copied!\", counters, pagination, month names …)\n * by language: the message types, the translations registry and the Thai / English defaults.\n * Framework-free: the Lit elements (LocalizeController) and the React components read the same strings.\n */\nimport type { DateFormat } from './date.ts';\nimport { en } from './translations/en.ts';\nimport { th } from './translations/th.ts';\n\n/** Strings of ui-dropdown, ui-combobox and ui-multi-select. */\nexport interface ListMessages {\n    required: string;\n    clear: string;\n    openList: string;\n    closeList: string;\n    noResults: string;\n    searching: string;\n    /** The list's only row while `loading` (dropdown, multi-select). */\n    loadingOptions: string;\n    selectAll: string;\n    clearAll: string;\n    /** Spoken with the count tag, e.g. \"Total items selected: 3\". */\n    selectedCount: (n: number) => string;\n}\n\n/** Strings of ui-date-picker and ui-calendar. */\nexport interface DatePickerMessages {\n    /** Column headings, Sunday first, when `Intl` has no fitting style (Carbon English: S M T W Th F S). Omit to use `Intl` (narrow for Thai, short otherwise). */\n    weekdays?: readonly string[];\n    chooseDate: string;\n    previousMonth: string;\n    nextMonth: string;\n    year: string;\n    increaseYear: string;\n    decreaseYear: string;\n    /** The heading of the week-number column (`show-week-numbers`); optional, default `Week`. */\n    week?: string;\n    /** The label of the calendar's month select (`<ui-calendar-select-month>`); optional, default `Month`. */\n    month?: string;\n    /** Placeholder / hint version of the format, e.g. วว/ดด/ปปปป. */\n    pattern: (format: DateFormat) => string;\n    hint: (pattern: string) => string;\n    badFormat: (pattern: string) => string;\n    incomplete: string;\n    impossible: string;\n    badEra: (example: string) => string;\n    required: string;\n    dateDisabled: string;\n    clear: string;\n    today: string;\n    endBeforeStart: string;\n    beforeMin: (date: string) => string;\n    afterMax: (date: string) => string;\n}\n\n/** Strings shared by several components. */\nexport interface CommonMessages {\n    /** Name of the `<ui-toaster>` region. */\n    notifications: string;\n    close: string;\n    closeNotification: string;\n    loading: string;\n    moreInfo: string;\n    options: string;\n    breadcrumb: string;\n    structuredList: string;\n    /** Header of the radio column of a selectable structured list. */\n    select: string;\n    /** `{text}` = the tag's text. */\n    dismiss: string;\n    /** Title of a dismissable tab's close button; `{text}` = the tab's label. */\n    removeTab: string;\n    /** Name of a combo button's menu trigger. */\n    additionalActions: string;\n    /** A card's header actions that don't fit, in an overflow menu. */\n    moreActions: string;\n    skipToContent: string;\n    openMenu: string;\n    closeMenu: string;\n    mainNavigation: string;\n    sideNavigation: string;\n    globalActions: string;\n    /** Hidden note after a link that opens in a new tab. */\n    opensInNewTab: string;\n    /** Progress step states (read with the step label). */\n    stepComplete: string;\n    stepCurrent: string;\n    stepIncomplete: string;\n    stepInvalid: string;\n    /** Inline loading statuses (the icon's name). */\n    loadingFinished: string;\n    loadingError: string;\n    /** Truncated text's expand / collapse toggle. */\n    viewMore: string;\n    viewLess: string;\n    /** A big number's total when it is missing. */\n    unknown: string;\n    /** A side panel's button back to the previous step. */\n    back: string;\n    /** A page header's scroll button. */\n    collapse: string;\n    expand: string;\n    /** Name of a page header's breadcrumb-bar toolbar. */\n    pageHeaderActions: string;\n    /** The \"…\" menu of a collapsed breadcrumb trail. */\n    moreBreadcrumbs: string;\n    /** The \"+N\" tag of the page header's tags; `{count}` is N. */\n    moreTags: string;\n    viewAllTags: string;\n    allTags: string;\n    searchAllTags: string;\n    /** EditInPlace's buttons and its read-only note. */\n    edit: string;\n    save: string;\n    cancel: string;\n    editOff: string;\n    readOnlyField: string;\n    /** The theme switcher's group name and its three choices. */\n    theme: string;\n    themeLight: string;\n    themeDark: string;\n    themeSystem: string;\n}\n\n/** Strings of the single-value form fields. */\nexport interface FieldMessages {\n    /** `{max}` = the character limit. */\n    tooLong: string;\n    nearLimit: string;\n    /** Error over a word limit (`counter-mode=\"word\"`); `{max}` is the limit. */\n    tooManyWords: string;\n    /** Announced within the last 10% of a word limit. */\n    nearWordLimit: string;\n    showPassword: string;\n    /** The password toggle while the password shows (Carbon `hidePasswordLabel`). */\n    hidePassword: string;\n    decrement: string;\n    increment: string;\n    /** Radio group or select with nothing chosen. */\n    requiredOne: string;\n    /** Required text, text area or number field left empty (in place of the browser's own wording). */\n    required: string;\n    /** Checkbox group with nothing chosen. */\n    requiredAtLeastOne: string;\n    search: string;\n    clearSearch: string;\n    on: string;\n    off: string;\n    sliderInput: string;\n    /** A range slider's lower / upper thumb and number box (Carbon \"Lower bound\" / \"Upper bound\"). */\n    sliderLower: string;\n    sliderUpper: string;\n    /** `{value}` = what was typed before clamping. */\n    sliderCorrected: string;\n    /** Name of a time-picker select such as AM / PM. */\n    timeSelect: string;\n    /** Number field / slider box holding text that is not a number. */\n    enterNumber: string;\n    /** Time picker holding text that is not a time. */\n    enterTime: string;\n    /** Formatted number field below `min`; `{min}` = the formatted minimum. */\n    rangeUnderflow: string;\n    /** Formatted number field above `max`; `{max}` = the formatted maximum. */\n    rangeOverflow: string;\n}\n\n/** Strings of ui-copy-button and ui-code-snippet. */\nexport interface CopyMessages {\n    copy: string;\n    copied: string;\n    showMore: string;\n    showLess: string;\n}\n\nexport interface FileUploaderMessages {\n    addFile: string;\n    dropHint: string;\n    invalidType: string;\n    tooLarge: string;\n    invalidBody: string;\n    removeFile: string;\n    uploading: string;\n    uploaded: string;\n    /** `required` with no valid file yet. */\n    required: string;\n    /** The picker button's label after several files were chosen. */\n    filesChosen: (n: number) => string;\n    /** Over `max-files`: the row's error subject and body. */\n    tooMany: string;\n    tooManyBody: (max: number) => string;\n    /** Over `max-total-size` (`max` already formatted, e.g. \"10 MB\"). */\n    totalTooLarge: string;\n    totalTooLargeBody: (max: string) => string;\n    /** The error subject of a row the app marks failed and retryable. */\n    uploadFailed: string;\n    /** The retry button's name (\"Retry upload - contract.pdf\"). */\n    retry: string;\n    /** The remove button's name while an upload shows its progress. */\n    cancelUpload: string;\n}\n\n/** Strings of ui-pagination; `{min}`, `{max}`, `{total}`, `{page}` are replaced. */\nexport interface PaginationMessages {\n    itemsPerPage: string;\n    itemRange: string;\n    items: string;\n    pageRange: string;\n    page: string;\n    pageNumber: string;\n    previousPage: string;\n    nextPage: string;\n    /** PaginationNav (Carbon `carbon.pagination-nav.*`). */\n    navLabel: string;\n    navPrevious: string;\n    navNext: string;\n    /** Before a page number, for screen readers: \"Page\" 3; the current one \"Active, Page\". */\n    navPage: string;\n    navActivePage: string;\n    /** The overflow select's name. */\n    navSelect: string;\n    /** Announced when the page changes; `{page}` and `{total}`. */\n    navStatus: string;\n}\n\n/** Strings of the tables (`ui-table*`, the React DataTable); `{header}` is replaced with the column header. */\nexport interface DataTableMessages {\n    sortAscending: string;\n    sortDescending: string;\n    unsort: string;\n    selectAll: string;\n    unselectAll: string;\n    selectRow: string;\n    unselectRow: string;\n    /** Batch actions summary. */\n    selectedCount: (n: number) => string;\n    cancel: string;\n    /** Name of the toolbar group. */\n    toolbar: string;\n    searchLabel: string;\n    searchPlaceholder: string;\n    expandRow: string;\n    collapseRow: string;\n    expandAll: string;\n    collapseAll: string;\n    /** Announced after a click on a sort header. */\n    sorted: (header: string, direction: 'ascending' | 'descending') => string;\n    unsorted: string;\n    /** Announced once typing in the table search pauses. */\n    rowsShown: (shown: number, total: number) => string;\n    /** Description of an editable cell. */\n    editHint: string;\n    /** Name of a column's resize handle. */\n    resizeColumn: (header: string) => string;\n    /** A column's width, read out by its resize handle. */\n    columnWidth: (px: number) => string;\n    /** Announced when `loading` starts. */\n    loading: string;\n    /** Body text with no rows. */\n    noRows: string;\n    /** Body text when the filter leaves no rows. */\n    noResults: string;\n    /** Batch-bar button that selects every row across pages. */\n    selectAllCount: (n: number) => string;\n    /** Name of the toolbar button that shows / hides columns, and the title of its list. */\n    columns: string;\n    /** Puts the columns shown back as they were. */\n    resetColumns: string;\n    /** Name of the toolbar button that downloads the rows shown as CSV. */\n    exportCsv: string;\n}\n\n/**\n * One language. Register more with `registerTranslation()`; copy `translations/en.ts` as the\n * template. Strings may be functions when they need a value interpolated. Every string here is\n * the default of a matching attribute, so a single instance can still override it.\n */\nexport interface UiTranslation {\n    /** BCP 47 code, e.g. `th` or `en-GB`. */\n    $code: string;\n    $name: string;\n    $dir: 'ltr' | 'rtl';\n    common: CommonMessages;\n    field: FieldMessages;\n    copy: CopyMessages;\n    fileUploader: FileUploaderMessages;\n    pagination: PaginationMessages;\n    dataTable: DataTableMessages;\n    list: ListMessages;\n    datePicker: DatePickerMessages;\n}\n\nconst translations = new Map<string, UiTranslation>();\n\n/** Called after `registerTranslation` so renderers can redraw with the new strings. */\nconst listeners = new Set<() => void>();\n\n/** Adds or replaces languages at runtime. Thai and English ship built in. */\nexport function registerTranslation(...items: UiTranslation[]) {\n    for (const t of items) translations.set(t.$code.toLowerCase(), t);\n    for (const listener of listeners) listener();\n}\n\n/** Calls `listener` whenever a translation is registered; returns the unsubscribe function. */\nexport function onTranslationsChange(listener: () => void): () => void {\n    listeners.add(listener);\n    return () => listeners.delete(listener);\n}\n\n/** Exact code, then the base language (`th-TH` → `th`), then English — the Shoelace resolution order. */\nexport function getTranslation(locale: string): UiTranslation {\n    const code = locale.toLowerCase();\n    return translations.get(code) ?? translations.get(code.split('-')[0]) ?? (translations.get('en') as UiTranslation);\n}\n\nregisterTranslation(en, th);\n"
    },
    {
      "path": "src/core/translations/en.ts",
      "type": "registry:lib",
      "target": "components/ui/core/translations/en.ts",
      "content": "import type { UiTranslation } from '../i18n.ts';\n\n/** English — the fallback language and the template for new translations. */\nexport const en: UiTranslation = {\n    $code: 'en',\n    $name: 'English',\n    $dir: 'ltr',\n    common: {\n        notifications: 'Notifications',\n        close: 'Close',\n        closeNotification: 'Close notification',\n        loading: 'Loading',\n        moreInfo: 'More information',\n        options: 'Options',\n        breadcrumb: 'Breadcrumb',\n        structuredList: 'Structured list section',\n        select: 'Select',\n        dismiss: 'Dismiss {text}',\n        removeTab: 'Remove {text} tab',\n        additionalActions: 'Additional actions',\n        moreActions: 'More actions',\n        skipToContent: 'Skip to main content',\n        openMenu: 'Open menu',\n        closeMenu: 'Close menu',\n        mainNavigation: 'Main navigation',\n        sideNavigation: 'Side navigation',\n        globalActions: 'Global actions',\n        opensInNewTab: '(opens in a new tab)',\n        stepComplete: 'Complete',\n        stepCurrent: 'Current',\n        stepIncomplete: 'Incomplete',\n        stepInvalid: 'Invalid',\n        loadingFinished: 'Finished',\n        loadingError: 'Error',\n        viewMore: 'View more',\n        viewLess: 'View less',\n        unknown: 'Unknown',\n        back: 'Back',\n        collapse: 'Collapse',\n        expand: 'Expand',\n        pageHeaderActions: 'Page header actions',\n        moreBreadcrumbs: 'More breadcrumbs',\n        moreTags: '{count} more tags',\n        viewAllTags: 'View all tags',\n        allTags: 'All tags',\n        searchAllTags: 'Search all tags',\n        edit: 'Edit',\n        save: 'Save',\n        cancel: 'Cancel',\n        editOff: 'Edit off',\n        readOnlyField: 'This field is read-only and cannot be edited',\n        theme: 'Theme',\n        themeLight: 'Light',\n        themeDark: 'Dark',\n        themeSystem: 'System',\n    },\n    field: {\n        tooLong: 'Use {max} characters or fewer.',\n        nearLimit: 'Approaching the character limit',\n        tooManyWords: 'Use {max} words or fewer.',\n        nearWordLimit: 'Approaching the word limit',\n        showPassword: 'Show password',\n        hidePassword: 'Hide password',\n        decrement: 'Decrement number',\n        increment: 'Increment number',\n        requiredOne: 'Please select an option.',\n        requiredAtLeastOne: 'Select at least one option.',\n        required: 'Fill out this field.',\n        search: 'Search',\n        clearSearch: 'Clear search input',\n        on: 'On',\n        off: 'Off',\n        sliderInput: 'Slider number input',\n        sliderLower: 'Lower bound',\n        sliderUpper: 'Upper bound',\n        sliderCorrected: 'The inputted value \"{value}\" was corrected to the nearest allowed digit.',\n        timeSelect: 'Open list of options',\n        enterNumber: 'Enter a number',\n        enterTime: 'Enter a valid time',\n        rangeUnderflow: 'Enter {min} or more.',\n        rangeOverflow: 'Enter {max} or less.',\n    },\n    copy: {\n        copy: 'Copy to clipboard',\n        copied: 'Copied!',\n        showMore: 'Show more',\n        showLess: 'Show less',\n    },\n    fileUploader: {\n        addFile: 'Add file',\n        dropHint: 'Drag and drop files here or click to upload',\n        invalidType: 'File type not supported',\n        tooLarge: 'File is too large',\n        invalidBody: 'Remove the file and choose another.',\n        removeFile: 'Remove file',\n        uploading: 'Uploading',\n        uploaded: 'Uploaded',\n        required: 'Add at least one file.',\n        filesChosen: (n) => `${n} files`,\n        tooMany: 'Too many files',\n        tooManyBody: (max) => `You can add up to ${max} files.`,\n        totalTooLarge: 'Total file size is too large',\n        totalTooLargeBody: (max) => `All files together can be up to ${max}.`,\n        uploadFailed: 'Upload failed',\n        retry: 'Retry upload',\n        cancelUpload: 'Cancel upload',\n    },\n    pagination: {\n        itemsPerPage: 'Items per page:',\n        itemRange: '{min}–{max} of {total} items',\n        items: '{min}–{max} items',\n        pageRange: 'of {total} pages',\n        page: 'page {page}',\n        pageNumber: 'Page number',\n        previousPage: 'Previous page',\n        nextPage: 'Next page',\n        navLabel: 'Pagination',\n        navPrevious: 'Previous',\n        navNext: 'Next',\n        navPage: 'Page',\n        navActivePage: 'Active, Page',\n        navSelect: 'Select page number',\n        navStatus: 'Page {page} of {total}',\n    },\n    dataTable: {\n        sortAscending: 'Click to sort rows by {header} header in ascending order',\n        sortDescending: 'Click to sort rows by {header} header in descending order',\n        unsort: 'Click to unsort rows by {header} header',\n        selectAll: 'Select all rows',\n        unselectAll: 'Unselect all rows',\n        selectRow: 'Select row',\n        unselectRow: 'Unselect row',\n        selectedCount: (n) => `${n} ${n === 1 ? 'item' : 'items'} selected`,\n        cancel: 'Cancel',\n        toolbar: 'Data table toolbar',\n        searchLabel: 'Filter table',\n        searchPlaceholder: 'Filter table',\n        expandRow: 'Expand current row',\n        collapseRow: 'Collapse current row',\n        expandAll: 'Expand all rows',\n        collapseAll: 'Collapse all rows',\n        sorted: (header, direction) => `Sorted by ${header}, ${direction}`,\n        unsorted: 'Sorting removed',\n        rowsShown: (shown, total) => `${shown} of ${total} rows`,\n        editHint: 'Press Enter to edit',\n        resizeColumn: (header) => `Resize ${header} column`,\n        columnWidth: (px) => `${px} pixels`,\n        loading: 'Loading data',\n        noRows: 'No data',\n        noResults: 'No results found. Try a different search.',\n        selectAllCount: (n) => `Select all (${n})`,\n        columns: 'Columns',\n        resetColumns: 'Reset',\n        exportCsv: 'Export CSV',\n    },\n    list: {\n        required: 'Please select an option.',\n        clear: 'Clear',\n        openList: 'Open list',\n        closeList: 'Close list',\n        noResults: 'No matching items',\n        searching: 'Searching…',\n        loadingOptions: 'Loading…',\n        selectAll: 'Select all',\n        clearAll: 'Clear all selected items',\n        selectedCount: (n) => `Total items selected: ${n}`,\n    },\n    datePicker: {\n        weekdays: ['S', 'M', 'T', 'W', 'Th', 'F', 'S'], // Carbon's flatpickr English shorthand\n        chooseDate: 'Choose date',\n        previousMonth: 'Previous month',\n        nextMonth: 'Next month',\n        year: 'Year',\n        increaseYear: 'Next year',\n        decreaseYear: 'Previous year',\n        week: 'Week',\n        month: 'Month',\n        pattern: (format) => format,\n        hint: (pattern) => `Format: ${pattern}`,\n        badFormat: (pattern) => `Enter a valid date as ${pattern}.`,\n        incomplete: 'Enter a day, month and year.',\n        impossible: 'Enter a real date; check the day and month.',\n        badEra: (example) => `Enter the year in Buddhist Era, e.g. ${example}.`,\n        required: 'Please enter a date.',\n        dateDisabled: 'This date is not available.',\n        clear: 'Clear date',\n        today: 'Today',\n        endBeforeStart: 'End date must be on or after the start date.',\n        beforeMin: (date) => `Date must be on or after ${date}.`,\n        afterMax: (date) => `Date must be on or before ${date}.`,\n    },\n};\n"
    },
    {
      "path": "src/core/translations/th.ts",
      "type": "registry:lib",
      "target": "components/ui/core/translations/th.ts",
      "content": "import type { UiTranslation } from '../i18n.ts';\n\n/** ไทย */\nexport const th: UiTranslation = {\n    $code: 'th',\n    $name: 'ไทย',\n    $dir: 'ltr',\n    common: {\n        notifications: 'การแจ้งเตือน',\n        close: 'ปิด',\n        closeNotification: 'ปิดการแจ้งเตือน',\n        loading: 'กำลังโหลด',\n        moreInfo: 'ข้อมูลเพิ่มเติม',\n        options: 'ตัวเลือก',\n        breadcrumb: 'เส้นทางหน้า',\n        structuredList: 'รายการแบบตาราง',\n        select: 'เลือก',\n        dismiss: 'ลบ {text}',\n        removeTab: 'ปิดแท็บ {text}',\n        additionalActions: 'การกระทำเพิ่มเติม',\n        moreActions: 'การกระทำอื่น',\n        skipToContent: 'ข้ามไปยังเนื้อหาหลัก',\n        openMenu: 'เปิดเมนู',\n        closeMenu: 'ปิดเมนู',\n        mainNavigation: 'เมนูหลัก',\n        sideNavigation: 'เมนูด้านข้าง',\n        globalActions: 'การกระทำส่วนกลาง',\n        opensInNewTab: '(เปิดในแท็บใหม่)',\n        stepComplete: 'เสร็จแล้ว',\n        stepCurrent: 'ขั้นปัจจุบัน',\n        stepIncomplete: 'ยังไม่ถึง',\n        stepInvalid: 'ไม่ถูกต้อง',\n        loadingFinished: 'เสร็จแล้ว',\n        loadingError: 'เกิดข้อผิดพลาด',\n        viewMore: 'ดูเพิ่มเติม',\n        viewLess: 'ดูน้อยลง',\n        unknown: 'ไม่ทราบ',\n        back: 'ย้อนกลับ',\n        collapse: 'ย่อ',\n        expand: 'ขยาย',\n        pageHeaderActions: 'การดำเนินการของหน้า',\n        moreBreadcrumbs: 'เส้นทางเพิ่มเติม',\n        moreTags: 'แท็กอื่นอีก {count} รายการ',\n        viewAllTags: 'ดูแท็กทั้งหมด',\n        allTags: 'แท็กทั้งหมด',\n        searchAllTags: 'ค้นหาแท็กทั้งหมด',\n        edit: 'แก้ไข',\n        save: 'บันทึก',\n        cancel: 'ยกเลิก',\n        editOff: 'แก้ไขไม่ได้',\n        readOnlyField: 'ช่องนี้อ่านได้อย่างเดียว แก้ไขไม่ได้',\n        theme: 'ธีม',\n        themeLight: 'สว่าง',\n        themeDark: 'มืด',\n        themeSystem: 'ตามระบบ',\n    },\n    field: {\n        tooLong: 'กรอกได้ไม่เกิน {max} ตัวอักษร',\n        nearLimit: 'ใกล้ครบจำนวนตัวอักษรที่กำหนด',\n        tooManyWords: 'กรอกได้ไม่เกิน {max} คำ',\n        nearWordLimit: 'ใกล้ครบจำนวนคำที่กำหนด',\n        showPassword: 'แสดงรหัสผ่าน', // NOSONAR S2068: UI label for the show-password button, not a credential\n        hidePassword: 'ซ่อนรหัสผ่าน', // NOSONAR S2068: UI label for the hide-password button, not a credential\n        decrement: 'ลดค่า',\n        increment: 'เพิ่มค่า',\n        requiredOne: 'กรุณาเลือกรายการ',\n        requiredAtLeastOne: 'กรุณาเลือกอย่างน้อยหนึ่งรายการ',\n        required: 'กรุณากรอกข้อมูล',\n        search: 'ค้นหา',\n        clearSearch: 'ล้างคำค้นหา',\n        on: 'เปิด',\n        off: 'ปิด',\n        sliderInput: 'ช่องกรอกค่าของแถบเลื่อน',\n        sliderLower: 'ขอบล่าง',\n        sliderUpper: 'ขอบบน',\n        sliderCorrected: 'ค่า \"{value}\" ที่กรอกถูกปรับเป็นค่าที่ใกล้ที่สุดที่อนุญาต',\n        timeSelect: 'เปิดรายการตัวเลือก',\n        enterNumber: 'กรุณากรอกตัวเลข',\n        enterTime: 'กรุณากรอกเวลาให้ถูกต้อง',\n        rangeUnderflow: 'กรุณากรอกค่าตั้งแต่ {min} ขึ้นไป',\n        rangeOverflow: 'กรุณากรอกค่าไม่เกิน {max}',\n    },\n    copy: {\n        copy: 'คัดลอก',\n        copied: 'คัดลอกแล้ว',\n        showMore: 'แสดงเพิ่มเติม',\n        showLess: 'แสดงน้อยลง',\n    },\n    fileUploader: {\n        addFile: 'เพิ่มไฟล์',\n        dropHint: 'ลากไฟล์มาวางที่นี่ หรือคลิกเพื่ออัปโหลด',\n        invalidType: 'ไม่รองรับไฟล์ประเภทนี้',\n        tooLarge: 'ไฟล์มีขนาดใหญ่เกินไป',\n        invalidBody: 'ลบไฟล์นี้ออกแล้วเลือกไฟล์อื่น',\n        removeFile: 'ลบไฟล์',\n        uploading: 'กำลังอัปโหลด',\n        uploaded: 'อัปโหลดแล้ว',\n        required: 'กรุณาเพิ่มไฟล์อย่างน้อยหนึ่งไฟล์',\n        filesChosen: (n) => `${n} ไฟล์`,\n        tooMany: 'จำนวนไฟล์เกินกำหนด',\n        tooManyBody: (max) => `เพิ่มไฟล์ได้สูงสุด ${max} ไฟล์`,\n        totalTooLarge: 'ขนาดไฟล์รวมใหญ่เกินไป',\n        totalTooLargeBody: (max) => `ขนาดรวมของทุกไฟล์ต้องไม่เกิน ${max}`,\n        uploadFailed: 'อัปโหลดไม่สำเร็จ',\n        retry: 'ลองอัปโหลดอีกครั้ง',\n        cancelUpload: 'ยกเลิกการอัปโหลด',\n    },\n    pagination: {\n        itemsPerPage: 'รายการต่อหน้า:',\n        itemRange: '{min}–{max} จาก {total} รายการ',\n        items: '{min}–{max} รายการ',\n        pageRange: 'จาก {total} หน้า',\n        page: 'หน้า {page}',\n        pageNumber: 'หมายเลขหน้า',\n        previousPage: 'หน้าก่อนหน้า',\n        nextPage: 'หน้าถัดไป',\n        navLabel: 'การแบ่งหน้า',\n        navPrevious: 'ก่อนหน้า',\n        navNext: 'ถัดไป',\n        navPage: 'หน้า',\n        navActivePage: 'หน้าปัจจุบัน, หน้า',\n        navSelect: 'เลือกหมายเลขหน้า',\n        navStatus: 'หน้า {page} จาก {total}',\n    },\n    dataTable: {\n        sortAscending: 'คลิกเพื่อเรียงแถวตามคอลัมน์ {header} จากน้อยไปมาก',\n        sortDescending: 'คลิกเพื่อเรียงแถวตามคอลัมน์ {header} จากมากไปน้อย',\n        unsort: 'คลิกเพื่อยกเลิกการเรียงตามคอลัมน์ {header}',\n        selectAll: 'เลือกทุกแถว',\n        unselectAll: 'ยกเลิกการเลือกทุกแถว',\n        selectRow: 'เลือกแถว',\n        unselectRow: 'ยกเลิกการเลือกแถว',\n        selectedCount: (n) => `เลือกแล้ว ${n} รายการ`,\n        cancel: 'ยกเลิก',\n        toolbar: 'แถบเครื่องมือตาราง',\n        searchLabel: 'กรองตาราง',\n        searchPlaceholder: 'กรองตาราง',\n        expandRow: 'ขยายแถวนี้',\n        collapseRow: 'ยุบแถวนี้',\n        expandAll: 'ขยายทุกแถว',\n        collapseAll: 'ยุบทุกแถว',\n        sorted: (header, direction) => `เรียงตามคอลัมน์ ${header} ${direction === 'ascending' ? 'จากน้อยไปมาก' : 'จากมากไปน้อย'}`,\n        unsorted: 'ยกเลิกการเรียงแล้ว',\n        rowsShown: (shown, total) => `แสดง ${shown} จาก ${total} แถว`,\n        editHint: 'กด Enter เพื่อแก้ไข',\n        resizeColumn: (header) => `ปรับความกว้างคอลัมน์ ${header}`,\n        columnWidth: (px) => `${px} พิกเซล`,\n        loading: 'กำลังโหลดข้อมูล',\n        noRows: 'ไม่มีข้อมูล',\n        noResults: 'ไม่พบข้อมูลที่ค้นหา ลองใช้คำค้นอื่น',\n        selectAllCount: (n) => `เลือกทั้งหมด (${n})`,\n        columns: 'คอลัมน์',\n        resetColumns: 'คืนค่าเริ่มต้น',\n        exportCsv: 'ส่งออก CSV',\n    },\n    list: {\n        required: 'กรุณาเลือกรายการ',\n        clear: 'ล้างค่า',\n        openList: 'เปิดรายการ',\n        closeList: 'ปิดรายการ',\n        noResults: 'ไม่พบรายการที่ตรงกัน',\n        searching: 'กำลังค้นหา…',\n        loadingOptions: 'กำลังโหลด…',\n        selectAll: 'เลือกทั้งหมด',\n        clearAll: 'ล้างรายการที่เลือกทั้งหมด',\n        selectedCount: (n) => `เลือกแล้ว ${n} รายการ`,\n    },\n    datePicker: {\n        chooseDate: 'เลือกวันที่',\n        previousMonth: 'เดือนก่อนหน้า',\n        nextMonth: 'เดือนถัดไป',\n        year: 'ปี',\n        increaseYear: 'ปีถัดไป',\n        decreaseYear: 'ปีก่อนหน้า',\n        week: 'สัปดาห์',\n        month: 'เดือน',\n        pattern: (format) => format.replace('dd', 'วว').replace('mm', 'ดด').replace('yyyy', 'ปปปป'),\n        hint: (pattern) => `รูปแบบ: ${pattern}`,\n        badFormat: (pattern) => `กรุณากรอกวันที่ให้ถูกต้องตามรูปแบบ ${pattern}`,\n        incomplete: 'กรุณากรอกวันที่ให้ครบ วัน เดือน และปี',\n        impossible: 'วันที่นี้ไม่มีอยู่จริง กรุณาตรวจสอบวันและเดือน',\n        badEra: (example) => `กรุณากรอกปีเป็น พ.ศ. เช่น ${example}`,\n        required: 'กรุณากรอกวันที่',\n        dateDisabled: 'วันที่นี้ไม่สามารถเลือกได้',\n        clear: 'ล้างวันที่',\n        today: 'วันนี้',\n        endBeforeStart: 'วันสิ้นสุดต้องไม่ก่อนวันเริ่มต้น',\n        beforeMin: (date) => `วันที่ต้องไม่ก่อน ${date}`,\n        afterMax: (date) => `วันที่ต้องไม่หลัง ${date}`,\n    },\n};\n"
    }
  ]
}
