6056 |
efrain |
1 |
/*!
|
|
|
2 |
* FileInput <_LANG_> Translations
|
|
|
3 |
*
|
|
|
4 |
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
|
|
|
5 |
* any HTML markup tags in the messages must not be converted or translated.
|
|
|
6 |
*
|
|
|
7 |
* @see http://github.com/kartik-v/bootstrap-fileinput
|
|
|
8 |
*
|
|
|
9 |
* NOTE: this file must be saved in UTF-8 encoding.
|
|
|
10 |
*/
|
|
|
11 |
(function ($) {
|
|
|
12 |
"use strict";
|
|
|
13 |
|
|
|
14 |
$.fn.fileinputLocales['_LANG_'] = {
|
|
|
15 |
fileSingle: 'file',
|
|
|
16 |
filePlural: 'files',
|
|
|
17 |
browseLabel: 'Browse …',
|
|
|
18 |
removeLabel: 'Remove',
|
|
|
19 |
removeTitle: 'Clear selected files',
|
|
|
20 |
cancelLabel: 'Cancel',
|
|
|
21 |
cancelTitle: 'Abort ongoing upload',
|
|
|
22 |
pauseLabel: 'Pause',
|
|
|
23 |
pauseTitle: 'Pause ongoing upload',
|
|
|
24 |
uploadLabel: 'Upload',
|
|
|
25 |
uploadTitle: 'Upload selected files',
|
|
|
26 |
msgNo: 'No',
|
|
|
27 |
msgNoFilesSelected: 'No files selected',
|
|
|
28 |
msgPaused: 'Paused',
|
|
|
29 |
msgCancelled: 'Cancelled',
|
|
|
30 |
msgPlaceholder: 'Select {files} ...',
|
|
|
31 |
msgZoomModalHeading: 'Detailed Preview',
|
|
|
32 |
msgFileRequired: 'You must select a file to upload.',
|
|
|
33 |
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
|
|
34 |
msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>.',
|
|
|
35 |
msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload.',
|
|
|
36 |
msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>.',
|
|
|
37 |
msgTotalFilesTooMany: 'You can upload a maximum of <b>{m}</b> files (<b>{n}</b> files detected).',
|
|
|
38 |
msgFileNotFound: 'File "{name}" not found!',
|
|
|
39 |
msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
|
|
|
40 |
msgFileNotReadable: 'File "{name}" is not readable.',
|
|
|
41 |
msgFilePreviewAborted: 'File preview aborted for "{name}".',
|
|
|
42 |
msgFilePreviewError: 'An error occurred while reading the file "{name}".',
|
|
|
43 |
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
|
|
44 |
msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.',
|
|
|
45 |
msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
|
|
|
46 |
msgFileTypes: {
|
|
|
47 |
'image': 'image',
|
|
|
48 |
'html': 'HTML',
|
|
|
49 |
'text': 'text',
|
|
|
50 |
'video': 'video',
|
|
|
51 |
'audio': 'audio',
|
|
|
52 |
'flash': 'flash',
|
|
|
53 |
'pdf': 'PDF',
|
|
|
54 |
'object': 'object'
|
|
|
55 |
},
|
|
|
56 |
msgUploadAborted: 'The file upload was aborted',
|
|
|
57 |
msgUploadThreshold: 'Processing …',
|
|
|
58 |
msgUploadBegin: 'Initializing …',
|
|
|
59 |
msgUploadEnd: 'Done',
|
|
|
60 |
msgUploadResume: 'Resuming upload …',
|
|
|
61 |
msgUploadEmpty: 'No valid data available for upload.',
|
|
|
62 |
msgUploadError: 'Upload Error',
|
|
|
63 |
msgDeleteError: 'Delete Error',
|
|
|
64 |
msgProgressError: 'Error',
|
|
|
65 |
msgValidationError: 'Validation Error',
|
|
|
66 |
msgLoading: 'Loading file {index} of {files} …',
|
|
|
67 |
msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
|
|
|
68 |
msgSelected: '{n} {files} selected',
|
|
|
69 |
msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
|
|
|
70 |
msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.',
|
|
|
71 |
msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.',
|
|
|
72 |
msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
|
|
|
73 |
msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
|
|
|
74 |
msgImageResizeError: 'Could not get the image dimensions to resize.',
|
|
|
75 |
msgImageResizeException: 'Error while resizing the image.<pre>{errors}</pre>',
|
|
|
76 |
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
|
|
77 |
msgAjaxProgressError: '{operation} failed',
|
|
|
78 |
msgDuplicateFile: 'File "{name}" of same size "{size} KB" has already been selected earlier. Skipping duplicate selection.',
|
|
|
79 |
msgResumableUploadRetriesExceeded: 'Upload aborted beyond <b>{max}</b> retries for file <b>{file}</b>! Error Details: <pre>{error}</pre>',
|
|
|
80 |
msgPendingTime: '{time} remaining',
|
|
|
81 |
msgCalculatingTime: 'calculating time remaining',
|
|
|
82 |
ajaxOperations: {
|
|
|
83 |
deleteThumb: 'file delete',
|
|
|
84 |
uploadThumb: 'file upload',
|
|
|
85 |
uploadBatch: 'batch file upload',
|
|
|
86 |
uploadExtra: 'form data upload'
|
|
|
87 |
},
|
|
|
88 |
dropZoneTitle: 'Drag & drop files here …',
|
|
|
89 |
dropZoneClickTitle: '<br>(or click to select {files})',
|
|
|
90 |
fileActionSettings: {
|
|
|
91 |
removeTitle: 'Remove file',
|
|
|
92 |
uploadTitle: 'Upload file',
|
|
|
93 |
uploadRetryTitle: 'Retry upload',
|
|
|
94 |
downloadTitle: 'Download file',
|
|
|
95 |
zoomTitle: 'View details',
|
|
|
96 |
dragTitle: 'Move / Rearrange',
|
|
|
97 |
indicatorNewTitle: 'Not uploaded yet',
|
|
|
98 |
indicatorSuccessTitle: 'Uploaded',
|
|
|
99 |
indicatorErrorTitle: 'Upload Error',
|
|
|
100 |
indicatorPausedTitle: 'Upload Paused',
|
|
|
101 |
indicatorLoadingTitle: 'Uploading …'
|
|
|
102 |
},
|
|
|
103 |
previewZoomButtonTitles: {
|
|
|
104 |
prev: 'View previous file',
|
|
|
105 |
next: 'View next file',
|
|
|
106 |
toggleheader: 'Toggle header',
|
|
|
107 |
fullscreen: 'Toggle full screen',
|
|
|
108 |
borderless: 'Toggle borderless mode',
|
|
|
109 |
close: 'Close detailed preview'
|
|
|
110 |
}
|
|
|
111 |
};
|
|
|
112 |
})(window.jQuery);
|