Files
opensourcepos/app/Language/th/Items.php
T
objecttothis 8bd2a51cb5 fix(items): validate item_number and skip receiving quantity default for temp items (#4621)
* fix(items): validate item_number and skip receiving quantity default for temp items

- Validate item_number against alpha_numeric_punct rule, return JSON error on failure
- Add item_number_invalid language string

* i18n: reorder Items language keys and add item_number_invalid string

Add item_number_invalid translation across all locale files and
resort surrounding keys alphabetically to match key ordering
convention.

* PSR-12 refactoring.

- Change local variable to camelCase.
- Use single quote in language files.

* i18n: translate item_number_invalid string in ta, th, tl, zh-Hans

Item_number_invalid key had English placeholder text in Tamil,
Thai, Tagalog, Chinese Simplified language files. Translate to
match each locale.

* fix(items): use FormatRules for item_number validation

* refactor(items): use camelCase for variable names

* refactor(items): use camelCase for variable names in Items controller
2026-08-18 02:51:42 +04:00

124 lines
8.9 KiB
PHP

<?php
return [
'add_minus' => "เพิ่ม/ลบ จำนวนสินค้าคงคลัง",
'allow_alt_description' => "แสดงข้อมูลเพิ่มเติม",
'amount_entry' => "จำนวนเงิน",
'bulk_edit' => "แก้ไขความจุ",
'buy_price_required' => "ราคาซื้อขายต้องกรอก",
'cannot_be_deleted' => "ไม่สามารถลบสินค้าที่เลือก, สินค้าที่เลือกถูกขายไปแล้ว.",
'cannot_find_item' => "ไม่พบข้อมูลของสินค้า",
'categories' => "",
'category' => "หมวดหมู่",
'category_new' => "",
'category_required' => "หมวดหมู่สินค้าต้องกรอก",
'change_all_to_allow_alt_desc' => "อนุญาตให้รายละเอียดสำรองทั้งหมด",
'change_all_to_not_allow_allow_desc' => "ไม่อนุญาตให้จัดเรียงลำดับ",
'change_all_to_serialized' => "เปลี่ยนแปลงรหัสสินค้าทั้งหมด",
'change_all_to_unserialized' => "ลบรหัสสินค้าทั้งหมด",
'change_image' => "เปลี่ยนรูปภาพ",
'confirm_bulk_edit' => "แน่ใจหรือไม่ที่จะแก้ใขสินค้าทั้งหมดที่คุณเลือก?",
'confirm_bulk_edit_wipe_taxes' => "ข้อมูลภาษีทั้งหมดจะถูกแทนที่",
'confirm_delete' => "โปรดยืนยันการลบสินค้าที่ถูกเลือก?",
'confirm_restore' => "คุณแน่ใจหรือไม่ว่าต้องการกู้คืนรายการที่เลือก?",
'cost_price' => "ราคาขายส่ง",
'cost_price_number' => "ราคาขายส่งต้องเป็นตัวเลข",
'cost_price_required' => "ต้องกรอกราคาขายส่ง",
'count' => "แก้ไขจำนวนสินค้าคงคลัง",
'csv_import_failed' => "นำเข้าข้อมูล CSV ล้มเหลว",
'csv_import_invalid_location' => "คลังสินค้าไม่ถูกต้องหรือไม่พบ: {0} อนุญาตเฉพาะคลังสินค้าที่มีเท่านั้น",
'csv_import_nodata_wrongformat' => "Your uploaded file has no data or wrong format",
'csv_import_partially_failed' => "มีรายการ {0} รายการที่นำเข้าล้มเหลว : {1} รายการที่ยังไม่ได้นำเข้า",
'csv_import_success' => "Import of Items successful",
'current_quantity' => "ปริมาณสินค้าคงคลัง",
'default_pack_name' => "ชิ้นละ",
'description' => "รายละเอียด",
'details_count' => "รายละเอียดจำนวนสินค้าคงคลัง",
'do_nothing' => "ไม่ต้องทำอะไร",
'edit' => "",
'edit_fields_you_want_to_update' => "แก้ไขสินค้าทุกชนิดที่คุณเลือก",
'edit_multiple_items' => "แก้ใขสินค้าต่างๆ",
'empty_upc_items' => "Empty UPC Items",
'error_adding_updating' => "เพิ่ม/ปรับแต่ง สินค้าล้มเหลว",
'error_updating_multiple' => "ปรับแต่งสินค้าล้มเหลว",
'generate_barcodes' => "พิมพ์บาร์โค๊ด",
'hsn_code' => "ระบบการตั้งชื่อที่กลมกลืนกัน",
'image' => "รูป",
'import_items_csv' => "รายการที่นำเข้าจาก CSV",
'info_provided_by' => "จัดเตรียมข้อมูลโดย",
'inventory' => "สินค้าคงเหลือ",
'inventory_CSV_import_quantity' => "จำนวนที่นำเข้าจาก CSV",
'inventory_comments' => "คำอธิบาย",
'inventory_data_tracking' => "การติดตามข้อมูลสินค้าคงคลัง",
'inventory_date' => "วันที่",
'inventory_employee' => "พนักงาน",
'inventory_in_out_quantity' => "ปริมาณเข้า / ออก",
'inventory_remarks' => "หมายเหตุ",
'is_deleted' => "ถูกลบแล้ว",
'is_printed' => "",
'is_serialized' => "สินค้ามีซีเรียลนัมเบอร์",
'item' => "สินค้า",
'item_id' => "",
'item_number' => "โค๊ด",
'item_number_duplicate' => "The item number is already present in the database",
'item_number_invalid' => 'หมายเลขสินค้าประกอบด้วยอักขระที่ไม่อนุญาต',
'kit' => "ชุด",
'location' => "ที่ตั้ง",
'low_inventory_items' => "สินค้าคงเหลือน้อย",
'low_sell_item' => "รายการขายต่ำ",
'manually_editing_of_quantity' => "แก้ไขจำนวน",
'markup' => "",
'name' => "ชื่อสินค้า",
'name_required' => "ชื่อสินค้าต้องกรอก",
'new' => "เพิ่มรายการสินค้า",
'no_description_items' => "สินค้าที่ไม่มีคำอธิบายหรือวิธีการใช้",
'no_items_to_display' => "ไม่มีสินค้าแสดง",
'none' => "ว่างเปล่า",
'none_selected' => "กรุณาเลือสินค้าที่ต้องการแก้ไข",
'nonstock' => "ไม่นับสต็อก",
'number_information' => "หมายเลขสินค้า",
'number_required' => "จำเป็นต้องระบุบาร์โค้ด",
'one_or_multiple' => "สินค้า(s)",
'pack_name' => "ชื่อแพ็ค",
'qty_per_pack' => "ปริมาณต่อแพ็ค",
'quantity' => "จำนวน",
'quantity_number' => "จำนวนต้องเป็นตัวเลข",
'quantity_required' => "จำนวนต้องกรอก",
'receiving_quantity' => "ยอดรับมา",
'remove_image' => "นำภาพออก",
'reorder_level' => "ระดับการสั่งใหม่",
'reorder_level_number' => "ระดับการสั่งใหม่ต้องเป็นตัวเลข",
'reorder_level_required' => "ระดับการสั่งไหม่ต้องกรอก",
'retrive_item_info' => "ดึงข้อมูลรายการ",
'sales_tax_1' => "ถาษีขาย",
'sales_tax_2' => "ภาษีขาย 2",
'search_attributes' => "ค้นหาตามคุณสมบัติ",
'select_image' => "เลือกรูปภาพ",
'serialized_items' => "รหัสสินค้า",
'standard' => "มาตรฐาน",
'stock' => "คลังสินค้า",
'stock_location' => "ที่เก็บ",
'stock_type' => "ประเภทคลัง",
'successful_adding' => "เพิ่มสินค้าสำเร็จ",
'successful_bulk_edit' => "ปรับแต่งสินค้าสำเร็จ",
'successful_deleted' => "ลบสินค้าสำเร็จ",
'successful_updating' => "ปรับแต่งสินค้าสำเร็จ",
'supplier' => "ผู้ผลิต",
'tax_1' => "ภาษี 1",
'tax_2' => "ภาษี 2",
'tax_3' => "",
'tax_category' => "ประเภทภาษี",
'tax_percent' => "ภาษี(%)",
'tax_percent_number' => "เปอร์เซ็นต์ภาษีต้องเป็นค่าตัวเลข",
'tax_percent_required' => "เปอร์เซ็นต์ต้องกรอก",
'tax_percents' => "ภาษี(%)",
'temp' => "ชั่วคราว",
'type' => "ประเภทรายการ",
'unit_price' => "ราคาขาย",
'unit_price_number' => "ราคาต่อหน่วยต้องเป็นตัวเลข",
'unit_price_required' => "ราคาต่อหน่วยต้องกรอก",
'upc_database' => "UPC ฐานข้อมูล",
'update' => "ปรับแต่งสินค้า",
'use_inventory_menu' => "ใช้เมนูสินค้าคงเหลือ",
];