Files
opensourcepos/app/Language/th/Error.php
T
objecttothis bffac9a3d5 fix(i18n): add localized error messages and improve error reporting in security_helper
- Add missing translations for error messages across multiple language files.
- Update `security_helper` to use localized exception messages with placeholders.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-09-08 21:53:37 +02:00

12 lines
962 B
PHP

<?php
return [
'no_permission_module' => 'คุณไม่ได้รับสิทธิ์การเข้าถึงข้อมูลในส่วนนี้',
'unable_to_create_env_file' => 'ไม่สามารถสร้าง {filePath} เพื่อกำหนดค่า throttle.key ได้',
'unable_to_lock_file' => 'ไม่สามารถล็อกไฟล์ {filePath} ได้: {reason}',
'unable_to_open_lock_file' => 'ไม่สามารถเปิดไฟล์ {filePath} ได้: {reason}',
'unable_to_persist_throttle_key' => 'ไม่สามารถบันทึก throttle.key ลงใน {filePath} ได้',
'unable_to_read_env_file' => 'ไม่สามารถอ่าน {filePath} เพื่อกำหนดค่า throttle.key ได้',
'unknown' => 'ไม่ทราบ',
];