mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
126 lines
No EOL
7.9 KiB
JavaScript
126 lines
No EOL
7.9 KiB
JavaScript
/*!
|
|
* FileInput Thai Translations
|
|
*
|
|
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
|
|
* any HTML markup tags in the messages must not be converted or translated.
|
|
*
|
|
* @see http://github.com/kartik-v/bootstrap-fileinput
|
|
*
|
|
* NOTE: this file must be saved in UTF-8 encoding.
|
|
*/
|
|
(function (factory) {
|
|
'use strict';
|
|
if (typeof define === 'function' && define.amd) {
|
|
define(['jquery'], factory);
|
|
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
factory(require('jquery'));
|
|
} else {
|
|
factory(window.jQuery);
|
|
}
|
|
}(function ($) {
|
|
"use strict";
|
|
|
|
$.fn.fileinputLocales['th'] = {
|
|
sizeUnits: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
|
|
bitRateUnits: ['B/s', 'KB/s', 'MB/s', 'GB/s', 'TB/s', 'PB/s', 'EB/s', 'ZB/s', 'YB/s'],
|
|
fileSingle: 'ไฟล์',
|
|
filePlural: 'ไฟล์',
|
|
browseLabel: 'เลือกดู …',
|
|
removeLabel: 'ลบทิ้ง',
|
|
removeTitle: 'ลบไฟล์ที่เลือกทิ้ง',
|
|
cancelLabel: 'ยกเลิก',
|
|
cancelTitle: 'ยกเลิกการอัพโหลด',
|
|
pauseLabel: 'Pause',
|
|
pauseTitle: 'Pause ongoing upload',
|
|
uploadLabel: 'อัพโหลด',
|
|
uploadTitle: 'อัพโหลดไฟล์ที่เลือก',
|
|
msgNo: 'ไม่',
|
|
msgNoFilesSelected: '',
|
|
msgPaused: 'Paused',
|
|
msgCancelled: 'ยกเลิก',
|
|
msgPlaceholder: 'Select {files} ...',
|
|
msgZoomModalHeading: 'ตัวอย่างละเอียด',
|
|
msgFileRequired: 'You must select a file to upload.',
|
|
msgSizeTooSmall: 'File "{name}" (<b>{size}</b>) is too small and must be larger than <b>{minSize}</b>.',
|
|
msgSizeTooLarge: 'ไฟล์ "{name}" (<b>{size}</b>) มีขนาดเกินที่ระบบอนุญาตที่ <b>{maxSize}</b>, กรุณาลองใหม่อีกครั้ง!',
|
|
msgMultipleSizeTooLarge: 'ไฟล์ "{name}" (<b>{size}</b>) มีขนาดเกินที่ระบบอนุญาตที่ <b>{maxSize}</b>, กรุณาลองใหม่อีกครั้ง!',
|
|
msgFilesTooLess: 'คุณต้องเลือกไฟล์จำนวนอย่างน้อย <b>{n}</b> {files} เพื่ออัพโหลด, กรุณาลองใหม่อีกครั้ง!',
|
|
msgFilesTooMany: 'ไฟล์ที่คุณเลือกมีจำนวน <b>({n})</b> ซึ่งเกินกว่าที่ระบบอนุญาตที่ <b>{m}</b>, กรุณาลองใหม่อีกครั้ง!',
|
|
msgTotalFilesTooMany: 'You can upload a maximum of <b>{m}</b> files (<b>{n}</b> files detected).',
|
|
msgFileNotFound: 'ไม่พบไฟล์ "{name}" !',
|
|
msgFileSecured: 'ระบบความปลอดภัยไม่อนุญาตให้อ่านไฟล์ "{name}".',
|
|
msgFileNotReadable: 'ไม่สามารถอ่านไฟล์ "{name}" ได้',
|
|
msgFilePreviewAborted: 'ไฟล์ "{name}" ไม่อนุญาตให้ดูตัวอย่าง',
|
|
msgFilePreviewError: 'พบปัญหาในการดูตัวอย่างไฟล์ "{name}".',
|
|
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
|
msgInvalidFileType: 'ไฟล์ "{name}" เป็นประเภทไฟล์ที่ไม่ถูกต้อง, อนุญาตเฉพาะไฟล์ประเภท "{types}"',
|
|
msgInvalidFileExtension: 'ไฟล์ "{name}" เป็น extension ที่ไมถูกต้อง, อนุญาตเฉพาะไฟล์ extension "{extensions}"',
|
|
msgFileTypes: {
|
|
'image': 'image',
|
|
'html': 'HTML',
|
|
'text': 'text',
|
|
'video': 'video',
|
|
'audio': 'audio',
|
|
'flash': 'flash',
|
|
'pdf': 'PDF',
|
|
'object': 'object'
|
|
},
|
|
msgUploadAborted: 'อัปโหลดไฟล์ถูกยกเลิก',
|
|
msgUploadThreshold: 'Processing …',
|
|
msgUploadBegin: 'Initializing …',
|
|
msgUploadEnd: 'Done',
|
|
msgUploadResume: 'Resuming upload …',
|
|
msgUploadEmpty: 'No valid data available for upload.',
|
|
msgUploadError: 'Upload Error',
|
|
msgDeleteError: 'Delete Error',
|
|
msgProgressError: 'Error',
|
|
msgValidationError: 'ข้อผิดพลาดในการตรวจสอบ',
|
|
msgLoading: 'กำลังโหลดไฟล์ {index} จาก {files} …',
|
|
msgProgress: 'กำลังโหลดไฟล์ {index} จาก {files} - {name} - {percent}%',
|
|
msgSelected: '{n} {files} ถูกเลือก',
|
|
msgFoldersNotAllowed: 'Drag & drop เฉพาะไฟล์เท่านั้น! ข้าม dropped folder จำนวน {n}',
|
|
msgImageWidthSmall: 'ความกว้างของภาพไฟล์ "{name}" ต้องมีอย่างน้อย <b>{size} px</b> (detected <b>{dimension} px</b>).',
|
|
msgImageHeightSmall: 'ความสูงของภาพไฟล์ "{name}" ต้องมีอย่างน้อย <b>{size} px</b> (detected <b>{dimension} px</b>).',
|
|
msgImageWidthLarge: 'ความกว้างของภาพไฟล์ "{name}" ไม่เกิน {size} พิกเซล.',
|
|
msgImageHeightLarge: 'ความสูงของไฟล์ภาพ "{name}" ไม่เกิน {size} พิกเซล.',
|
|
msgImageResizeError: 'ไม่สามารถรับขนาดภาพเพื่อปรับขนาด',
|
|
msgImageResizeException: 'ข้อผิดพลาดขณะปรับขนาดภาพ<pre>{errors}</pre>',
|
|
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
|
msgAjaxProgressError: '{operation} failed',
|
|
msgDuplicateFile: 'File "{name}" of same size "{size}" has already been selected earlier. Skipping duplicate selection.',
|
|
msgResumableUploadRetriesExceeded: 'Upload aborted beyond <b>{max}</b> retries for file <b>{file}</b>! Error Details: <pre>{error}</pre>',
|
|
msgPendingTime: '{time} remaining',
|
|
msgCalculatingTime: 'calculating time remaining',
|
|
ajaxOperations: {
|
|
deleteThumb: 'file delete',
|
|
uploadThumb: 'file upload',
|
|
uploadBatch: 'batch file upload',
|
|
uploadExtra: 'form data upload'
|
|
},
|
|
dropZoneTitle: 'Drag & drop ไฟล์ตรงนี้ …',
|
|
dropZoneClickTitle: '<br>(or click to select {files})',
|
|
fileActionSettings: {
|
|
removeTitle: 'ลบไฟล์',
|
|
uploadTitle: 'อัปโหลดไฟล์',
|
|
uploadRetryTitle: 'Retry upload',
|
|
downloadTitle: 'Download file',
|
|
rotateTitle: 'Rotate 90 deg. clockwise',
|
|
zoomTitle: 'ดูรายละเอียด',
|
|
dragTitle: 'Move / Rearrange',
|
|
indicatorNewTitle: 'ยังไม่ได้อัปโหลด',
|
|
indicatorSuccessTitle: 'อัพโหลด',
|
|
indicatorErrorTitle: 'อัปโหลดข้อผิดพลาด',
|
|
indicatorPausedTitle: 'Upload Paused',
|
|
indicatorLoadingTitle: 'อัพโหลด …'
|
|
},
|
|
previewZoomButtonTitles: {
|
|
prev: 'View previous file',
|
|
next: 'View next file',
|
|
rotate: 'Rotate 90 deg. clockwise',
|
|
toggleheader: 'Toggle header',
|
|
fullscreen: 'Toggle full screen',
|
|
borderless: 'Toggle borderless mode',
|
|
close: 'Close detailed preview'
|
|
}
|
|
};
|
|
})); |