Init
This commit is contained in:
128
js/file/.github/CONTRIBUTING.md
vendored
Normal file
128
js/file/.github/CONTRIBUTING.md
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
Contributing to bootstrap-fileinput
|
||||
===================================
|
||||
Looking to contribute something to bootstrap-fileinput? **Here's how you can help.**
|
||||
|
||||
Please take a moment to review this document in order to make the contribution
|
||||
process easy and effective for everyone involved.
|
||||
|
||||
Following these guidelines helps to communicate that you respect the time of
|
||||
the developers managing and developing this open source project. In return,
|
||||
they should reciprocate that respect in addressing your issue or assessing
|
||||
patches and features.
|
||||
|
||||
Using the issue tracker
|
||||
-----------------------
|
||||
When [reporting bugs][reporting-bugs] or
|
||||
[requesting features][requesting-features], the
|
||||
[issue tracker on GitHub][issue-tracker] is the recommended channel to use.
|
||||
|
||||
The issue tracker **is not** a place for support requests. Refer the
|
||||
[plugin documentation](http://plugins.krajee.com/file-input),
|
||||
[plugin demos](http://plugins.krajee.com/file-input/demo), and / or refer to the
|
||||
[webtips Q & A forum](http://webtips.krajee.com/questions) which are the better places to get help.
|
||||
|
||||
Reporting bugs with bootstrap-fileinput
|
||||
---------------------------------------
|
||||
We really appreciate clear bug reports that _consistently_ show an issue
|
||||
_within bootstrap-fileinput_.
|
||||
|
||||
The ideal bug report follows these guidelines:
|
||||
|
||||
1. **Use the [GitHub issue search][issue-search]** — Check if the issue
|
||||
has already been reported.
|
||||
2. **Check if the issue has been fixed** — Try to reproduce the problem
|
||||
using the code in the `master` branch.
|
||||
3. **Isolate the problem** — Try to create an
|
||||
[isolated js fiddle][isolated-case] that consistently reproduces the problem.
|
||||
|
||||
Please try to be as detailed as possible in your bug report, especially if an
|
||||
isolated test case cannot be made. Some useful questions to include the answer
|
||||
to are:
|
||||
|
||||
- What steps can be used to reproduce the issue?
|
||||
- What is the bug and what is the expected outcome?
|
||||
- What browser(s) and Operating System have you tested with?
|
||||
- Does the bug happen consistently across all tested browsers?
|
||||
- What version of jQuery are you using? And what version of bootstrap-fileinput?
|
||||
- Are you using bootstrap-fileinput with other plugins?
|
||||
|
||||
All of these questions will help others fix and identify any potential bugs.
|
||||
|
||||
Requesting features in bootstrap-fileinput
|
||||
------------------------------------------
|
||||
Before starting work on a major feature for bootstrap-fileinput, **read the
|
||||
[documentation](http://plugins.krajee.com/file-input) first** or you may risk spending a considerable amount of
|
||||
time on something which the project developers are not interested in bringing into the project.
|
||||
|
||||
### Submitting a pull request
|
||||
|
||||
We use GitHub's pull request system for submitting patches. Here are some
|
||||
guidelines to follow when creating the pull request for your fix.
|
||||
|
||||
1. Make sure to create a ticket for your pull request. This will serve as the
|
||||
bug ticket, and any discussion about the bug will take place there. Your pull
|
||||
request will be focused on the specific changes that fix the bug.
|
||||
2. Make sure to reference the ticket you are fixing within your pull request.
|
||||
This will allow us to close off the ticket once we merge the pull request, or
|
||||
follow up on the ticket if there are any related blocking issues.
|
||||
3. Explain why the specific change was made. Not everyone who is reviewing your
|
||||
pull request will be familiar with the problem it is fixing.
|
||||
4. Run your tests first. If your tests aren't passing, the pull request won't
|
||||
be able to be merged. If you're breaking existing tests, make sure that you
|
||||
aren't causing any breaking changes.
|
||||
5. Only include source changes. While it's not required, only including changes
|
||||
from the `src` directory will prevent merge conflicts from occuring. Making
|
||||
this happen can be as a simple as not committing changes from the `dist`
|
||||
directory.
|
||||
|
||||
By following these steps, you will make it easier for your pull request to be
|
||||
reviewed and eventually merged.
|
||||
|
||||
Triaging issues and pull requests
|
||||
---------------------------------
|
||||
Anyone can help the project maintainers triage issues and review pull requests.
|
||||
|
||||
### Handling new issues
|
||||
|
||||
bootstrap-fileinput regularly receives new issues which need to be tested and organized.
|
||||
|
||||
When a new issue that comes in that is similar to another existing issue, it
|
||||
should be checked to make sure it is not a duplicate. Duplicates issues should
|
||||
be marked by replying to the issue with "Duplicate of #[issue number]" where
|
||||
`[issue number]` is the url or issue number for the existing issue. This will
|
||||
allow the project maintainers to quickly close off additional issues and keep
|
||||
the discussion focused within a single issue.
|
||||
|
||||
If you can test issues that are reported to bootstrap-fileinput that contain test cases and
|
||||
confirm under what conditions bugs happen, that will allow others to identify
|
||||
what causes a bug quicker.
|
||||
|
||||
### Reviewing pull requests
|
||||
|
||||
It is very common for pull requests to be opened for issues that contain a clear
|
||||
solution to the problem. These pull requests should be rigorously reviewed by
|
||||
the community before being accepted. If you are not sure about a piece of
|
||||
submitted code, or know of a better way to do something, do not hesitate to make
|
||||
a comment on the pull request.
|
||||
|
||||
### Reviving old tickets
|
||||
|
||||
If you come across tickets which have not been updated for a while, you are
|
||||
encouraged to revive them. While this can be as simple as saying `:+1:`, it is
|
||||
best if you can include more information on the issue. Common bugs and feature
|
||||
requests are more likely to be fixed, whether it is by the community or the
|
||||
developers, so keeping tickets up to date is encouraged.
|
||||
|
||||
Licensing
|
||||
---------
|
||||
|
||||
It should also be made clear that **all code contributed to bootstrap-fileinput** must be
|
||||
licensable under the [BSD-3 license][licensing]. Code that cannot be released
|
||||
under this license **cannot be accepted** into the project.
|
||||
|
||||
[isolated-case]: https://jsfiddle.net/
|
||||
[issue-search]: https://github.com/kartik-v/bootstrap-fileinput/search?q=&type=Issues
|
||||
[issue-tracker]: https://github.com/kartik-v/bootstrap-fileinput/issues
|
||||
[licensing]: https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
[reporting-bugs]: #reporting-bugs-with-bootstrap-fileinput
|
||||
[requesting-features]: #requesting-features-in-bootstrap-fileinput
|
||||
48
js/file/.github/ISSUE_TEMPLATE.md
vendored
Normal file
48
js/file/.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
## Prerequisites
|
||||
|
||||
- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
|
||||
- [ ] The issue still exists against the latest `master` branch of bootstrap-fileinput.
|
||||
- [ ] This is not an usage question. I confirm having read the plugin [documentation](http://plugins.krajee.com/file-input) and [demos](http://plugins.krajee.com/file-input/demo).
|
||||
- [ ] This is not a general programming / coding question. (Those should be directed to the [webtips Q & A forum](http://webtips.krajee.com/questions)).
|
||||
- [ ] I have attempted to find the simplest possible steps to reproduce the issue.
|
||||
- [ ] I have included a failing test as a pull request (Optional).
|
||||
|
||||
## Steps to reproduce the issue
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Expected behavior and actual behavior
|
||||
|
||||
When I follow those steps, I see...
|
||||
|
||||
I was expecting...
|
||||
|
||||
## Environment
|
||||
|
||||
Browsers
|
||||
|
||||
- [ ] Google Chrome
|
||||
- [ ] Mozilla Firefox
|
||||
- [ ] Internet Explorer
|
||||
- [ ] Safari
|
||||
|
||||
Operating System
|
||||
|
||||
- [ ] Windows
|
||||
- [ ] Mac OS X
|
||||
- [ ] Linux
|
||||
- [ ] Mobile
|
||||
|
||||
Libraries
|
||||
|
||||
- jQuery version:
|
||||
- bootstrap-fileinput version:
|
||||
|
||||
## Isolating the problem
|
||||
|
||||
- [ ] This bug happens [on the plugin demos page](http://plugins.krajee.com/file-input/demo)
|
||||
- [ ] The bug happens consistently across all tested browsers
|
||||
- [ ] This bug happens when using bootstrap-fileinput without other plugins
|
||||
- [ ] I can reproduce this bug in [a jsbin](https://jsbin.com/)
|
||||
16
js/file/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
16
js/file/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
## Scope
|
||||
This pull request includes a
|
||||
|
||||
- [ ] Bug fix
|
||||
- [ ] New feature
|
||||
- [ ] Translation
|
||||
|
||||
## Changes
|
||||
The following changes were made
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
|
||||
## Related Issues
|
||||
If this is related to an existing ticket, include a link to it as well.
|
||||
4
js/file/.gitignore
vendored
Normal file
4
js/file/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
nuget/content/
|
||||
nuget/bootstrap-fileinput.*.nupkg
|
||||
.DS_Store
|
||||
.idea
|
||||
938
js/file/CHANGE.md
Normal file
938
js/file/CHANGE.md
Normal file
@@ -0,0 +1,938 @@
|
||||
Change Log: `bootstrap-fileinput`
|
||||
=================================
|
||||
|
||||
## version 4.4.3 (_under development_)
|
||||
|
||||
**Date:** 28-Jun-2017
|
||||
|
||||
- (enh #1006): Update Farsi Translations.
|
||||
|
||||
## version 4.4.2
|
||||
|
||||
**Date:** 24-Jun-2017
|
||||
|
||||
- (enh #1005): Update Dutch Translations.
|
||||
- (enh #1004): New Krajee Explorer Font Awesome Theme.
|
||||
- (bug #995): Correct and fix image load jquery event triggering for browser cache scenarios.
|
||||
- (enh #991): Add Azerbaijan Translations.
|
||||
- (enh #990): Ability to hide thumbnail content (`hideThumbnailContent`) and display only file name/size.
|
||||
- (enh #989): Update Chinese Translations.
|
||||
- (enh #987): Zoom preview arrows orientation for RTL.
|
||||
- (enh #986): Image width parsing and styling enhancements.
|
||||
- (enh #985): Do not reset input when upload fails (single-upload mode).
|
||||
- (enh #981): Update Hungarian Translations.
|
||||
- (enh #977): Add RTL capability (new property `rtl` to be set) - includes new `fileinput-rtl.css` (to be loaded after `fileinput.css` for RTL styling).
|
||||
- (enh #973): Add SCSS image path variable and file-image alt style updates.
|
||||
|
||||
## version 4.4.1
|
||||
|
||||
**Date:** 25-May-2017
|
||||
|
||||
- (enh #980): Add new method `getFrames` to get all thumbnail frames as jQuery objects.
|
||||
- (enh #979): Add new method `getExif` to retrieve exif data for a selected jpeg image.
|
||||
- (enh #978, #974): Implement exif restoration for resized images via [`piexif` plugin](https://github.com/hMatoba/piexifjs).
|
||||
- (enh #968): Update Turkish Translations.
|
||||
- (enh #967): Correct file caption display for ajax upload mode when `showPreview` is `false`.
|
||||
|
||||
## version 4.4.0
|
||||
|
||||
**Date:** 13-May-2017
|
||||
|
||||
- (enh #966): Add Estonian Translations.
|
||||
- (enh #965): New `required` and `msgFileRequired` properties.
|
||||
- (bug #958): Create `setTokens` string helper for easier replacement of tokens.
|
||||
- (bug #956): Correct initial preview file thumb deletions.
|
||||
- (bug #955): Remove unnecessary `sourceMappingUrl` in `purify.min.js`.
|
||||
- (enh #954): Add minified theme assets.
|
||||
- (enh #952): Auto orientation of image based on EXIF data (new property `autoOrientImage`).
|
||||
- (enh #950, #930): Add responsive support for Krajee Explorer theme for mobile devices.
|
||||
- (enh #949): Sortable plugin enhancements and prevent scroll when dragging on mobile devices.
|
||||
- Chronological ordering of issues for change log.
|
||||
- (enh #947): Correct `showDelete` validation in `fileActionSettings`.
|
||||
- (enh #946): Enhance iconic preview validation to ignore extension case if possible.
|
||||
- (enh #944): Publish v4.3.9 release to NPM.
|
||||
- (enh #942): Enhance indicator and drag templates. New layout template `indicator`.
|
||||
- (enh #941): Correct `data-fileindex` validation.
|
||||
- (bug #940): Correct validation of `initialPreviewShowDelete`.
|
||||
- (enh #936): Enhance custom validation when ajax abort is triggered via event manipulation.
|
||||
- (enh #934): Update Russian translations.
|
||||
- (enh #929): Add Norwegian translations.
|
||||
- (enh #926): Add Galician translations and update Spanish translations.
|
||||
- (enh #924): Update Farsi Translations.
|
||||
- (enh #921): Enhance zoom preview slide-show to show loading indicator during image change.
|
||||
- (enh #920): Cancel ajax abort action more correctly.
|
||||
- (bug #919): Fix resize validation.
|
||||
- Parse all numeric properties correctly.
|
||||
- (enh #915): Update default styling for zoom preview for object.
|
||||
- (enh #910): New property `resizeIfMoreThan` to control image resize conditionally.
|
||||
- (bug #899): Fix multiple file selection for non-ajax scenario.
|
||||
- (enh #477): Enhance and correct IE10 fileinput click misbehavior.
|
||||
|
||||
## version 4.3.9
|
||||
|
||||
**Date:** 02-Apr-2017
|
||||
|
||||
- (enh #914): Update Portuguese BR translations.
|
||||
- (enh #913): Better id parsing and resetting of uploaded file thumbnails.
|
||||
- Enhance zoom preview styling for Krajee Explorer theme.
|
||||
- More correct validation of `allowedFileTypes` to accept null values.
|
||||
- (enh #909): Update German Translations.
|
||||
- (enh #906): Add Swedish Translations.
|
||||
- (enh #905): Prevent duplicate files to be dragged and dropped.
|
||||
- (enh #902): Enhance zoom preview styling for large height images.
|
||||
- (bug #900): Correct `overwriteInitial` validation for async batch uploads returning dynamic initial preview post upload.
|
||||
- (enh #898): New plugin method to get files in preview and config.
|
||||
- (enh #894, #895): Correct file size validation for empty files.
|
||||
- (bug #893): Correct `file-success-remove` event handling.
|
||||
- (bug #890): Fix doubling of images for async bulk uploads when initial preview is returned via ajax response.
|
||||
- Enhance uploaded thumb frames to not reset or change the frame identifier after successful upload.
|
||||
- (enh #887): New properties `msgUploadBegin` and `msgUploadEnd` to display a better progress status. The `layoutTemplates.progress` will support a new token `{status}`.
|
||||
- Enhance events like `fileclear` and `filepreajax` to be aborted via `event.preventDefault()`.
|
||||
- (enh #886): Append zoom modal dialog to `body` element if available to avoid multiple BS modals conflict.
|
||||
- (bug #885): Correct validation for `allowedFileTypes`.
|
||||
- (enh #875): Reset form based events more correctly to allow multiple bootstrap file inputs within forms.
|
||||
- (bug #882): Correct image resize validation.
|
||||
- (enh #881): Update Spanish Translations.
|
||||
- (enh #863): New plugin method `zoom` with parameter `frameId` to allow custom triggering of zoomed preview for each thumbnail frame.
|
||||
|
||||
## version 4.3.8
|
||||
|
||||
**Date:** 21-Feb-2017
|
||||
|
||||
- (enh #879): Update Russian Translations.
|
||||
- (enh #876): Update Spanish Translations.
|
||||
- (enh #874): Enhance/Standardize CSS Styles for Krajee Default Theme.
|
||||
- (bug #872): Correct typo in `bootstrap.min.css`.
|
||||
- (bug #870): Correct config.width parsing.
|
||||
|
||||
## version 4.3.7
|
||||
|
||||
**Date:** 11-Feb-2017
|
||||
|
||||
- (enh #862): Launch a brand new Krajee theme: `explorer`.
|
||||
- (enh #861): New properties within `layoutTemplates`.
|
||||
- (enh #860): Initialize template defaults in a better manner.
|
||||
- (enh #859): Enhance and revamp preview caching.
|
||||
- (enh #858): Thumb Frame CSS class as configurable property.
|
||||
- (enh #857): Default error handling for unknown ajax errors.
|
||||
- (enh #854): Better file size calculation and display.
|
||||
- (bug #852): Ensure `frameClass` setting in `initialPreviewConfig` is considered.
|
||||
- (enh #851): Create Kazakh Translations.
|
||||
- (enh #847): Update German Translations.
|
||||
- (enh #662, #725): Enhance preview modal to be appended to body before each zoom action (if `body` tag exists).
|
||||
- (enh #844): Display zoom preview navigation buttons only when multiple files exist.
|
||||
- (bug #839): Correct `initialPreview` generation and sortable behavior for async uploads.
|
||||
- (enh #837): Update Czech Translations.
|
||||
- (enh #835): Update Polish Translations.
|
||||
- (bug #834): Correct clearing of file preview including zoom cache.
|
||||
- (bug #833): Correct validation and defaults init for `allowedPreviewTypes`.
|
||||
- (enh #831): Update Finnish Translations.
|
||||
- (enh #828): Allow drag sort of single uploaded thumbnails with `initialPreview` config set (post upload).
|
||||
- (bug #826): Extend language configuration to consider defaults.
|
||||
- (bug #825): Correct `fileimagesresized` event triggering.
|
||||
- (enh #824): Add Korean Translations.
|
||||
- (enh #823): Correct file indices assignment during validation of images.
|
||||
- (enh #822): Enhancement for preventing upload when data is empty. New property `msgUploadEmpty` has been incorporated.
|
||||
- (enh #820): Prevent resize if image is smaller than allowed dimensions.
|
||||
- (bug #819): Correct init preview auto replace post `uploadSingle` action in thumbnails.
|
||||
- (enh #816): New property `msgFileTypes` to control descriptions/localizations of file types displayed.
|
||||
- (enh #815): Enhance parsing of thumbnails that are visible in preview (will allow plugin to be
|
||||
initialized in hidden containers like tabs).
|
||||
- (enh #812): Update Greek Translations.
|
||||
|
||||
## version 4.3.6
|
||||
|
||||
**Date:** 17-Dec-2016
|
||||
|
||||
- (enh #809): Various enhancements for preview control and iconic thumbnails.
|
||||
- add ability to control and render different previews for file thumbnails and zoomed preview content
|
||||
- new property `preferIconicPreview` will try to parse the `previewFileIconSettings` and `previewFileExtSettings` to automatically force iconic previews for file thumbnails.
|
||||
- new property `preferIconicZoomPreview` will try to parse the `previewFileIconSettings` and `previewFileExtSettings` to automatically force iconic previews in the zoomed content.
|
||||
- the above properties will be applied and parsed for `initialPreview` content as well.
|
||||
- (enh #804): Add Slovenian Translations.
|
||||
- (enh #803): Update Hungarian Translations.
|
||||
- (enh #802): Allow MOV files preview for supported devices and browsers.
|
||||
- (enh #800): Update Spanish Translations.
|
||||
- (enh #799): Fix IE memory issue on image load.
|
||||
- (enh #791): Auto orientation of images based on EXIF data.
|
||||
- (enh #788): New validation for minimum file size:
|
||||
- new property `minFileSize` which validates the minimum file size in KB for upload, else throws
|
||||
a validation error using `msgSizeTooSmall`. This defaults to `0`.
|
||||
- if `minFileSize` is set to `null`, then above validation is skipped and no minimum file size
|
||||
check is performed.
|
||||
- (enh #782): New validation for invalid slug file name (caption):
|
||||
- if slug callback returns an empty string, then an error will be thrown using `msgInvalidFileName`.
|
||||
- if slug callback returns `false` then the next file will be read and current file skipped.
|
||||
- (enh #779, #789): More correct thumbnail identification post rearrange.
|
||||
- (enh #769, #785, #786, #787): Better image resized event handling.
|
||||
- (enh #771): Update Chinese Translations.
|
||||
- (enh #764): Update Russian Translations.
|
||||
- (enh #696): Better default preview zoom settings.
|
||||
|
||||
## version 4.3.5
|
||||
|
||||
**Date:** 20-Sep-2016
|
||||
|
||||
- (bug #758): Correct file slug name parsing for an invalid file extension.
|
||||
- (bug #753): Correct IE11 file clear bug when using without ajax.
|
||||
- (enh #745): Update Russian Translations.
|
||||
- (enh #741): Update Vietnamese Translations.
|
||||
- (enh #736): Update Portugese Brazilian Translations.
|
||||
- (bug #734): Correct right parsing of `fileuploaded` event params.
|
||||
|
||||
## version 4.3.4
|
||||
|
||||
**Date:** 07-Aug-2016
|
||||
|
||||
- (enh #731): New method `getFilesCount` for returning upl + non-upl files count.
|
||||
- (enh #730): Correct Romanian Translations.
|
||||
- (enh #729): Implement `progressUploadThreshold` to show processing when waiting for server response.
|
||||
- (enh #728): Change sortable plugin name to avoid conflict with JUI Sortable.
|
||||
- (bug #722): Correctly concat ajax output in initial preview.
|
||||
- (enh #721): Update Turkish Translations.
|
||||
- (enh #719): Pass right `previewId` to `fileuploaded` event.
|
||||
- (enh #718): Update Japanese Translations.
|
||||
- (enh #715): Reset caption correctly on clear.
|
||||
- Add contribution templates.
|
||||
- (bug #710): Fix bug for `ifSet` validation.
|
||||
|
||||
## version 4.3.3
|
||||
|
||||
**Date:** 09-Jul-2016
|
||||
|
||||
- (enh #706): Remove invalid files from filestack correctly for validation errors.
|
||||
- (enh #704): Add grammatically correct "No files selected" message.
|
||||
- (enh #702): Add files to stack correctly for max & min preview size validation.
|
||||
- (bug #700): Fix custom preview icons to be displayed and validated correctly.
|
||||
- (enh #698): Re-enable drag and drop support for IE Edge.
|
||||
- (enh #695): Update Spanish Translations.
|
||||
- (enh #680): Populate filestack for files greater than maxFilePreviewSize.
|
||||
|
||||
## version 4.3.2
|
||||
|
||||
**Date:** 11-Jun-2016
|
||||
|
||||
- (enh #674): Organize all themes in a separate `themes` folder.
|
||||
- (enh #666): Update sortable draggable selector.
|
||||
- (enh #655): Include sass styling configuration.
|
||||
- (enh #654): Update Spanish Translations.
|
||||
- (enh #650, #676): Ability to configure browse button display and file select via zone click.
|
||||
- New boolean property `showBrowse` that allows you to control the display of the browse button
|
||||
- New boolean property `browseOnZoneClick` that allows you to select a file:
|
||||
- **for ajax uploads** - by clicking on the preview drag/drop zone
|
||||
- **for form based/non-ajax uploads** - by setting `defaultPreviewContent` and that will be clickable to browse files
|
||||
- New string message property `dropZoneClickTitle` that will be appended to the `dragZoneTitle` for ajax uploads when `browseOnZoneClick` is `true`.
|
||||
- New template `actionDrag` will be available within `layoutTemplates` to configure your drag indicator markup.
|
||||
- (enh #647): Display file size in previews and templates.
|
||||
- Enhancements to file preview icons (`other` template).
|
||||
- Simpler naming for files in locales and themes folders.
|
||||
- (enh #643):Implement rearranging / sorting functionality for initial preview.
|
||||
- Add ability to rearrange and sort thumbnails by drag & drop. This feature will use the [Sortable plugin](https://github.com/RubaXa/Sortable) which will be included in the `js/plugins` folder.
|
||||
- This feature will be available only for **initial preview thumbnails** for both ajax and form uploads.
|
||||
- New property for drag indicator and drag behavior configurations will be included in `fileActionSettings`:
|
||||
- `showDrag`
|
||||
- `dragIcon`
|
||||
- `dragClass`
|
||||
- `dragTitle`
|
||||
- `dragSettings`
|
||||
- (enh #642): Reorganize JS code into proper folders. Following folders will be added/maintained
|
||||
- `locales`: all translation JS files will be located here
|
||||
- `themes`: all theme JS files will be located here
|
||||
- `plugins`: third party JS plugins that will be used to work with bootstrap-fileinput
|
||||
- (enh #641): Wrap readFile(index + 1) in a function to prevent 'unsafe-eval' blocking with CSP.
|
||||
- (enh #640): Ability to theme and provide font awesome theme. New property `theme` added.
|
||||
- (enh #639): Add ability to just require package in nodejs
|
||||
- (enh #636): File action enhancements.
|
||||
- Zoom and Drag buttons will be shown as an additional file action buttons in addition to `upload` and `remove`
|
||||
- New boolean properties `showZoom`, `showDrag`, `showRemove`, `showUpload` are now added to `fileActionSettings` to control display of these buttons
|
||||
- New properties `zoomIcon`, `zoomClass`, `zoomTitle` are available within `fileActionSettings` for controlling the zoom button styles and display.
|
||||
- New properties `dragIcon`, `dragClass`, `dragTitle` are available within `fileActionSettings` for controlling the drag indicator styles and display.
|
||||
- New properties `actionZoom` and `actionDrag` are available within `layoutTemplates` to configure the markup of the zoom and drag buttons.
|
||||
- (enh #635): Various preview enhancements. Previews will be revamped with various functionality:
|
||||
- Add ability to zoom every thumbnail to a modal preview. So all types of files (images, videos, pdf, text etc) can be previewed in a larger zoom dialog window.
|
||||
- Automatic slideshow like interface for zoom preview modal. One can navigate left or right to view previous or next content in the preview. In addition to button navigation, keyboard navigation (via left/right arrow keys) is also available.
|
||||
- Borderless maximized mode and Full Screen mode available for preview.
|
||||
- Auto disable the previous or next button when the first or last file/image is reached.
|
||||
- Now `initialPreview` can be setup MORE easier without writing or returning entire markup. Thus the new functionality will enable to use built in `previewTemplates`.
|
||||
- A new boolean property `initialPreviewAsData` is available to control the above. If set to `true`, it will allow developers to now pass just the data within `initialPreview` (instead of complete markup) and the markup will be auto generated using `previewTemplates`.
|
||||
- New property `initialPreviewFileType` to set the default file type for initial preview. Defaults to `image`. Must be on of the keys in `fileTypeSettings`.
|
||||
- All the other settings can be controlled via `initialPreviewConfig`. The new properties available within `initialPreviewConfig` are:
|
||||
- `type`: Override `initialPreviewFileType` at global level and set a separate type for each file in the initial preview.
|
||||
- `previewAsData`: boolean property to override the `initialPreviewAsData` setting at global level
|
||||
- New zoom preview control buttons:
|
||||
- `prev`
|
||||
- `next`
|
||||
- `fullscreen`
|
||||
- `borderless`
|
||||
- `toggleheader`
|
||||
- `close`
|
||||
- The other new settings to control zoomed preview:
|
||||
- `previewZoomSettings`: Will allow to set the CSS style (e.g. width, height and other CSS style settings) for each zoomed content type (i.e. `image`, `pdf`, `video` etc.).
|
||||
- `previewZoomButtonIcons`: Ability to set the labels for previous, next, fullscreen, borderless, and close buttons.
|
||||
- `previewZoomButtonTitles`: Ability to set the titles for previous, next, fullscreen, borderless, and close buttons.
|
||||
- `previewZoomButtonClasses`: Ability to set the CSS classes for previous, next, fullscreen, borderless, and close buttons.
|
||||
- Modifications to all language locales JS for accomodating new translations
|
||||
- (enh #634): Enhance ability for PDF and HTML preview.
|
||||
- Enhanced PDF support as PDF embedding is now possible for `initialPreview`. In addition a new template for PDF is available within `previewTemplates`.
|
||||
- HTML Preview is enhanced with a better template. The plugin also now includes support for `DOMPurify` plugin (and available in plugins folder). This processes and cleans the HTML from XSS before previewing. This behavior can be controlled via `purifyHtml` property that defaults to `true`.
|
||||
- (enh #633): New property `maxFilePreviewSize` to control preview of large size files.
|
||||
- (enh #632): Find correct filename in IE9.
|
||||
- (enh #618): Update German Translations.
|
||||
- (enh #615): Correct Finnish Localizations.
|
||||
- (enh #605): Fixed previewCache tags reset.
|
||||
- (enh #604): Fixed unset method in deleting previewCache index.
|
||||
- (enh #600): Synchronize latest package on NuGet.
|
||||
- (bug #595): Correct initialization of `allowedPreviewTypes`.
|
||||
|
||||
## version 4.3.1
|
||||
|
||||
**Date:** 28-Feb-2016
|
||||
|
||||
- (bug #577): Better label spacing for default browse icon.
|
||||
- (bug #576): Correct previewCache initialization.
|
||||
- (enh #575): Implement public method chaining and update docs for methods.
|
||||
- (enh #574): Change naming convention for private / internal methods. Prepend internal plugin methods with underscore `_`.
|
||||
- (enh #573): Update package.json to include `peerDependencies`.
|
||||
- (enh #572): Add Finnish Translations.
|
||||
- (enh #567): New properties and improved messages.
|
||||
- (enh #565): Enhance progress bar display when upload is aborted or cancelled.
|
||||
- (enh #560): Update French Translations.
|
||||
- (enh #559): Allow custom error display styles (e.g. via bootstrap dialog) through these changes:
|
||||
- added `msg` param in `fileerror`, `fileuploaderror`, and `filefoldererror` events.
|
||||
- (enh #557): Enhance default file type parsing to intelligently not render unpreviewable content.
|
||||
- (enh #555): Set default value for `removeFromPreviewOnError` to `false`.
|
||||
- (enh #554): Update documentation and demos to include `webkitdirectory` for upload.
|
||||
- (enh #514): Set default value for `removeFromPreviewOnError` to `false`.
|
||||
|
||||
## version 4.3.0
|
||||
|
||||
**Date:** 25-Jan-2016
|
||||
|
||||
- (enh #550): Correct Drag and drop issue with v4.2.9.
|
||||
|
||||
## version 4.2.9
|
||||
|
||||
**Date:** 22-Jan-2016
|
||||
|
||||
- (enh #545): Refactor code to deep extend options correctly.
|
||||
- (enh #541): Improve default slug callback to accept most characters.
|
||||
- (enh #534, enh #535): Ability to remove errored file thumbnails via `removeFromPreviewOnError`.
|
||||
- (enh #531): Enhance/Fix typos of Arabic translation.
|
||||
- (enh #530): Error alert box and preview thumbnail styling enhancements.
|
||||
- (enh #523): Add new branch `sass` for `bootstrap-sass-official` support.
|
||||
- (enh #521): Update Dutch Translations.
|
||||
- (enh #489): Update documentation for `change` and `fileselect` events.
|
||||
|
||||
## version 4.2.8
|
||||
|
||||
**Date:** 18-Nov-2015
|
||||
|
||||
- (enh #494): Add Indonesian translations.
|
||||
- (enh #490): Fix `zh-TW` translation `browseLabel` wording.
|
||||
- (enh #488): Publish to npm.
|
||||
- (bug #483): Clear and reset native input after uploading each single file thumbnail.
|
||||
- (enh #481): Universal Module Definition for use with CommonJS, AMD or browser globals.
|
||||
- (enh #474): Upload via button within each preview thumbnail skips last file for async uploads.
|
||||
- (enh #477): Fix IE10 specific styling bug for file input block button.
|
||||
- (enh #465): Add Català translations.
|
||||
- (enh #462): Responsive buttons and new property `buttonLabelClass`.
|
||||
- (enh #460): Update CSS selectors prefix to start with `file`.
|
||||
- (enh #454): Update Turkish Translations.
|
||||
- (enh #449): Add Arabic Translations.
|
||||
- Implement package.json.
|
||||
- Update bootstrap bower version to support only 3.x variants.
|
||||
|
||||
## version 4.2.7
|
||||
|
||||
**Date**: 13-Sep-2015
|
||||
|
||||
- (bug #442); Enhance the filenames parsing in the filestack and slug conversion.
|
||||
- (enh #437): New property `defaultPreviewContent` to control a default preview.
|
||||
- (enh #436): New property `showClose` and new layout template `close` to control close icon display.
|
||||
- (enh #434): Added Japanese translations.
|
||||
- (enh #433): Added new events for image handling.
|
||||
- `fileimageloaded` (fires after each image is loaded in preview) - this is an existing event
|
||||
- `fileimagesloaded` (fires after all images are loaded in preview)
|
||||
- `fileimageresized` (fires after each image in preview is resized)
|
||||
- `fileimagesresized` (fires after all images in preview are resized)
|
||||
- `fileimageresizeerror` (fires when any image resize error is faced)
|
||||
- (enh #432): Send slugged file names with the file blob when uploading via ajax.
|
||||
- (enh #431): Add Danish locale translations.
|
||||
- (bug #429): Fix for MS Edge bug that does not support drag and drop.
|
||||
- (enh #428): Enhancements to asynchronous uploads when `showPreview` is `false`.
|
||||
- (enh #427): Add image resizing capability before upload.
|
||||
- (bug #420): Revamp file status progress and positioning updates for asynchronous upload.
|
||||
|
||||
## version 4.2.6
|
||||
|
||||
**Date**: 26-Aug-2015
|
||||
|
||||
- (enh #426): Enhancements to progress bar and display thumbnail specific progress.
|
||||
- (enh #413): Various updates to translations.
|
||||
- (enh #412): Enhancements to file upload cancellation.
|
||||
- (enh #410): Better validation for IE 10 and below.
|
||||
- (enh #405): Create traditional Chinese translations.
|
||||
- (enh #401): Various enhancements to preview file thumbnails and error validations.
|
||||
- (bug #398): Validate `data.errorkeys` more correctly.
|
||||
- (enh #393): Minor enhancements to abort events before upload.
|
||||
- (enh #392): Enhancements to allow using plugin functions directly.
|
||||
- (enh #391): Thumbnail styling enhancements for flash, html, and object types.
|
||||
- (enh #390): Thumbnail error display enhancements.
|
||||
- (enh #389): New templates and styling enhancements to caption and main buttons.
|
||||
- (enh #387): Reset `initialCaption` better when preview is cleared.
|
||||
- (enh #385): Updated Russian & Ukranian translations.
|
||||
- (enh #382): Better implementation for parsing text in `parseError` method.
|
||||
- Update translations to include `fileActionSettings`.
|
||||
- (enh #380, #381): Consistent styling for thumbnails.
|
||||
- (enh #379): Combine more translatable settings and update locale js files.
|
||||
- (enh #378): Ability to configure different icon thumbnails for preview files.
|
||||
- (enh #377): Various enhancements to text preview.
|
||||
- (enh #373): Default delete ajax request type to POST (instead of DELETE).
|
||||
|
||||
## version 4.2.5
|
||||
|
||||
**Date**: 27-Jul-2015
|
||||
|
||||
- (enh #372): Create new event `filepreajax`.
|
||||
- (enh #371): Ability to replace files in the preview. New `autoReplace` property.
|
||||
- (bug #370): Reverts #342 with better fix.
|
||||
- (enh #362): Add Bulgarian translations.
|
||||
|
||||
## version 4.2.4
|
||||
|
||||
**Date**: 22-Jul-2015
|
||||
|
||||
- (enh #358): Implement event namespaces and enhance event handling process.
|
||||
- (enh #357): Enhanced and better `refresh` method.
|
||||
- (enh #356): Implement `destroy` method.
|
||||
- (enh #351): Updates to Ukranian & Russian translations.
|
||||
- (enh #342): Add ability to modify extra data before ajax upload in `beforeSend` events.
|
||||
- (enh #340): Receive `previewId` and `index` in extra data for individual thumbnail uploads (ajax).
|
||||
|
||||
## version 4.2.3
|
||||
|
||||
**Date**: 21-Jun-2015
|
||||
|
||||
- (enh #336): Fixes to reset preview via `initUploadSuccess`.
|
||||
|
||||
## version 4.2.2
|
||||
|
||||
**Date**: 18-Jun-2015
|
||||
|
||||
- (enh #332): Bump nuget and bower package versions.
|
||||
|
||||
## version 4.2.1
|
||||
|
||||
**Date**: 15-Jun-2015
|
||||
|
||||
- (enh #330): Minor enhancements in validating preview and progress bar display.
|
||||
- (enh #329): Message translation updates.
|
||||
- (bug #328): Implement image dimension validations.
|
||||
- New properties added to the plugin:
|
||||
- `minImageWidth`
|
||||
- `minImageHeight`
|
||||
- `maxImageWidth`
|
||||
- `maxImageHeight`
|
||||
- `msgImageWidthSmall`
|
||||
- `msgImageHeightSmall`
|
||||
- `msgImageWidthLarge`
|
||||
- `msgImageHeightLarge`
|
||||
- (bug #327): More correct clearing of preview.
|
||||
- (bug #315): Fix parsing of preview settings for default (other) preview.
|
||||
- (bug #310): Set missing caption icon on error.
|
||||
- (enh #309): Fixes for older browsers.
|
||||
- (enh #308): Better check for `data.error` being empty.
|
||||
- (enh #307): Allow setting thumbnail frame css class and attributes via `initialPreviewConfig`.
|
||||
- (enh #305): Implement better cleanup of memory with `revokeObjectURL`.
|
||||
- (enh #303): Validate only files to be dragged and dropped.
|
||||
- (enh #302): Add Greek (el) translations.
|
||||
- (enh #299): Enhancements for displaying uploaded file thumbnails.
|
||||
- New property `showUploadedThumbs` that will display uploaded thumbnails until the remove/clear button is explicitly pressed.
|
||||
- New event `filesuccessremove`. This will be triggered on removing the uploaded thumbnail using the thumbnail delete button. The event shares the following parameters:
|
||||
- `id`: the HTML id attribute of the thumbnail container
|
||||
The `event` can be set to return `false` to abort the thumbnail removal.
|
||||
- (enh #297): Add Romanian translations.
|
||||
- (enh #296): Fixed license identifiers in bower.json and composer.json.
|
||||
- (bug #295): Validate `overwriteInitial` correctly for ajax uploads.
|
||||
- (enh #287): Add Brazilian Portugese (pt-BR) translations.
|
||||
- (enh #279, #280): Fixed error for failed response types.
|
||||
|
||||
## version 4.2.0
|
||||
|
||||
**Date**: 11-May-2015
|
||||
|
||||
- (enh #277): New `language` property to allow configuring multi lang widgets on same page.
|
||||
- (enh #275): Add Czech & Slovakian translations.
|
||||
|
||||
## version 4.1.9
|
||||
|
||||
**Date**: 02-May-2015
|
||||
|
||||
- (bug #273): Reset caption correctly after all initial preview is deleted.
|
||||
- (enh #271): Add Dutch translations.
|
||||
- (enh #270): Add Portugese translations.
|
||||
- (enh #269, #272): Add Turkish translations.
|
||||
- (enh #264): Validate input type of file before initializing plugin.
|
||||
- (enh #263): Enhance parsing of file preview thumbnails and actions.
|
||||
- (enh #259): Add Polish translations.
|
||||
- (enh #258): Enhance messages to include file plural and single.
|
||||
- (bug #257): Fix upload single to replace thumbs correctly.
|
||||
- (bug #253): Fix initial preview delete cache initialization.
|
||||
- (enh #252): Enhance async batch completion.
|
||||
- (enh #251): Add Italian localizations.
|
||||
- (enh #250): Change default slug routine to allow umlauts in filenames.
|
||||
- (bug #249): Fix error message content display.
|
||||
- (enh #248): keep chinese characters in file caption.
|
||||
- (bug #247): Correct mime types validation.
|
||||
- (enh #245): Allow initial caption to be set without initial preview.
|
||||
- (enh #244): Add Serbian translations.
|
||||
- (bug #243): Correct sending of `deleteExtraData`.
|
||||
- (enh #241): Enhancements to initial preview delete to perform validations before delete.
|
||||
- (bug #238): Correct initialization of plugin variables when other than maxFileCount & maxFileSize.
|
||||
- (enh #237): Better styling of file caption icon.
|
||||
- (enh #232): Update docs to reflect updated bootstrap CDN domain.
|
||||
|
||||
## version 4.1.8
|
||||
|
||||
**Date**: 30-Mar-2015
|
||||
|
||||
- (enh #230): More correct initial preview delete reset.
|
||||
- (enh #229): Created French translations.
|
||||
- (enh #228): Created Thai translations.
|
||||
- (enh #227): Created Ukranian translations and updated Russian translations.
|
||||
- (enh #226): Create Spanish (Latin American) translations.
|
||||
- (enh #225): Create Russian translations.
|
||||
- (enh #222): Enhance to include dynamically replaceable thumbnail tags. Two new properties `previewThumbTags` and `initialPreviewThumbTags` will be available for configuration.
|
||||
- (enh #218): Do not clear preview for ajaxuploads until remove button clicked.
|
||||
- (enh #217): Ensure `filebatchselected` event is triggered after FileReader completes reading files selected.
|
||||
- (enh #216): Add Hungarian Translations.
|
||||
- (enh #215): Set default delete method REST compliant.
|
||||
- (enh #213): Code cleanup, eliminate change event on clear and properly reset preview cache after ajax deletes.
|
||||
- (enh #212): Revamp preview to use a new preview caching object.
|
||||
- (enh #211): Add ability to show detailed server error stack via `showAjaxErrorDetails`.
|
||||
- (enh #209): Better validation for folder drag and drop and auto-skip any dropped folders. New property `msgFoldersNotAllowed` added to the plugin to allow configuring the message shown. The event `filefoldererror` is triggered when a folder is dragged.
|
||||
- (enh #206): Ability to add custom validation and trigger custom error to abort upload.
|
||||
- This enhancement will enable you to add your additional custom validations to enhance the fileinput to be used for innumerous scenarios. It will allow an ability to return an associative object with any of the fileinput events (except the error events and the `filebatchuploadsuccess` or `filebatchuploadcomplete`) e.g. `change`, `fileselect`, `filepreupload`, `filebatchpreupload` etc. The object can return the following keys:
|
||||
- `message`: _string_, the validation error message to be displayed before upload. If this is set the plugin will automatically abort the upload whenever called and display this as an error message. You can use this property for example to read a file and perform your own custom validation.
|
||||
- `data`: _object_, an optional associative array of additional data that you can pass for usage later.
|
||||
- You can get this data by reading `abortData` in the parameters for the new `filecustomerror` event. This new event will be triggered during upload, when you have triggered an abort from any of the other events.
|
||||
- (enh #205): Allow to auto set initialPreview within `filebatchuploadcomplete` & `filebatchuploadsuccess`.
|
||||
- Allows you to auto define the `initialPreview` and `initialPreviewConfig` after an ajax upload by returning these within the data object from your ajax response on `fileuploaded` & `filebatchuploadsuccess`.
|
||||
- (enh #204): New properties `fileMinCount` and `msgFilesTooLess` (useful to make file input mandatory).
|
||||
- The `fileMinCount` property will allow to set the minimum file count needed before triggering upload. It will work for both `ajax` uploads and `normal form based submission`.
|
||||
- This will enable you to set the file input to be a mandatory / required input. (e.g. `fileMinCount` = `1`). The `msgFilesTooLess` will be displayed and error raised.
|
||||
- If `fileMinCount` is set to `0` it will be treated as files are optional and no error will be triggered.
|
||||
- (enh #203): Enhancements and revamp of all error events.
|
||||
- fileerror
|
||||
- fileuploaderror
|
||||
- filebatchuploaderror
|
||||
- filedeleteerror
|
||||
- filefoldererror (new event - see #209)
|
||||
- filecustomerror (new event - see #206)
|
||||
- (enh #202): Ability to add Translations / Locales.
|
||||
- Identify and group all messages that need to be translated configurable via `$.fn.fileinput.locales['<lang-code>']`
|
||||
- Set default english messages configuration `$.fn.fileinput.locales['en']` within the plugin core code
|
||||
- Individual locale files need to be created as separate js files e.g. `<lang>.js`
|
||||
- (bug #193): Better validation for triggering `filebatchuploadcomplete` on async batch upload completion.
|
||||
- (enh #192): Ability to extend and add one's own ajax settings.
|
||||
- New property `ajaxDeleteSettings` to help extend and add to delete ajax settings.
|
||||
- `ajaxSettings` to help extend and add upload ajax settings
|
||||
- (enh #189): Reinitialize initial preview delete events correctly on file selection.
|
||||
- (enh #188): Clear fileinput more correctly for all browsers when initialPreview is set enhancement
|
||||
- (enh #187): New property `previewFileIcon` to configure file icon shown in preview for unreadable file types.
|
||||
- (enh #184): Fix documentation for filedeleted event.
|
||||
- (enh #183): Delete extra data enhancements.
|
||||
- (enh #181): Fix change event triggered for IE 11 when file input is set to empty.
|
||||
- (enh #179): Validate and cast `maxFileSize` and `maxFileCount` to numeric - even if they have been setup as a string.
|
||||
- (enh #178): Updated README for cancel button configuration.
|
||||
- (enh #177): Trigger filebatchpreupload if showPreview is `false`.
|
||||
- (enh #176): Wrong file in README installation steps fixed.
|
||||
- (enh #175): Ability to override delete extra data in `initialPreviewConfig`.
|
||||
- (enh #174): New `deleteUrl` property.
|
||||
- (enh #167, #173): New `deleteExtraData` property for ajax deletions.
|
||||
- (bug #171): Fix typo for files validation.
|
||||
|
||||
## version 4.1.7
|
||||
|
||||
**Date**: 13-Feb-2015
|
||||
|
||||
- Relocate sample files from examples directory to [bootstrap-fileinput-samples](https://github.com/kartik-v/bootstrap-fileinput-samples) repo.
|
||||
- Set copyright year to current.
|
||||
- (enh #162): New property ajaxSettings to allow configuring ajax params.
|
||||
- (bug #160): Correct documentation typo for usage.
|
||||
- (bug #159): Ensure filestack is passed correctly with `outData` for events.
|
||||
- (enh #157): Upload progress bar styling enhancements.
|
||||
- Allow upload progress bar css class to be configurable
|
||||
- Create and allow two different styles/css classes for progress bar
|
||||
- `progressClass`: styling for progress bar when upload is in process
|
||||
- `progressCompleteClass`: styling for progress bar when upload is complete
|
||||
- (enh #156): Fix reset of file stack for various upload modes (single, batch async and batch sync).
|
||||
- (enh #155): Allow display of long file names without spaces/word breaks.
|
||||
- (enh #154): Code cleanup and restructure for JS lint changes (using JSHint Code cleanup library).
|
||||
- (enh #153): Improve error handler for trapping FileReader security exceptions and new property `msgFileSecured` will display the security exception message.
|
||||
- (enh #152): New faster `replaceAll` method instead of regexp parsing to replace tags in templates.
|
||||
- (enh #151): New `filebatchselected` event triggered after every batch of files are selected.
|
||||
- (enh #149): Custom tags support for layoutTemplates and previewTemplates (new properties `customLayoutTags` and `customPreviewTags` included).
|
||||
|
||||
## version 4.1.6
|
||||
|
||||
**Date:** 20-Jan-2015
|
||||
|
||||
- (enh #139): Reset file stack correctly on ajax upload completion.
|
||||
- (enh #137): Trigger new events - `filedisabled` and `fileenabled`.
|
||||
- (enh #136):Create new upload method that can be called externally.
|
||||
- (enh #131): Allow empty values in extra data to be submitted.
|
||||
|
||||
## version 4.1.5
|
||||
|
||||
**Date:** 12-Jan-2015
|
||||
|
||||
- (enh #121): Animate progress bars by default for upload progress.
|
||||
- (bug #120): Correct multiple iterations of upload for async batch uploads.
|
||||
- (enh #119): Enhance caption to include ellipsis for long file names
|
||||
- (enh #116): Hide remove and upload buttons until unless file(s) are selected.
|
||||
- (enh #115): Autosize file caption responsively on window resize.
|
||||
- (bug #114): Prevent multiple file selection when using single file configuration.
|
||||
- (bug #113): Icon layout template undefined when using user template.
|
||||
- (bug #112): Fix undefined filestack for individual file upload within preview.
|
||||
- (enh #108): Add nuget package.
|
||||
- (enh #106): Enhance events for ajax requests and enable cancelling sync uploads
|
||||
- (enh #105): Expose current jqXHR object on ajax events.
|
||||
- (bug #104): Fix formdata not defined.
|
||||
- (bug #100, #101): Set right params for error thrown during reading of files.
|
||||
|
||||
## version 4.1.4
|
||||
|
||||
**Date:** 26-Dec-2014
|
||||
|
||||
- (bug #97): Reset events correctly with plugin refresh method.
|
||||
- (bug #95): Correct event off for drag & drop in plugin refresh method.
|
||||
- Code cleanup with reusable methods for event raising and outData generation.
|
||||
- (enh #93): Better styling of file upload icon indicators in thumbnails.
|
||||
- (enh #92): Realign event triggering timing for batch uploads to ensure outData is available.
|
||||
- (enh #91): Pass FileReader instance with outData in events.
|
||||
- (enh #90): New event `filebatchpreupload` for both synchronous and asynchronous batch uploads.
|
||||
- (enh #89): New `otherActionButtons` to allow adding customized initial preview content actions.
|
||||
- (enh #88): Allow uploadExtraData to be passed as a callback.
|
||||
|
||||
## version 4.1.3
|
||||
|
||||
**Date:** 20-Dec-2014
|
||||
|
||||
- (enh #87): More correct progress indicator percentage for asynchronous upload.
|
||||
- `filepreupload`
|
||||
- `fileuploaded`
|
||||
- `fileuploaderror`
|
||||
- `filebatchuploaderror`
|
||||
- `filebatchuploadsuccess`
|
||||
- `filebatchuploadcomplete`
|
||||
- (enh #86): Disable thumbnail action buttons when upload is in progress.
|
||||
- (enh #85): Combine output data as a single object, that is sent for various file upload events.
|
||||
|
||||
## version 4.1.2
|
||||
|
||||
**Date:** 19-Dec-2014
|
||||
|
||||
- (enh #81): Add new events:
|
||||
- `filebatchuploadsuccess`
|
||||
- `filebatchuploadcomplete`
|
||||
- (enh #80): Allow access to `uploadExtraData` and `responseData` to following events
|
||||
- `filepreupload`
|
||||
- `fileuploaded`
|
||||
- `fileuploaderror`
|
||||
- `filebatchuploaderror`
|
||||
- `filebatchuploadsuccess`
|
||||
- `filebatchuploadcomplete`
|
||||
- `filelock`
|
||||
- `fileunlock`
|
||||
|
||||
## version 4.1.1
|
||||
|
||||
**Date:** 18-Dec-2014
|
||||
|
||||
- (bug #78): Set uploadExtraData parameters to be correctly sent via POST.
|
||||
- (bug #76): Update filestack when `showPreview` is false.
|
||||
- (enh #58): Set a new property `textEncoding` for reading the text files with right encoding.
|
||||
|
||||
## version 4.1.0
|
||||
|
||||
**Date:** 17-Dec-2014
|
||||
|
||||
- (enh #75): Better validation of browser support for drag and drop.
|
||||
- (enh #74): Enhancements to file validation errors for both FORM and AJAX uploads.
|
||||
- For normal Form based uploads automatically disable the Upload button
|
||||
- Display a separate error styled thumbnail for the file that faced the validation error.
|
||||
- Reset errors correctly to overwrite files with a new change or drag/drop
|
||||
|
||||
## version 4.0.0
|
||||
|
||||
**Date:** 14-Dec-2014
|
||||
|
||||
- (bug #72): Fix bootstrap ## version constraint.
|
||||
- Renamed `initialDelimiter` to `initialPreviewDelimiter`
|
||||
- (enh #70): Version 4.0 enhancements.
|
||||
|
||||
### Version 4.0 Features
|
||||
|
||||
- Add functionality for AJAX based UPLOAD using HTML5 FormData (most modern browsers support it). Will degrade to normal Form Based File submission if this is not supported.
|
||||
- To use AJAX Upload, the `uploadUrl` property is MANDATORY and must be set.
|
||||
- Enhance plugin to now allow files to be added, appended, removed (based on FEEDBACK from many). Thus one can append files to preview.
|
||||
- New DRAG & DROP zone available in preview to drag and drop files and append.
|
||||
- Delete or upload files one by one OR in batch.
|
||||
- If `showPreview` is set to false, or uploadUrl is not supported plugin will degrade to normal form based upload.
|
||||
- Configurable indicators for file awaiting upload, file successfully uploaded, files errored in upload.
|
||||
- Ability to add extra form data with ajax based uploads.
|
||||
- Upload progress bar and individual thumbnail upload indicators.
|
||||
- Ability to cancel and abort ongoing AJAX uploads.
|
||||
- Templates have been revamped and enhanced for each file type.
|
||||
- Ensure plugin is still lean in size and optimized for performance inspite of the above features by optimally utilizing HTML5 & jquery features only.
|
||||
|
||||
### New properties added
|
||||
|
||||
- `showCancel`: shows a cancel button for aborting ajax uploads (defaults to `true`).
|
||||
- `cancelLabel`: label for the cancel button.
|
||||
- `cancelTitle`: title for the cancel button on hover.
|
||||
- `cancelIcon`: icon markup for the cancel button
|
||||
- `cancelClass`: CSS class for the cancel button.
|
||||
- `removeTitle`: title for the remove button on hover.
|
||||
- `uploadTitle`: title for the upload button on hover.
|
||||
- `uploadUrl`: the url that will be used to process AJAX based uploads (using FormData XHR2).
|
||||
- `uploadExtraData`: extra data that will be passed as data to the url/AJAX server call via POST
|
||||
- `uploadAsync`: whether the batch upload of multiple files will be asynchronous/in parallel. Defaults to `true`.
|
||||
- `initialPreviewShowDelete`: shows a delete button for each initial preview content's thumbnail (defaults to `true`).
|
||||
- `initialPreviewConfig`: configuration for setting up each `initialPreviewContent` item (associative array/object)
|
||||
- `caption`: The caption or filename to display for each initial preview item content.
|
||||
- `width`: The CSS width of the image/content displayed.
|
||||
- `url`: The URL for deleting the image/content via AJAX (shown only for `initialPreviewContent`).
|
||||
- `key`: The key that will be passed to the URL via POST (shown only for `initialPreviewContent`).
|
||||
- `dropZoneEnabled`: Enable a drag and drop zone for dragging files and is available only for ajax based uploads (defaults to `true`).
|
||||
- `dropZoneTitle`: Title to be displayed in the drag & drop zone.
|
||||
- `dropZoneTitleClass`: CSS class for the drag & drop zone title.
|
||||
- `fileActionSettings`: configuration for setting up actions for newly selected file thumbnails in the preview (associative array/object)
|
||||
- `removeIcon`: icon for remove button to be displayed in each file thumbnail.
|
||||
- `removeClass`: CSS class for the remove button in each file thumbnail.
|
||||
- `removeTitle`: title for remove button in each file thumbnail.
|
||||
- `uploadIcon`: icon for upload button to be displayed in each file thumbnail.
|
||||
- `uploadClass`: CSS class for the remove button in each file thumbnail.
|
||||
- `uploadTitle`: title for remove button in each file thumbnail.
|
||||
- `indicatorNew`: an indicator (HTML markup) for new pending upload displayed in each file thumbnail.
|
||||
- `indicatorSuccess`: an indicator (HTML markup) for successful upload displayed in each file thumbnail.
|
||||
- `indicatorError`: an indicator (HTML markup) for error in upload displayed in each file thumbnail.
|
||||
- `indicatorLoading`: an indicator (HTML markup) for ongoing upload displayed in each file thumbnail.
|
||||
- `indicatorNewTitle`: title to display on hover of indicator for new pending upload in each file thumbnail.
|
||||
- `indicatorSuccessTitle`: title to display on hover of indicator for successful in each file thumbnail.
|
||||
- `indicatorErrorTitle`: title to display on hover of indicator for error in upload in each file thumbnail.
|
||||
- `indicatorLoadingTitle`: title to display on hover of indicator for ongoing upload in each file thumbnail.
|
||||
|
||||
## version 3.0.0
|
||||
|
||||
**Date:** 08-Dec-2014
|
||||
|
||||
- (bug #68): Fix refresh method of the fileinput to trigger change correctly.
|
||||
- (enh #67): Enhance support for IE browsers
|
||||
- Add specific validations for parsing IE versions rightly
|
||||
- Enhance plugin to extend styling support to IE 9 (with the limitation that IE 9 does not support HTML 5 features like multiple file upload)
|
||||
- Fix clearing of file input rightly for IE 9 & IE 10
|
||||
- Degrade plugin automatically to a native file input for older IE versions
|
||||
- Prevent change method firing twice when file is cleared after error is encountered in IE 11.
|
||||
- (enh #65): Correct validation of `refreshPreview` using `updateFileDetails`.
|
||||
- (enh #64): Add ability to override the slug method with a `slugCallback` property.
|
||||
- (bug #61): Refresh preview to show errors correctly after each file is validated.
|
||||
- (enh #60): Enhance upload button for disable/enable when used with `<a>` tag.
|
||||
|
||||
## version 2.9.0
|
||||
|
||||
**Date:** 23-Nov-2014
|
||||
|
||||
- (enh #56): Trigger new events `filebrowse` and `fileselectnone`.
|
||||
- (enh #55): Clear the files when file browse dialog is cancelled only if the browser clears the native file input.
|
||||
- (enh #53): Validations and events for right reset of files when browse button is clicked.
|
||||
|
||||
## version 2.8.0
|
||||
|
||||
**Date:** 13-Nov-2014
|
||||
|
||||
- (enh #52): Raise new `fileimageloaded` event.
|
||||
- (enh #51): Autosize preview images when they exceed the size of the preview container.
|
||||
- (enh #50): Dynamically auto size file captions for long file names exceeding container width. New property `autoFitCaption`
|
||||
is added which defaults to `true`. When this is `true` the plugin will auto fit caption text within the container dynamically
|
||||
and responsively based on window size.
|
||||
|
||||
## version 2.7.0
|
||||
|
||||
**Date:** 11-Nov-2014
|
||||
|
||||
- (enh #49): Set image preview dimensions to auto fit and center
|
||||
- (enh #48): Trigger `fileloaded` event when `showPreview` is `false`.
|
||||
- Set release to stable in composer.json.
|
||||
|
||||
## version 2.6.0
|
||||
|
||||
**Date:** 15-Oct-2014
|
||||
|
||||
- (bug #44): Browser IE10 hangs on file clear.
|
||||
- (bug #43): Validate special characters in filename before generating caption.
|
||||
- (enh #42): Enhance plugin to configure the `elErrorContainer` for displaying validation errors.
|
||||
- Templatize errorContainer for display within the preview window.
|
||||
- (bug #40): More correct fix for IE (ver < 11) inability to clear fileinput values.
|
||||
|
||||
## version 2.5.0
|
||||
|
||||
**Date:** 09-Oct-2014
|
||||
|
||||
- (bug #40): Fix IE (ver < 11) inability to clear fileinput values.
|
||||
- (bug #39): HTML encode caption hover title.
|
||||
- (enh #38): Highlight error CSS in file caption on validation error.
|
||||
- (bug #37): HTML encode text content for preview in modal.
|
||||
- (enh #36): New feature. Validation routine for checking allowed file types and extensions.
|
||||
|
||||
## version 2.4.0
|
||||
|
||||
**Date:** 20-Sep-2014
|
||||
|
||||
- (enh #33): Better text format validation and correct modal preview.
|
||||
- (enh #32): Added checks for file api support.
|
||||
- (enh #31): Better control and configuration of preview templates.
|
||||
- (enh #30): Enhanced generic support for more preview formats (audio, video, html, flash, and other objects).
|
||||
|
||||
> **Note:** There are BC Breaking Changes with release v2.4.0.
|
||||
|
||||
With release v2.4.0, the plugin has been revamped to support and configure a wide variety of file formats for preview. This may break some
|
||||
backward compatibility (BC) for older versions that use custom templates.
|
||||
|
||||
The following are the major changes with release v2.4.0:
|
||||
|
||||
- Plugin has been revamped to build preview intelligence based on various file preview types. The inbuilt file support types are categorized as
|
||||
`image`, `text`, `html`, `video`, `audio`, `flash`, `object`, and `other`.
|
||||
- `allowedPreviewTypes`: You can now configure which all file types are allowed to be shown as a preview. This defaults to `['image', 'html', 'text', 'video', 'audio', 'flash', 'object']`.
|
||||
Thus all file types are treated as an object to preview by default. For exampleTo preview only `image` and `video`, you can set this to `['image', 'video']`.
|
||||
- `allowedPreviewMimeTypes`: In addition to `allowedPreviewTypes`, you can also control which all mime types can be displayed for preview. This defaults to null,
|
||||
meaning all mime types are supported.
|
||||
- `layoutTemplates`: Allows you to configure all layout template settings within one property. The layout objects that can be configured are: `main1`, `main2`,
|
||||
`preview`, `caption`, and `modal`.
|
||||
- `previewTemplates`: All preview templates for **each preview type** have been combined into one property, instead of separate templates for image, text etc.
|
||||
The keys are the formats as set in `allowedPreviewTypes` and values are the templates used for previewing. There are default prebuilt templates for each
|
||||
preview file type (`generic`, `image`, `text`, `html`, `video`, `audio`, `flash`, `object`, and `other`). The `generic` template is used only for displaying
|
||||
`initialPreview` content using direct markup.
|
||||
- `previewSettings`: Allows you to configure width and height for each preview image type. The plugin has default widths and heights predefined for each type i.e
|
||||
`image`, `text`, `html`, `video`, `audio`, `flash`, and `object`.
|
||||
- `fileTypeSettings`: Allows you to configure and identify each preview file type using a callback. The plugin has default callbacks predefined to identify each type i.e
|
||||
`image`, `text`, `html`, `video`, `audio`, `flash`, and `object`.
|
||||
- Replacing tags within templates has been enhanced. With this release it will automatically check for multiple occurrences of each tag to replace within a template string.
|
||||
|
||||
> NOTE: Flash preview will require Shockwave flash to be installed and supported by the client browser. The flash preview currently works successfully with webkit browsers only. Video & Audio formats are however supported by all modern browsers
|
||||
that support the HTML5 `video`/`audio` tags. Note that browsers have limited number of video/audio formats supported by the HTML5 video element (e.g. mp4, webm, ogg, mp3, wav). The size of video files are recommended to be small (to be controlled
|
||||
through `maxFileSize` property) so that it does not affect the preview performance. You can copy a few files from the `examples` directory of this plugin repo, to test a few examples of flash and video files.
|
||||
|
||||
## version 2.3.0
|
||||
|
||||
**Date:** 19-Sep-2014
|
||||
|
||||
- Better replacement of tags in templates. Replaces all tag occurences with this new release.
|
||||
- (enh #28, #29): Added support for previewing flash and video files.
|
||||
|
||||
## version 2.2.0
|
||||
|
||||
**Date:** 19-Aug-2014
|
||||
|
||||
- (enh #25): Graceful degrade to normal file input for older browsers (including previous versions of Safari).
|
||||
- (enh #24): Update readAsBinaryString to readAsArrayBuffer
|
||||
|
||||
## version 2.1.0
|
||||
|
||||
**Date:** 11-Aug-2014
|
||||
|
||||
- Other minor bug fixes.
|
||||
- (enh #22): Enhance file caption message display for validation errors.
|
||||
- (enh #21): Enhance loading progress message and message templates for multiple file uploads.
|
||||
- (enh #21): Enhance multiple file upload and preview performance using setTimeout.
|
||||
- (enh #20): Fix `fileloaded` event to increment `previewId` and enhance to return file index.
|
||||
- (enh #19): Synchronize preview with file browse dialog behavior, when cancel button is pressed in file dialog window.
|
||||
- (enh #18): Better validation for older browsers (not supporting HTML5) to degrade to normal file input.
|
||||
- Enhanced plugin to improve browser performance when loading and previewing multiple image files.
|
||||
- New configurable error messages added: `msgFilesTooMany`, `msgFileNotFound`, `msgFileNotReadable`, `msgFilePreviewAborted`, and `msgFilePreviewError`.
|
||||
- New configuration property added: `maxFilesCount`. Defaults to `0` which means unlimited.
|
||||
- (enh #16, #17): Added exception handling for trapping FileReader API errors
|
||||
|
||||
## version 2.0.0
|
||||
|
||||
**Date:** 25-Jul-2014
|
||||
|
||||
- Added delimiter option for `initialPreview` to pass multiple content delimited as a string.
|
||||
- Automatic scale images for preview, when images are too wide to fit in container.
|
||||
- Correct calculation of files selected when `initPreview` is false.
|
||||
- Make caption text configurable through a new parameter `msgSelected`.
|
||||
- Enhanced configurable templates for previewing image, text, and other files (and a generic template).
|
||||
- New plugin methods added: `disable`, `enable`
|
||||
- New plugin events added: `fileerror`, `fileloaded`, `filecleared`.
|
||||
- (enh #15): Enhanced validation of file size through `maxFileSize` configuration.
|
||||
- (enh #12, #13, #14): Various enhancements and fixes.
|
||||
|
||||
## version 1.9.0
|
||||
|
||||
**Date:** 21-Jul-2014
|
||||
|
||||
- (enh #10): Ability to display initial caption, when initialPreview is false.
|
||||
- (enh #9): Enhanced caption template and styling for captions to prevent overflow of long file names out of the caption container.
|
||||
|
||||
## version 1.8.0
|
||||
|
||||
**Date:** 15-Jul-2014
|
||||
|
||||
- (enh #9): Enhanced caption template and styling for captions to prevent overflow of long file names out of the caption container.
|
||||
|
||||
## version 1.7.0
|
||||
|
||||
**Date:** 02-Jul-2014
|
||||
|
||||
- The plugin now offers an additional `overwriteInitial` option. This is by default set to `true`, whereby, any `initialPreview`
|
||||
content set will be overwritten, when new file is uploaded or when files are cleared. Setting it to `false` will help displaying
|
||||
a saved image or file from database always - useful especially when using the `multiple` file upload feature.
|
||||
|
||||
## version 1.6.0
|
||||
|
||||
**Date:** 03-Jun-2014
|
||||
|
||||
- The plugin now offers an additional `refresh` method. This enables you to dynamically change element attributes or plugin options
|
||||
at runtime and refresh the widget.
|
||||
|
||||
## version 1.5.0
|
||||
|
||||
**Date:** 23-May-2014
|
||||
|
||||
- The plugin now offers an option to display initial preview of images/text/other files. This is useful
|
||||
for record update scenarios. This can be a single image/file or an array of images/files.
|
||||
- Extending to the above feature, the plugin also allows you to set a preview caption for the initial preview field.
|
||||
- The following element identifiers need to be passed as a string like '#id' instead of a JQuery object:
|
||||
- elCaptionContainer
|
||||
- elCaptionText
|
||||
- elPreviewContainer
|
||||
- elPreviewImage
|
||||
- elPreviewStatus
|
||||
|
||||
## version 1.0.0
|
||||
|
||||
**Date:** 01-Jan-2014
|
||||
|
||||
Initial release. The following features are included in this release:
|
||||
|
||||
- The plugin will convert a simple HTML file input to an advanced file picker control. Will help fallback to a file input for browsers not supporting JQuery or Javascript.
|
||||
- The file input consists of the following three sections with options and templates to control the display:
|
||||
- file caption section: to display a brief information of the file(s) selected
|
||||
- file action buttons section: to browse, remove, and upload files.
|
||||
- file preview section: to display the selected files on client for preview (supports images and text file types). Other file types will be displayed as normal thumbnails.
|
||||
- The plugin automatically converts an input with `type = file` to an advanced file picker input if you set its `class = file`. All options to the input can be passed as HTML5 `data` attributes.
|
||||
- Ability to select and preview multiple files. Uses HTML 5 File reader API to read and preview files. Displays the progress of files being being loaded onto the preview zone, in case many files are chosen.
|
||||
- Offers predefined templates and CSS classes which can be changed to style your file-input display as per your needs.
|
||||
- Option to show/hide any or all of the following:
|
||||
- caption section
|
||||
- preview section
|
||||
- upload button
|
||||
- remove button
|
||||
- Customise the location of the target container elements to display the entire plugin, the caption container, the caption text, the preview container, preview image, and preview status.
|
||||
- For text file previews, autowrap the text to the thumbnail width, and show a wrap indicator link to display complete text on hover. You can customize the wrap indicator (which defaults to …).
|
||||
- Customise the messages for preview, progress, and files selected.
|
||||
- Upload action defaults to form submit. Supports an upload route/server action parameter for custom ajax based upload.
|
||||
- Triggers JQuery events for advanced development. Events currently available are `filereset` and `fileclear`.
|
||||
- Disabled and readonly file input support.
|
||||
- Size of the entire plugin is less than 11KB (about 9KB for the minified JS and 2KB for the minified CSS).
|
||||
28
js/file/LICENSE.md
Normal file
28
js/file/LICENSE.md
Normal file
@@ -0,0 +1,28 @@
|
||||
Copyright (c) 2014 - 2017, Kartik Visweswaran
|
||||
Krajee.com
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
|
||||
* Neither the names of Kartik Visweswaran or Krajee nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
116
js/file/README.md
Normal file
116
js/file/README.md
Normal file
@@ -0,0 +1,116 @@
|
||||
bootstrap-fileinput
|
||||
===================
|
||||
|
||||
[](http://badge.fury.io/bo/bootstrap-fileinput)
|
||||
[](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
|
||||
[](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
|
||||
[](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
|
||||
[](https://packagist.org/packages/kartik-v/bootstrap-fileinput)
|
||||
|
||||
An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more. The plugin allows you a simple way to setup an advanced file picker/upload control built to work specially with Bootstrap CSS3 styles. It enhances the file input functionality further, by offering support to preview a wide variety of files i.e. images, text, html, video, audio, flash, and objects. In addition, it includes AJAX based uploads, dragging & dropping files, viewing upload progress, and selectively previewing, adding, or deleting files.
|
||||
|
||||

|
||||
|
||||
> NOTE: An alternative new [Krajee Explorer Theme](http://plugins.krajee.com/file-krajee-explorer-demo) (preview shown below) for `bootstrap-fileinput` has been released and available since v4.3.7. For more theming options and suggestions refer the [theming demos](http://plugins.krajee.com/file-theme-demo).
|
||||
|
||||

|
||||
|
||||
## Documentation and Demo
|
||||
|
||||
View the [plugin documentation](http://plugins.krajee.com/file-input) and [plugin demos](http://plugins.krajee.com/file-input/demo) at Krajee JQuery plugins.
|
||||
|
||||
## Pre-requisites
|
||||
|
||||
1. [Bootstrap 3.x](http://getbootstrap.com/)
|
||||
2. Latest [JQuery](http://jquery.com/)
|
||||
3. Most modern browsers supporting HTML5 (inputs and FileReader API) including CSS3 & JQuery. For Internet Explorer, one must use IE versions 10 and above. IE9 and below will work as a normal file input, and will not support multiple file selection or the HTML 5 FileReader API.
|
||||
4. With release 4.0, AJAX uploads are supported. AJAX uploads require that the browser support HTML5 FormData and XHR2 (XMLHttpRequest 2). Most modern browsers support FormData and XHR2. The plugin will automatically degrade to normal form based submission for browsers not supporting AJAX uploads
|
||||
|
||||
> NOTE:
|
||||
> - The latest version of the plugin is v4.4.3 (under development). Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
|
||||
> - You can use the [sass branch](https://github.com/kartik-v/bootstrap-fileinput/tree/sass) for installation using `bootstrap-sass` dependency.
|
||||
The [master branch](https://github.com/kartik-v/bootstrap-fileinput/tree/master) can be used for installation using plain `bootstrap` dependency.
|
||||
|
||||
## Installation
|
||||
|
||||
### Using Bower
|
||||
You can use the `bower` package manager to install. Run:
|
||||
|
||||
bower install bootstrap-fileinput
|
||||
|
||||
### Using Composer
|
||||
You can use the `composer` package manager to install. Either run:
|
||||
|
||||
$ php composer.phar require kartik-v/bootstrap-fileinput "@dev"
|
||||
|
||||
or add:
|
||||
|
||||
"kartik-v/bootstrap-fileinput": "@dev"
|
||||
|
||||
to your composer.json file
|
||||
|
||||
### Manual Install
|
||||
|
||||
You can also manually install the plugin easily to your project. Just download the source [ZIP](https://github.com/kartik-v/bootstrap-fileinput/zipball/master) or [TAR ball](https://github.com/kartik-v/bootstrap-fileinput/tarball/master) and extract the plugin assets (css and js folders) into your project.
|
||||
|
||||
## Usage
|
||||
|
||||
Step 1: Load the following assets in your header.
|
||||
|
||||
```html
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="path/to/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- piexif.min.js is only needed if you wish to resize images before upload to restore exif data.
|
||||
This must be loaded before fileinput.min.js -->
|
||||
<script src="path/to/js/plugins/piexif.min.js" type="text/javascript"></script>
|
||||
<!-- sortable.min.js is only needed if you wish to sort / rearrange files in initial preview.
|
||||
This must be loaded before fileinput.min.js -->
|
||||
<script src="path/to/js/plugins/sortable.min.js" type="text/javascript"></script>
|
||||
<!-- purify.min.js is only needed if you wish to purify HTML content in your preview for HTML files.
|
||||
This must be loaded before fileinput.min.js -->
|
||||
<script src="path/to/js/plugins/purify.min.js" type="text/javascript"></script>
|
||||
<!-- the main fileinput plugin file -->
|
||||
<script src="path/to/js/fileinput.min.js"></script>
|
||||
<!-- bootstrap.js below is needed if you wish to zoom and view file content
|
||||
in a larger detailed modal dialog -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- optionally if you need a theme like font awesome theme you can include
|
||||
it as mentioned below -->
|
||||
<script src="path/to/themes/fa/theme.js"></script>
|
||||
<!-- optionally if you need translation for your language then include
|
||||
locale file as mentioned below -->
|
||||
<script src="path/to/js/locales/<lang>.js"></script>
|
||||
```
|
||||
|
||||
If you noticed, you need to load the `jquery.min.js` and `bootstrap.min.css` in addition to the `fileinput.min.css` and `fileinput.min.js`. The theme file `themes/fa/theme.js` can be optionally included for the font awesome icons styling. The locale file `<lang>.js` can be optionally included for translating for your language if needed.
|
||||
|
||||
**Optional Dependent Plugins**
|
||||
|
||||
- The `piexif.min.js` file is the source for the [Piexifjs plugin by hMatoba](https://github.com/hMatoba/piexifjs). It is required to be loaded before `fileinput.min.js` if you wish to use the image resize feature of the **bootstrap-fileinput** plugin.
|
||||
- The `sortable.min.js` file is the source for the [Sortable plugin by rubaxa](https://github.com/rubaxa/Sortable). It is required to be loaded before `fileinput.min.js` if you wish to sort the thumbnails in the initial preview.
|
||||
- The `purify.min.js` file is the source for the [DomPurify plugin by cure53](https://github.com/cure53/DOMPurify). It is required to be loaded before `fileinput.min.js` if you wish to purify your HTML for HTML content preview.
|
||||
|
||||
For ease of access, the sources for the above plugins are included in the `js/plugins` folder of this project repository.
|
||||
|
||||
Step 2: Initialize the plugin on your page. For example,
|
||||
|
||||
```js
|
||||
// initialize with defaults
|
||||
$("#input-id").fileinput();
|
||||
|
||||
// with plugin options
|
||||
$("#input-id").fileinput({'showUpload':false, 'previewFileType':'any'});
|
||||
```
|
||||
|
||||
The `#input-id` is the identifier for the input (e.g. `type = file`) on your page, which is hidden automatically by the plugin.
|
||||
|
||||
Alternatively, you can directly call the plugin options by setting data attributes to your input field.
|
||||
|
||||
```html
|
||||
<input id="input-id" type="file" class="file" data-preview-file-type="text" >
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
**bootstrap-fileinput** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.
|
||||
40
js/file/bower.json
Normal file
40
js/file/bower.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "bootstrap-fileinput",
|
||||
"version": "4.4.3",
|
||||
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
|
||||
"authors": [
|
||||
"Kartik Visweswaran <kartikv2@gmail.com>"
|
||||
],
|
||||
"description": "An enhanced HTML 5 file input for Bootstrap 3.x with file preview, multiple selection, ajax uploads, and more features.",
|
||||
"main": [
|
||||
"./css/fileinput.min.css",
|
||||
"./js/fileinput.min.js"
|
||||
],
|
||||
"keywords": [
|
||||
"bootstrap",
|
||||
"file",
|
||||
"input",
|
||||
"preview",
|
||||
"image",
|
||||
"upload",
|
||||
"ajax",
|
||||
"multiple",
|
||||
"delete",
|
||||
"progress",
|
||||
"gallery"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">= 1.9.0",
|
||||
"bootstrap": "~3"
|
||||
},
|
||||
"license": "BSD-3-Clause",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"composer.json",
|
||||
"examples",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests"
|
||||
]
|
||||
}
|
||||
24
js/file/composer.json
Normal file
24
js/file/composer.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "kartik-v/bootstrap-fileinput",
|
||||
"description": "An enhanced HTML 5 file input for Bootstrap 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.",
|
||||
"keywords": ["bootstrap", "jquery", "file", "input", "preview", "upload", "image", "multiple", "ajax", "delete", "progress"],
|
||||
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
|
||||
"license": "BSD-3-Clause",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Kartik Visweswaran",
|
||||
"email": "kartikv2@gmail.com",
|
||||
"homepage": "http://www.krajee.com/"
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"kartik\\plugins\\fileinput\\": ""
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "4.4.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
121
js/file/css/fileinput-rtl.css
Normal file
121
js/file/css/fileinput-rtl.css
Normal file
@@ -0,0 +1,121 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
.kv-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.kv-rtl .close {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.kv-rtl .input-group-btn:last-child >.btn {
|
||||
border-top-right-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
border-top-left-radius: 4px !important;
|
||||
border-bottom-left-radius: 4px !important;
|
||||
|
||||
}
|
||||
|
||||
.kv-rtl .input-group .form-control:first-child {
|
||||
border-top-right-radius: 4px !important;
|
||||
border-bottom-right-radius: 4px !important;
|
||||
border-top-left-radius: 0px !important;
|
||||
border-bottom-left-radius: 0px !important;
|
||||
|
||||
}
|
||||
|
||||
.kv-rtl .file-loading {
|
||||
right: auto;
|
||||
left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.kv-rtl .btn-file input[type=file] {
|
||||
right: auto;
|
||||
left: 0;
|
||||
text-align: left;
|
||||
background: none repeat scroll 100% 0 transparent;
|
||||
}
|
||||
|
||||
.kv-rtl .file-zoom-dialog {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.kv-rtl .file-error-message pre,
|
||||
.kv-rtl .file-error-message ul {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default.file-preview-frame {
|
||||
box-shadow: -1px 1px 5px 0 #a2958a;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover {
|
||||
box-shadow: -3px 3px 5px 0 #333;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default .file-actions,
|
||||
.kv-rtl .krajee-default .file-other-error {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default .file-footer-buttons {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.kv-rtl .krajee-default .file-drag-handle,
|
||||
.kv-rtl .krajee-default .file-upload-indicator {
|
||||
left: auto;
|
||||
right: -6px;
|
||||
padding: 8px 3px 1px 8px;
|
||||
border-top-left-radius: 24px;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
.kv-rtl .file-drop-zone {
|
||||
margin: 12px 12px 12px 15px;
|
||||
}
|
||||
|
||||
.kv-rtl .floating-buttons {
|
||||
left: 10px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.kv-rtl .kv-zoom-actions .btn,
|
||||
.kv-rtl .floating-buttons .btn {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.kv-rtl .btn-prev {
|
||||
right: 1px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.kv-rtl .btn-next {
|
||||
left: 1px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.kv-rtl .pull-right {
|
||||
float: left!important;
|
||||
}
|
||||
|
||||
.kv-rtl .pull-left {
|
||||
float: right!important;
|
||||
}
|
||||
|
||||
.kv-rtl .modal-title {
|
||||
float: right;
|
||||
direction: ltr;
|
||||
}
|
||||
12
js/file/css/fileinput-rtl.min.css
vendored
Normal file
12
js/file/css/fileinput-rtl.min.css
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/.kv-rtl{direction:rtl}.kv-rtl .close{float:left}.kv-rtl .input-group-btn:last-child>.btn{border-radius:4px 0 0 4px!important}.kv-rtl .input-group .form-control:first-child{border-radius:0 4px 4px 0!important}.kv-rtl .file-loading{right:auto;left:0;text-align:left}.kv-rtl .btn-file input[type=file]{right:auto;left:0;text-align:left;background:100% 0 none}.kv-rtl .file-error-message pre,.kv-rtl .file-error-message ul,.kv-rtl .file-zoom-dialog,.kv-rtl .krajee-default .file-actions,.kv-rtl .krajee-default .file-other-error{text-align:right}.kv-rtl .krajee-default.file-preview-frame{box-shadow:-1px 1px 5px 0 #a2958a;float:right}.kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover{box-shadow:-3px 3px 5px 0 #333}.kv-rtl .krajee-default .file-footer-buttons{float:left}.kv-rtl .krajee-default .file-drag-handle,.kv-rtl .krajee-default .file-upload-indicator{left:auto;right:-6px;padding:8px 3px 1px 8px;border-top-left-radius:24px;border-top-right-radius:0}.kv-rtl .file-drop-zone{margin:12px 12px 12px 15px}.kv-rtl .floating-buttons{left:10px;right:auto}.kv-rtl .floating-buttons .btn,.kv-rtl .kv-zoom-actions .btn{margin-right:3px}.kv-rtl .btn-prev{right:1px;left:auto}.kv-rtl .btn-next{left:1px;right:auto}.kv-rtl .pull-right{float:left!important}.kv-rtl .pull-left{float:right!important}.kv-rtl .modal-title{float:right;direction:ltr}
|
||||
524
js/file/css/fileinput.css
Normal file
524
js/file/css/fileinput.css
Normal file
@@ -0,0 +1,524 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee default styling for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
.file-loading {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
font-size: 999px;
|
||||
text-align: right;
|
||||
color: #fff;
|
||||
background: transparent url('../img/loading.gif') top left no-repeat;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.file-object {
|
||||
margin: 0 0 -5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.btn-file {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.btn-file input[type=file] {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
text-align: right;
|
||||
opacity: 0;
|
||||
background: none repeat scroll 0 0 transparent;
|
||||
cursor: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.file-caption-name {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
height: 20px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.input-group-lg .file-caption-name {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.file-error-message {
|
||||
color: #a94442;
|
||||
background-color: #f2dede;
|
||||
margin: 5px;
|
||||
border: 1px solid #ebccd1;
|
||||
border-radius: 4px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.file-error-message pre, .file-error-message ul {
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.file-error-message pre {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.file-caption-disabled {
|
||||
background-color: #EEEEEE;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.file-preview {
|
||||
border-radius: 5px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.file-preview-image {
|
||||
font: 40px Impact, Charcoal, sans-serif;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame {
|
||||
position: relative;
|
||||
display: table;
|
||||
margin: 8px;
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: 1px 1px 5px 0 #a2958a;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame:not(.file-preview-error):hover {
|
||||
box-shadow: 3px 3px 5px 0 #333;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame .kv-file-content {
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame .file-thumbnail-footer {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-image {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-text {
|
||||
display: block;
|
||||
color: #428bca;
|
||||
border: 1px solid #ddd;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
outline: none;
|
||||
padding: 8px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-html {
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.krajee-default[data-template="audio"] .file-preview-audio {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 170px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-audio audio {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.krajee-default .file-zoom-dialog .file-preview-text {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-other {
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-other:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.krajee-default .file-actions, .krajee-default .file-other-error {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.krajee-default .file-other-icon {
|
||||
font-size: 8em;
|
||||
}
|
||||
|
||||
.krajee-default .file-actions {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.krajee-default .file-footer-buttons {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.krajee-default .file-footer-caption {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 160px;
|
||||
text-align: center;
|
||||
padding-top: 4px;
|
||||
font-size: 11px;
|
||||
color: #777;
|
||||
margin: 5px auto;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-error {
|
||||
opacity: 0.65;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.krajee-default .file-preview-frame:not(.file-preview-error) .file-footer-caption:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.krajee-default .file-drag-handle, .krajee-default .file-upload-indicator {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
bottom: -6px;
|
||||
left: -6px;
|
||||
padding: 8px 8px 1px 3px;
|
||||
border-left: none;
|
||||
border-bottom: none;
|
||||
border-right: 1px solid #8a6d3b;
|
||||
border-top: 1px solid #8a6d3b;
|
||||
border-top-right-radius: 24px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.krajee-default .file-drag-handle {
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
.krajee-default .file-upload-indicator {
|
||||
font-size: 13px;
|
||||
background-color: #fcf8e3;
|
||||
border-color: #faebcc;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-error .file-upload-indicator {
|
||||
background-color: #f2dede;
|
||||
border-color: #ebccd1;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-success .file-upload-indicator {
|
||||
background-color: #dff0d8;
|
||||
border-color: #d6e9c6;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-loading .file-upload-indicator {
|
||||
background-color: #e5e5e5;
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
.krajee-default .file-thumb-progress {
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.krajee-default .file-thumb-progress .progress, .krajee-default .file-thumb-progress .progress-bar {
|
||||
height: 10px;
|
||||
font-size: 9px;
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
.krajee-default .file-thumbnail-footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.krajee-default .file-thumb-progress {
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.krajee-default.kvsortable-ghost {
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
/* noinspection CssOverwrittenProperties */
|
||||
.file-zoom-dialog .file-other-icon {
|
||||
font-size: 22em;
|
||||
font-size: 50vmin;
|
||||
}
|
||||
|
||||
.file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file,
|
||||
.file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button,
|
||||
.file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-caption-main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.file-input-ajax-new .no-browse .input-group-btn,
|
||||
.file-input-new .no-browse .input-group-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-input-ajax-new .no-browse .form-control,
|
||||
.file-input-new .no-browse .form-control {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.file-thumb-loading {
|
||||
background: transparent url('../img/loading.gif') no-repeat scroll center center content-box !important;
|
||||
}
|
||||
|
||||
.file-sortable .file-drag-handle {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.file-sortable .file-drag-handle:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.file-drop-zone {
|
||||
border: 1px dashed #aaa;
|
||||
border-radius: 4px;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
margin: 12px 15px 12px 12px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.file-drop-zone-title {
|
||||
color: #aaa;
|
||||
font-size: 1.6em;
|
||||
padding: 85px 10px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.file-preview .clickable,
|
||||
.clickable .file-drop-zone-title {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-drop-zone.clickable:hover {
|
||||
border: 2px dashed #999;
|
||||
}
|
||||
|
||||
.file-drop-zone.clickable:focus {
|
||||
border: 2px solid #5acde2;
|
||||
}
|
||||
|
||||
.file-drop-zone .file-preview-thumbnails {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.file-highlighted {
|
||||
border: 2px dashed #999 !important;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.file-uploading {
|
||||
background: url('../img/loading-sm.gif') no-repeat center bottom 10px;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen.modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen .modal-dialog {
|
||||
position: fixed;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen .modal-content {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen .modal-body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .modal-body {
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-navigate {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
opacity: 0.7;
|
||||
top: 45%;
|
||||
font-size: 4em;
|
||||
color: #1c94c4;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .floating-buttons {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.floating-buttons, .floating-buttons .btn {
|
||||
z-index: 3000;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .kv-zoom-actions .btn,
|
||||
.floating-buttons .btn {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-navigate:not([disabled]):hover,
|
||||
.file-zoom-dialog .btn-navigate:not([disabled]):focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-navigate[disabled] {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-prev {
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .btn-next {
|
||||
right: 1px;
|
||||
}
|
||||
|
||||
.file-zoom-content {
|
||||
height: 480px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.file-zoom-content .file-preview-image,
|
||||
.file-zoom-content .file-preview-video {
|
||||
max-height: 100%
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-image {
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-height: inherit;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-video,
|
||||
.file-zoom-content > .file-object.type-flash {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-audio {
|
||||
width: auto;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.file-zoom-content > .file-object.type-pdf,
|
||||
.file-zoom-content > .file-object.type-html,
|
||||
.file-zoom-content > .file-object.type-text,
|
||||
.file-zoom-content > .file-object.type-default {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.file-preview-initial.sortable-chosen {
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
|
||||
.hide-content .kv-file-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* IE 10 fix */
|
||||
.btn-file ::-ms-browse {
|
||||
font-size: 10000px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* exif orientations */
|
||||
.rotate-2 {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-3 {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.rotate-4 {
|
||||
transform: rotate(180deg) rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-5 {
|
||||
transform: rotate(270deg) rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-6 {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.rotate-7 {
|
||||
transform: rotate(90deg) rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-8 {
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
|
||||
.file-zoom-content .is-portrait-gt4 {
|
||||
margin-top: 60px;
|
||||
}
|
||||
12
js/file/css/fileinput.min.css
vendored
Normal file
12
js/file/css/fileinput.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
201
js/file/examples/index.html
Normal file
201
js/file/examples/index.html
Normal file
@@ -0,0 +1,201 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- release v4.4.3, copyright 2014 - 2017 Kartik Visweswaran -->
|
||||
<!--suppress JSUnresolvedLibraryURL -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Krajee JQuery Plugins - © Kartik</title>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="../css/fileinput.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<link href="../themes/explorer/theme.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script src="../js/plugins/sortable.js" type="text/javascript"></script>
|
||||
<script src="../js/fileinput.js" type="text/javascript"></script>
|
||||
<script src="../js/locales/fr.js" type="text/javascript"></script>
|
||||
<script src="../js/locales/es.js" type="text/javascript"></script>
|
||||
<script src="../themes/explorer/theme.js" type="text/javascript"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container kv-main">
|
||||
<div class="page-header">
|
||||
<h1>Bootstrap File Input Example
|
||||
<small><a href="https://github.com/kartik-v/bootstrap-fileinput-samples"><i
|
||||
class="glyphicon glyphicon-download"></i> Download Sample Files</a></small>
|
||||
</h1>
|
||||
</div>
|
||||
<form enctype="multipart/form-data">
|
||||
<input id="kv-explorer" type="file" multiple>
|
||||
<br>
|
||||
<input id="file-0a" class="file" type="file" multiple data-min-file-count="1">
|
||||
<br>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<button type="reset" class="btn btn-default">Reset</button>
|
||||
</form>
|
||||
<hr>
|
||||
<form enctype="multipart/form-data">
|
||||
<label for="file-0b">Test invalid input type</label>
|
||||
<input id="file-0b" name="file-0b" class="file" type="text" multiple data-min-file-count="1">
|
||||
<script>
|
||||
$(document).on('ready', function () {
|
||||
$("#file-0b").fileinput();
|
||||
});
|
||||
</script>
|
||||
</form>
|
||||
<hr>
|
||||
<form enctype="multipart/form-data">
|
||||
<input id="file-0c" class="file" type="file" multiple data-min-file-count="3">
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-0d" class="file" type="file">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-1" type="file" multiple class="file" data-overwrite-initial="false" data-min-file-count="2">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-2" type="file" class="file" readonly data-show-upload="false">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label>Preview File Icon</label>
|
||||
<input id="file-3" type="file" multiple>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-4" type="file" class="file" data-upload-url="#">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-warning" type="button">Disable Test</button>
|
||||
<button class="btn btn-info" type="reset">Refresh Test</button>
|
||||
<button class="btn btn-primary">Submit</button>
|
||||
<button class="btn btn-default" type="reset">Reset</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input type="file" class="file" id="test-upload" multiple>
|
||||
<div id="errorBlock" class="help-block"></div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-5" class="file" type="file" multiple data-preview-file-type="any" data-upload-url="#">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<hr>
|
||||
<h4>Multi Language Inputs</h4>
|
||||
<form enctype="multipart/form-data">
|
||||
<label>French Input</label>
|
||||
<input id="file-fr" name="file-fr[]" type="file" multiple>
|
||||
<hr style="border: 2px dotted">
|
||||
<label>Spanish Input</label>
|
||||
<input id="file-es" name="file-es[]" type="file" multiple>
|
||||
</form>
|
||||
<hr>
|
||||
<br>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
$('#file-fr').fileinput({
|
||||
language: 'fr',
|
||||
uploadUrl: '#',
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif']
|
||||
});
|
||||
$('#file-es').fileinput({
|
||||
language: 'es',
|
||||
uploadUrl: '#',
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif']
|
||||
});
|
||||
$("#file-0").fileinput({
|
||||
'allowedFileExtensions': ['jpg', 'png', 'gif']
|
||||
});
|
||||
$("#file-1").fileinput({
|
||||
uploadUrl: '#', // you must set a valid URL here else you will get an error
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif'],
|
||||
overwriteInitial: false,
|
||||
maxFileSize: 1000,
|
||||
maxFilesNum: 10,
|
||||
//allowedFileTypes: ['image', 'video', 'flash'],
|
||||
slugCallback: function (filename) {
|
||||
return filename.replace('(', '_').replace(']', '_');
|
||||
}
|
||||
});
|
||||
/*
|
||||
$(".file").on('fileselect', function(event, n, l) {
|
||||
alert('File Selected. Name: ' + l + ', Num: ' + n);
|
||||
});
|
||||
*/
|
||||
$("#file-3").fileinput({
|
||||
showUpload: false,
|
||||
showCaption: false,
|
||||
browseClass: "btn btn-primary btn-lg",
|
||||
fileType: "any",
|
||||
previewFileIcon: "<i class='glyphicon glyphicon-king'></i>",
|
||||
overwriteInitial: false,
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [
|
||||
"http://lorempixel.com/1920/1080/transport/1",
|
||||
"http://lorempixel.com/1920/1080/transport/2",
|
||||
"http://lorempixel.com/1920/1080/transport/3"
|
||||
],
|
||||
initialPreviewConfig: [
|
||||
{caption: "transport-1.jpg", size: 329892, width: "120px", url: "{$url}", key: 1},
|
||||
{caption: "transport-2.jpg", size: 872378, width: "120px", url: "{$url}", key: 2},
|
||||
{caption: "transport-3.jpg", size: 632762, width: "120px", url: "{$url}", key: 3}
|
||||
]
|
||||
});
|
||||
$("#file-4").fileinput({
|
||||
uploadExtraData: {kvId: '10'}
|
||||
});
|
||||
$(".btn-warning").on('click', function () {
|
||||
var $el = $("#file-4");
|
||||
if ($el.attr('disabled')) {
|
||||
$el.fileinput('enable');
|
||||
} else {
|
||||
$el.fileinput('disable');
|
||||
}
|
||||
});
|
||||
$(".btn-info").on('click', function () {
|
||||
$("#file-4").fileinput('refresh', {previewClass: 'bg-info'});
|
||||
});
|
||||
/*
|
||||
$('#file-4').on('fileselectnone', function() {
|
||||
alert('Huh! You selected no files.');
|
||||
});
|
||||
$('#file-4').on('filebrowse', function() {
|
||||
alert('File browse clicked for #file-4');
|
||||
});
|
||||
*/
|
||||
$(document).ready(function () {
|
||||
$("#test-upload").fileinput({
|
||||
'showPreview': false,
|
||||
'allowedFileExtensions': ['jpg', 'png', 'gif'],
|
||||
'elErrorContainer': '#errorBlock'
|
||||
});
|
||||
$("#kv-explorer").fileinput({
|
||||
'theme': 'explorer',
|
||||
'uploadUrl': '#',
|
||||
overwriteInitial: false,
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [
|
||||
"http://lorempixel.com/1920/1080/nature/1",
|
||||
"http://lorempixel.com/1920/1080/nature/2",
|
||||
"http://lorempixel.com/1920/1080/nature/3"
|
||||
],
|
||||
initialPreviewConfig: [
|
||||
{caption: "nature-1.jpg", size: 329892, width: "120px", url: "{$url}", key: 1},
|
||||
{caption: "nature-2.jpg", size: 872378, width: "120px", url: "{$url}", key: 2},
|
||||
{caption: "nature-3.jpg", size: 632762, width: "120px", url: "{$url}", key: 3}
|
||||
]
|
||||
});
|
||||
/*
|
||||
$("#test-upload").on('fileloaded', function(event, file, previewId, index) {
|
||||
alert('i = ' + index + ', id = ' + previewId + ', file = ' + file.name);
|
||||
});
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
BIN
js/file/img/loading-sm.gif
Normal file
BIN
js/file/img/loading-sm.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
js/file/img/loading.gif
Normal file
BIN
js/file/img/loading.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 847 B |
3932
js/file/js/fileinput.js
Normal file
3932
js/file/js/fileinput.js
Normal file
File diff suppressed because it is too large
Load Diff
12
js/file/js/fileinput.min.js
vendored
Normal file
12
js/file/js/fileinput.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
96
js/file/js/locales/LANG.js
Normal file
96
js/file/js/locales/LANG.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput <_LANG_> 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['_LANG_'] = {
|
||||
fileSingle: 'file',
|
||||
filePlural: 'files',
|
||||
browseLabel: 'Browse …',
|
||||
removeLabel: 'Remove',
|
||||
removeTitle: 'Clear selected files',
|
||||
cancelLabel: 'Cancel',
|
||||
cancelTitle: 'Abort ongoing upload',
|
||||
uploadLabel: 'Upload',
|
||||
uploadTitle: 'Upload selected files',
|
||||
msgNo: 'No',
|
||||
msgNoFilesSelected: 'No files selected',
|
||||
msgCancelled: 'Cancelled',
|
||||
msgZoomModalHeading: 'Detailed Preview',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload.',
|
||||
msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>.',
|
||||
msgFileNotFound: 'File "{name}" not found!',
|
||||
msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
|
||||
msgFileNotReadable: 'File "{name}" is not readable.',
|
||||
msgFilePreviewAborted: 'File preview aborted for "{name}".',
|
||||
msgFilePreviewError: 'An error occurred while reading the file "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.',
|
||||
msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'The file upload was aborted',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Validation Error',
|
||||
msgLoading: 'Loading file {index} of {files} …',
|
||||
msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
|
||||
msgSelected: '{n} {files} selected',
|
||||
msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
|
||||
msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.',
|
||||
msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.',
|
||||
msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
|
||||
msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
|
||||
msgImageResizeError: 'Could not get the image dimensions to resize.',
|
||||
msgImageResizeException: 'Error while resizing the image.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Drag & drop files here …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Remove file',
|
||||
uploadTitle: 'Upload file',
|
||||
zoomTitle: 'View details',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Not uploaded yet',
|
||||
indicatorSuccessTitle: 'Uploaded',
|
||||
indicatorErrorTitle: 'Upload Error',
|
||||
indicatorLoadingTitle: 'Uploading ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/ar.js
Normal file
97
js/file/js/locales/ar.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Arabic 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
|
||||
* @author Yasser Lotfy <y_l@live.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['ar'] = {
|
||||
fileSingle: 'ملف',
|
||||
filePlural: 'ملفات',
|
||||
browseLabel: 'تصفح …',
|
||||
removeLabel: 'إزالة',
|
||||
removeTitle: 'إزالة الملفات المختارة',
|
||||
cancelLabel: 'إلغاء',
|
||||
cancelTitle: 'إنهاء الرفع الحالي',
|
||||
uploadLabel: 'رفع',
|
||||
uploadTitle: 'رفع الملفات المختارة',
|
||||
msgNo: 'لا',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'ألغيت',
|
||||
msgZoomModalHeading: 'معاينة تفصيلية',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'الملف "{name}" (<b>{size} ك.ب</b>) تعدى الحد الأقصى المسموح للرفع <b>{maxSize} ك.ب</b>.',
|
||||
msgFilesTooLess: 'يجب عليك اختيار <b>{n}</b> {files} على الأقل للرفع.',
|
||||
msgFilesTooMany: 'عدد الملفات المختارة للرفع <b>({n})</b> تعدت الحد الأقصى المسموح به لعدد <b>{m}</b>.',
|
||||
msgFileNotFound: 'الملف "{name}" غير موجود!',
|
||||
msgFileSecured: 'قيود أمنية تمنع قراءة الملف "{name}".',
|
||||
msgFileNotReadable: 'الملف "{name}" غير قابل للقراءة.',
|
||||
msgFilePreviewAborted: 'تم إلغاء معاينة الملف "{name}".',
|
||||
msgFilePreviewError: 'حدث خطأ أثناء قراءة الملف "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'نوعية غير صالحة للملف "{name}". فقط هذه النوعيات مدعومة "{types}".',
|
||||
msgInvalidFileExtension: 'امتداد غير صالح للملف "{name}". فقط هذه الملفات مدعومة "{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',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'خطأ التحقق من صحة',
|
||||
msgLoading: 'تحميل ملف {index} من {files} …',
|
||||
msgProgress: 'تحميل ملف {index} من {files} - {name} - {percent}% منتهي.',
|
||||
msgSelected: '{n} {files} مختار(ة)',
|
||||
msgFoldersNotAllowed: 'اسحب وأفلت الملفات فقط! تم تخطي {n} مجلد(ات).',
|
||||
msgImageWidthSmall: 'عرض ملف الصورة "{name}" يجب أن يكون على الأقل {size} px.',
|
||||
msgImageHeightSmall: 'طول ملف الصورة "{name}" يجب أن يكون على الأقل {size} px.',
|
||||
msgImageWidthLarge: 'عرض ملف الصورة "{name}" لا يمكن أن يتعدى {size} px.',
|
||||
msgImageHeightLarge: 'طول ملف الصورة "{name}" لا يمكن أن يتعدى {size} px.',
|
||||
msgImageResizeError: 'لم يتمكن من معرفة أبعاد الصورة لتغييرها.',
|
||||
msgImageResizeException: 'حدث خطأ أثناء تغيير أبعاد الصورة.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'اسحب وأفلت الملفات هنا …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'إزالة الملف',
|
||||
uploadTitle: 'رفع الملف',
|
||||
zoomTitle: 'مشاهدة التفاصيل',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'لم يتم الرفع بعد',
|
||||
indicatorSuccessTitle: 'تم الرفع',
|
||||
indicatorErrorTitle: 'خطأ بالرفع',
|
||||
indicatorLoadingTitle: 'جارٍ الرفع ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/az.js
Normal file
97
js/file/js/locales/az.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Azerbaijan 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
|
||||
* @author Elbrus <elbrusnt@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['az'] = {
|
||||
fileSingle: 'fayl',
|
||||
filePlural: 'fayl',
|
||||
browseLabel: 'Seç …',
|
||||
removeLabel: 'Sil',
|
||||
removeTitle: 'Seçilmiş faylları təmizlə',
|
||||
cancelLabel: 'İmtina et',
|
||||
cancelTitle: 'Cari yükləməni dayandır',
|
||||
uploadLabel: 'Yüklə',
|
||||
uploadTitle: 'Seçilmiş faylları yüklə',
|
||||
msgNo: 'xeyir',
|
||||
msgNoFilesSelected: 'Heç bir fayl seçilməmişdir',
|
||||
msgCancelled: 'İmtina edildi',
|
||||
msgZoomModalHeading: 'İlkin baxış',
|
||||
msgFileRequired: 'Yükləmə üçün fayl seçməlisiniz.',
|
||||
msgSizeTooSmall: 'Seçdiyiniz "{name}" faylının həcmi (<b>{size} KB</b>)-dır, minimum <b>{minSize} KB</b> olmalıdır.',
|
||||
msgSizeTooLarge: 'Seçdiyiniz "{name}" faylının həcmi (<b>{size} KB</b>)-dır, maksimum <b>{maxSize} KB</b> olmalıdır.',
|
||||
msgFilesTooLess: 'Yükləmə üçün minimum <b>{n}</b> {files} seçməlisiniz.',
|
||||
msgFilesTooMany: 'Seçilmiş fayl sayı <b>({n})</b>. Maksimum <b>{m}</b> fayl seçmək mümkündür.',
|
||||
msgFileNotFound: 'Fayl "{name}" tapılmadı!',
|
||||
msgFileSecured: '"{name}" faylının istifadəsinə yetginiz yoxdur.',
|
||||
msgFileNotReadable: '"{name}" faylının istifadəsi mümkün deyil.',
|
||||
msgFilePreviewAborted: '"{name}" faylı üçün ilkin baxış ləğv olunub.',
|
||||
msgFilePreviewError: '"{name}" faylının oxunması mümkün olmadı.',
|
||||
msgInvalidFileName: '"{name}" faylının adında qadağan olunmuş simvollardan istifadə olunmuşdur.',
|
||||
msgInvalidFileType: '"{name}" faylının tipi dəstəklənmir. Yalnız "{types}" tipli faylları yükləmək mümkündür.',
|
||||
msgInvalidFileExtension: '"{name}" faylının genişlənməsi yanlışdır. Yalnız "{extensions}" fayl genişlənmə(si / ləri) qəbul olunur.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Yükləmə dayandırılmışdır',
|
||||
msgUploadThreshold: 'Yükləmə...',
|
||||
msgUploadBegin: 'Yoxlama...',
|
||||
msgUploadEnd: 'Fayl(lar) yükləndi',
|
||||
msgUploadEmpty: 'Yükləmə üçün verilmiş məlumatlar yanlışdır',
|
||||
msgValidationError: 'Yoxlama nəticəsi səhvir',
|
||||
msgLoading: '{files} fayldan {index} yüklənir …',
|
||||
msgProgress: '{files} fayldan {index} - {name} - {percent}% yükləndi.',
|
||||
msgSelected: 'Faylların sayı: {n}',
|
||||
msgFoldersNotAllowed: 'Ancaq faylların daşınmasına icazə verilir! {n} qovluq yüklənmədi.',
|
||||
msgImageWidthSmall: '{name} faylının eni {size} px -dən kiçik olmamalıdır.',
|
||||
msgImageHeightSmall: '{name} faylının hündürlüyü {size} px -dən kiçik olmamalıdır.',
|
||||
msgImageWidthLarge: '"{name}" faylının eni {size} px -dən böyük olmamalıdır.',
|
||||
msgImageHeightLarge: '"{name}" faylının hündürlüyü {size} px -dən böyük olmamalıdır.',
|
||||
msgImageResizeError: 'Faylın ölçülərini dəyişmək üçün ölçüləri hesablamaq mümkün olmadı.',
|
||||
msgImageResizeException: 'Faylın ölçülərini dəyişmək mümkün olmadı.<pre>{errors}</pre>',
|
||||
msgAjaxError: '{operation} əməliyyatı zamanı səhv baş verdi. Təkrar yoxlayın!',
|
||||
msgAjaxProgressError: '{operation} əməliyyatı yerinə yetirmək mümkün olmadı.',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'faylı sil',
|
||||
uploadThumb: 'faylı yüklə',
|
||||
uploadBatch: 'bir neçə faylı yüklə',
|
||||
uploadExtra: 'məlumatların yüklənməsi'
|
||||
},
|
||||
dropZoneTitle: 'Faylları bura daşıyın …',
|
||||
dropZoneClickTitle: '<br>(Və ya seçin {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Faylı sil',
|
||||
uploadTitle: 'Faylı yüklə',
|
||||
zoomTitle: 'məlumatlara bax',
|
||||
dragTitle: 'Yerini dəyiş və ya sırala',
|
||||
indicatorNewTitle: 'Davam edir',
|
||||
indicatorSuccessTitle: 'Tamamlandı',
|
||||
indicatorErrorTitle: 'Yükləmə xətası',
|
||||
indicatorLoadingTitle: 'Yükləmə ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Əvvəlki fayla bax',
|
||||
next: 'Növbəti fayla bax',
|
||||
toggleheader: 'Başlığı dəyiş',
|
||||
fullscreen: 'Tam ekranı dəyiş',
|
||||
borderless: 'Bölmələrsiz rejimi dəyiş',
|
||||
close: 'Ətraflı baxışı bağla'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/bg.js
Normal file
96
js/file/js/locales/bg.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Bulgarian 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['bg'] = {
|
||||
fileSingle: 'файл',
|
||||
filePlural: 'файла',
|
||||
browseLabel: 'Избери …',
|
||||
removeLabel: 'Премахни',
|
||||
removeTitle: 'Изчисти избраните',
|
||||
cancelLabel: 'Откажи',
|
||||
cancelTitle: 'Откажи качването',
|
||||
uploadLabel: 'Качи',
|
||||
uploadTitle: 'Качи избраните файлове',
|
||||
msgNo: 'Не',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Отменен',
|
||||
msgZoomModalHeading: 'Детайлен преглед',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Файла "{name}" (<b>{size} KB</b>) надвишава максималните разрешени <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Трябва да изберете поне <b>{n}</b> {files} файла.',
|
||||
msgFilesTooMany: 'Броя файлове избрани за качване <b>({n})</b> надвишава ограниченито от максимум <b>{m}</b>.',
|
||||
msgFileNotFound: 'Файлът "{name}" не може да бъде намерен!',
|
||||
msgFileSecured: 'От съображения за сигурност не може да прочетем файла "{name}".',
|
||||
msgFileNotReadable: 'Файлът "{name}" не е четим.',
|
||||
msgFilePreviewAborted: 'Прегледа на файла е прекратен за "{name}".',
|
||||
msgFilePreviewError: 'Грешка при опит за четене на файла "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Невалиден тип на файла "{name}". Разрешени са само "{types}".',
|
||||
msgInvalidFileExtension: 'Невалидно разрешение на "{name}". Разрешени са само "{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',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'утвърждаване грешка',
|
||||
msgLoading: 'Зареждане на файл {index} от общо {files} …',
|
||||
msgProgress: 'Зареждане на файл {index} от общо {files} - {name} - {percent}% завършени.',
|
||||
msgSelected: '{n} {files} избрани',
|
||||
msgFoldersNotAllowed: 'Само пуснати файлове! Пропуснати {n} пуснати папки.',
|
||||
msgImageWidthSmall: 'Широчината на изображението "{name}" трябва да е поне {size} px.',
|
||||
msgImageHeightSmall: 'Височината на изображението "{name}" трябва да е поне {size} px.',
|
||||
msgImageWidthLarge: 'Широчината на изображението "{name}" не може да е по-голяма от {size} px.',
|
||||
msgImageHeightLarge: 'Височината на изображението "{name}" нее може да е по-голяма от {size} px.',
|
||||
msgImageResizeError: 'Не може да размерите на изображението, за да промените размера.',
|
||||
msgImageResizeException: 'Грешка при промяна на размера на изображението.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Пуснете файловете тук …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Махни файл',
|
||||
uploadTitle: 'Качване на файл',
|
||||
zoomTitle: 'Вижте детайли',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Все още не е качил',
|
||||
indicatorSuccessTitle: 'Качено',
|
||||
indicatorErrorTitle: 'Качи Error',
|
||||
indicatorLoadingTitle: 'Качва се ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/ca.js
Normal file
96
js/file/js/locales/ca.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Català 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['ca'] = {
|
||||
fileSingle: 'arxiu',
|
||||
filePlural: 'arxius',
|
||||
browseLabel: 'Examinar …',
|
||||
removeLabel: 'Treure',
|
||||
removeTitle: 'Treure arxius seleccionats',
|
||||
cancelLabel: 'Cancel',
|
||||
cancelTitle: 'Avortar la pujada en curs',
|
||||
uploadLabel: 'Pujar arxiu',
|
||||
uploadTitle: 'Pujar arxius seleccionats',
|
||||
msgNo: 'No',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'cancel·lat',
|
||||
msgZoomModalHeading: 'Vista prèvia detallada',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Arxiu "{name}" (<b>{size} KB</b>) excedeix la mida màxima permès de <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Heu de seleccionar almenys <b>{n}</b> {files} a carregar.',
|
||||
msgFilesTooMany: 'El nombre d\'arxius seleccionats a carregar <b>({n})</b> excedeix el límit màxim permès de <b>{m}</b>.',
|
||||
msgFileNotFound: 'Arxiu "{name}" no trobat.',
|
||||
msgFileSecured: 'No es pot accedir a l\'arxiu "{name}" perquè estarà sent usat per una altra aplicació o no tinguem permisos de lectura.',
|
||||
msgFileNotReadable: 'No es pot accedir a l\'arxiu "{name}".',
|
||||
msgFilePreviewAborted: 'Previsualització de l\'arxiu "{name}" cancel·lada.',
|
||||
msgFilePreviewError: 'S\'ha produït un error mentre es llegia el fitxer "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Tipus de fitxer no vàlid per a "{name}". Només arxius "{types}" són permesos.',
|
||||
msgInvalidFileExtension: 'Extensió de fitxer no vàlid per a "{name}". Només arxius "{extensions}" són permesos.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'La càrrega d\'arxius s\'ha cancel·lat',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Error de validació',
|
||||
msgLoading: 'Pujant fitxer {index} de {files} …',
|
||||
msgProgress: 'Pujant fitxer {index} de {files} - {name} - {percent}% completat.',
|
||||
msgSelected: '{n} {files} seleccionat(s)',
|
||||
msgFoldersNotAllowed: 'Arrossegueu i deixeu anar únicament arxius. Omesa(es) {n} carpeta(es).',
|
||||
msgImageWidthSmall: 'L\'ample de la imatge "{name}" ha de ser almenys {size} px.',
|
||||
msgImageHeightSmall: 'L\'alçada de la imatge "{name}" ha de ser almenys {size} px.',
|
||||
msgImageWidthLarge: 'L\'ample de la imatge "{name}" no pot excedir de {size} px.',
|
||||
msgImageHeightLarge: 'L\'alçada de la imatge "{name}" no pot excedir de {size} px.',
|
||||
msgImageResizeError: 'No s\'ha pogut obtenir les dimensions d\'imatge per canviar la mida.',
|
||||
msgImageResizeException: 'Error en canviar la mida de la imatge.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Arrossegueu i deixeu anar aquí els arxius …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Eliminar arxiu',
|
||||
uploadTitle: 'Pujar arxiu',
|
||||
zoomTitle: 'Veure detalls',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'No pujat encara',
|
||||
indicatorSuccessTitle: 'Subido',
|
||||
indicatorErrorTitle: 'Pujar Error',
|
||||
indicatorLoadingTitle: 'Pujant ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/cr.js
Normal file
97
js/file/js/locales/cr.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Croatian 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
|
||||
* @author Milos Stojanovic <stojanovic.loshmi@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['cr'] = {
|
||||
fileSingle: 'datoteka',
|
||||
filePlural: 'datoteke',
|
||||
browseLabel: 'Izaberi …',
|
||||
removeLabel: 'Ukloni',
|
||||
removeTitle: 'Ukloni označene datoteke',
|
||||
cancelLabel: 'Odustani',
|
||||
cancelTitle: 'Prekini trenutno otpremanje',
|
||||
uploadLabel: 'Otpremi',
|
||||
uploadTitle: 'Otpremi označene datoteke',
|
||||
msgNo: 'Ne',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Otkazan',
|
||||
msgZoomModalHeading: 'Detaljni pregled',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Datoteka "{name}" (<b>{size} KB</b>) prekoračuje maksimalnu dozvoljenu veličinu datoteke od <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Morate odabrati najmanje <b>{n}</b> {files} za otpremanje.',
|
||||
msgFilesTooMany: 'Broj datoteka označenih za otpremanje <b>({n})</b> prekoračuje maksimalni dozvoljeni limit od <b>{m}</b>.',
|
||||
msgFileNotFound: 'Datoteka "{name}" nije pronađena!',
|
||||
msgFileSecured: 'Datoteku "{name}" nije moguće pročitati zbog bezbednosnih ograničenja.',
|
||||
msgFileNotReadable: 'Datoteku "{name}" nije moguće pročitati.',
|
||||
msgFilePreviewAborted: 'Generisanje prikaza nije moguće za "{name}".',
|
||||
msgFilePreviewError: 'Došlo je do greške prilikom čitanja datoteke "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Datoteka "{name}" je pogrešnog formata. Dozvoljeni formati su "{types}".',
|
||||
msgInvalidFileExtension: 'Ekstenzija datoteke "{name}" nije dozvoljena. Dozvoljene ekstenzije su "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Prijenos datoteka je prekinut',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Provjera pogrešaka',
|
||||
msgLoading: 'Učitavanje datoteke {index} od {files} …',
|
||||
msgProgress: 'Učitavanje datoteke {index} od {files} - {name} - {percent}% završeno.',
|
||||
msgSelected: '{n} {files} je označeno',
|
||||
msgFoldersNotAllowed: 'Moguće je prevlačiti samo datoteke! Preskočeno je {n} fascikla.',
|
||||
msgImageWidthSmall: 'Širina slikovnu datoteku "{name}" moraju biti najmanje {size} px.',
|
||||
msgImageHeightSmall: 'Visina slikovnu datoteku "{name}" moraju biti najmanje {size} px.',
|
||||
msgImageWidthLarge: 'Širina slikovnu datoteku "{name}" ne može prelaziti {size} px.',
|
||||
msgImageHeightLarge: 'Visina slikovnu datoteku "{name}" ne može prelaziti {size} px.',
|
||||
msgImageResizeError: 'Nije mogao dobiti dimenzije slike na veličinu.',
|
||||
msgImageResizeException: 'Greška prilikom promjene veličine slike.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Prevucite datoteke ovde …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Uklonite datoteku',
|
||||
uploadTitle: 'Postavi datoteku',
|
||||
zoomTitle: 'Pregledavati pojedinosti',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Još nije učitao',
|
||||
indicatorSuccessTitle: 'Preneseno',
|
||||
indicatorErrorTitle: 'Postavi Greška',
|
||||
indicatorLoadingTitle: 'Prijenos ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
86
js/file/js/locales/cz.js
Normal file
86
js/file/js/locales/cz.js
Normal file
@@ -0,0 +1,86 @@
|
||||
/*!
|
||||
* FileInput Czech 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['cz'] = {
|
||||
fileSingle: 'soubor',
|
||||
filePlural: 'soubory',
|
||||
browseLabel: 'Vybrat …',
|
||||
removeLabel: 'Odstranit',
|
||||
removeTitle: 'Vyčistit vybrané soubory',
|
||||
cancelLabel: 'Storno',
|
||||
cancelTitle: 'Přerušit nahrávání',
|
||||
uploadLabel: 'Nahrát',
|
||||
uploadTitle: 'Nahrát vybrané soubory',
|
||||
msgNo: 'Ne',
|
||||
msgNoFilesSelected: 'Nevybrány žádné soubory',
|
||||
msgCancelled: 'Zrušeno',
|
||||
msgZoomModalHeading: 'Detailní náhled',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'Soubor "{name}" (<b>{size} KB</b>) je příliš malý, musí mít velikost nejméně <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Soubor "{name}" (<b>{size} KB</b>): je příliš velký - maximální povolená velikost <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Musíte vybrat nejméně <b>{n}</b> {files} souborů.',
|
||||
msgFilesTooMany: 'Počet vybraných souborů <b>({n})</b> překročil maximální povolený limit <b>{m}</b>.',
|
||||
msgFileNotFound: 'Soubor "{name}" nebyl nalezen!',
|
||||
msgFileSecured: 'Zabezpečení souboru znemožnilo číst soubor "{name}".',
|
||||
msgFileNotReadable: 'Soubor "{name}" není čitelný.',
|
||||
msgFilePreviewAborted: 'Náhled souboru byl přerušen pro "{name}".',
|
||||
msgFilePreviewError: 'Nastala chyba při načtení souboru "{name}".',
|
||||
msgInvalidFileName: 'Neplatné nebo nepovolené znaky ve jménu souboru "{name}".',
|
||||
msgInvalidFileType: 'Neplatný typ souboru "{name}". Pouze "{types}" souborů jsou podporovány.',
|
||||
msgInvalidFileExtension: 'Neplatná extenze souboru "{name}". Pouze "{extensions}" souborů jsou podporovány.',
|
||||
msgUploadAborted: 'Nahrávání souboru bylo přerušeno',
|
||||
msgUploadThreshold: 'Zpracovávám...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Chyba ověření',
|
||||
msgLoading: 'Nahrávání souboru {index} z {files} …',
|
||||
msgProgress: 'Nahrávání souboru {index} z {files} - {name} - {percent}% dokončeno.',
|
||||
msgSelected: '{n} {files} vybráno',
|
||||
msgFoldersNotAllowed: 'Táhni a pusť pouze soubory! Vynechané {n} pustěné složk(y).',
|
||||
msgImageWidthSmall: 'Šířka obrázku "{name}", musí být alespoň {size} px.',
|
||||
msgImageHeightSmall: 'Výška obrázku "{name}", musí být alespoň {size} px.',
|
||||
msgImageWidthLarge: 'Šířka obrázku "{name}" nesmí být větší než {size} px.',
|
||||
msgImageHeightLarge: 'Výška obrázku "{name}" nesmí být větší než {size} px.',
|
||||
msgImageResizeError: 'Nelze získat rozměry obrázku pro změnu velikosti.',
|
||||
msgImageResizeException: 'Chyba při změně velikosti obrázku.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Přetáhni soubory sem …',
|
||||
dropZoneClickTitle: '<br>(nebo klikni sem a vyber je)',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Odstranit soubor',
|
||||
uploadTitle: 'nahrát soubor',
|
||||
zoomTitle: 'zobrazit podrobnosti',
|
||||
dragTitle: 'Posunout / Přeskládat',
|
||||
indicatorNewTitle: 'Ještě nenahrál',
|
||||
indicatorSuccessTitle: 'Nahraný',
|
||||
indicatorErrorTitle: 'Chyba nahrávání',
|
||||
indicatorLoadingTitle: 'Nahrávání ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Zobrazit předchozí soubor',
|
||||
next: 'Zobrazit následující soubor',
|
||||
toggleheader: 'Přepnout záhlaví',
|
||||
fullscreen: 'Přepnout celoobrazovkové zobrazení',
|
||||
borderless: 'Přepnout bezrámečkové zobrazení',
|
||||
close: 'Zavřít detailní náhled'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/da.js
Normal file
96
js/file/js/locales/da.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Danish 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['da'] = {
|
||||
fileSingle: 'fil',
|
||||
filePlural: 'filer',
|
||||
browseLabel: 'Browse …',
|
||||
removeLabel: 'Fjern',
|
||||
removeTitle: 'Fjern valgte filer',
|
||||
cancelLabel: 'Fortryd',
|
||||
cancelTitle: 'Afbryd nuværende upload',
|
||||
uploadLabel: 'Upload',
|
||||
uploadTitle: 'Upload valgte filer',
|
||||
msgNo: 'Ingen',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'aflyst',
|
||||
msgZoomModalHeading: 'Detaljeret visning',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Fil "{name}" (<b>{size} KB</b>) er større end de tilladte <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Du skal mindst vælge <b>{n}</b> {files} til upload.',
|
||||
msgFilesTooMany: '<b>({n})</b> filer valgt til upload, men maks. <b>{m}</b> er tilladt.',
|
||||
msgFileNotFound: 'Filen "{name}" blev ikke fundet!',
|
||||
msgFileSecured: 'Sikkerhedsrestriktioner forhindrer læsning af "{name}".',
|
||||
msgFileNotReadable: 'Filen "{name}" kan ikke indlæses.',
|
||||
msgFilePreviewAborted: 'Filpreview annulleret for "{name}".',
|
||||
msgFilePreviewError: 'Der skete en fejl under læsningen af filen "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Ukendt type for filen "{name}". Kun "{types}" kan bruges.',
|
||||
msgInvalidFileExtension: 'Ukendt filtype for filen "{name}". Kun "{extensions}" filer kan bruges.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Filupload annulleret',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Validering Fejl',
|
||||
msgLoading: 'Henter fil {index} af {files} …',
|
||||
msgProgress: 'Henter fil {index} af {files} - {name} - {percent}% færdiggjort.',
|
||||
msgSelected: '{n} {files} valgt',
|
||||
msgFoldersNotAllowed: 'Drag & drop kun filer! {n} mappe(r) sprunget over.',
|
||||
msgImageWidthSmall: 'Bredden af billedet "{name}" skal være på mindst {size} px.',
|
||||
msgImageHeightSmall: 'Højden af billedet "{name}" skal være på mindst {size} px.',
|
||||
msgImageWidthLarge: 'Bredden af billedet "{name}" må ikke være over {size} px.',
|
||||
msgImageHeightLarge: 'Højden af billedet "{name}" må ikke være over {size} px.',
|
||||
msgImageResizeError: 'Kunne ikke få billedets dimensioner for at ændre størrelsen.',
|
||||
msgImageResizeException: 'Fejl ved at ændre størrelsen på billedet.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Drag & drop filer her …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Fjern fil',
|
||||
uploadTitle: 'Upload fil',
|
||||
zoomTitle: 'Se detaljer',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Ikke uploadet endnu',
|
||||
indicatorSuccessTitle: 'Uploadet',
|
||||
indicatorErrorTitle: 'Upload fejl',
|
||||
indicatorLoadingTitle: 'Uploader ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
94
js/file/js/locales/de.js
Normal file
94
js/file/js/locales/de.js
Normal file
@@ -0,0 +1,94 @@
|
||||
/*!
|
||||
* FileInput German 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
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['de'] = {
|
||||
fileSingle: 'Datei',
|
||||
filePlural: 'Dateien',
|
||||
browseLabel: 'Auswählen …',
|
||||
removeLabel: 'Löschen',
|
||||
removeTitle: 'Ausgewählte löschen',
|
||||
cancelLabel: 'Abbrechen',
|
||||
cancelTitle: 'Hochladen abbrechen',
|
||||
uploadLabel: 'Hochladen',
|
||||
uploadTitle: 'Hochladen der ausgewählten Dateien',
|
||||
msgNo: 'Keine',
|
||||
msgNoFilesSelected: 'Keine Dateien ausgewählt',
|
||||
msgCancelled: 'Abgebrochen',
|
||||
msgZoomModalHeading: 'ausführliche Vorschau',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Datei "{name}" (<b>{size} KB</b>) überschreitet maximal zulässige Upload-Größe von <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Sie müssen mindestens <b>{n}</b> {files} zum Hochladen auswählen.',
|
||||
msgFilesTooMany: 'Anzahl der Dateien für den Upload ausgewählt <b>({n})</b> überschreitet maximal zulässige Grenze von <b>{m}</b> Stück.',
|
||||
msgFileNotFound: 'Datei "{name}" wurde nicht gefunden!',
|
||||
msgFileSecured: 'Sicherheitseinstellungen verhindern das Lesen der Datei "{name}".',
|
||||
msgFileNotReadable: 'Die Datei "{name}" ist nicht lesbar.',
|
||||
msgFilePreviewAborted: 'Dateivorschau abgebrochen für "{name}".',
|
||||
msgFilePreviewError: 'Beim Lesen der Datei "{name}" ein Fehler aufgetreten.',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Ungültiger Typ für Datei "{name}". Nur Dateien der Typen "{types}" werden unterstützt.',
|
||||
msgInvalidFileExtension: 'Ungültige Erweiterung für Datei "{name}". Nur Dateien mit der Endung "{extensions}" werden unterstützt.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Der Datei-Upload wurde abgebrochen',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Validierungs fehler',
|
||||
msgLoading: 'Lade Datei {index} von {files} hoch…',
|
||||
msgProgress: 'Datei {index} von {files} - {name} - zu {percent}% fertiggestellt.',
|
||||
msgSelected: '{n} {files} ausgewählt',
|
||||
msgFoldersNotAllowed: 'Drag & Drop funktioniert nur bei Dateien! {n} Ordner übersprungen.',
|
||||
msgImageWidthSmall: 'Breite der Bilddatei "{name}" muss mindestens {size} px betragen.',
|
||||
msgImageHeightSmall: 'Höhe der Bilddatei "{name}" muss mindestens {size} px betragen.',
|
||||
msgImageWidthLarge: 'Breite der Bilddatei "{name}" nicht überschreiten {size} px.',
|
||||
msgImageHeightLarge: 'Höhe der Bilddatei "{name}" nicht überschreiten {size} px.',
|
||||
msgImageResizeError: 'Konnte nicht die Bildabmessungen zu ändern.',
|
||||
msgImageResizeException: 'Fehler beim Ändern der Größe des Bildes.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Dateien hierher ziehen …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Datei entfernen',
|
||||
uploadTitle: 'Datei hochladen',
|
||||
zoomTitle: 'Details anzeigen',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Noch nicht hochgeladen',
|
||||
indicatorSuccessTitle: 'Hochgeladen',
|
||||
indicatorErrorTitle: 'Upload Fehler',
|
||||
indicatorLoadingTitle: 'Hochladen ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/el.js
Normal file
96
js/file/js/locales/el.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Greek 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['el'] = {
|
||||
fileSingle: 'αρχείο',
|
||||
filePlural: 'αρχεία',
|
||||
browseLabel: 'Αναζήτηση …',
|
||||
removeLabel: 'Διαγραφή',
|
||||
removeTitle: 'Εκκαθάριση αρχείων',
|
||||
cancelLabel: 'Ακύρωση',
|
||||
cancelTitle: 'Ακύρωση μεταφόρτωσης',
|
||||
uploadLabel: 'Μεταφόρτωση',
|
||||
uploadTitle: 'Μεταφόρτωση επιλεγμένων αρχείων',
|
||||
msgNo: 'Όχι',
|
||||
msgNoFilesSelected: 'Δεν επιλέχθηκαν αρχεία',
|
||||
msgCancelled: 'Ακυρώθηκε',
|
||||
msgZoomModalHeading: 'Λεπτομερής Προεπισκόπηση',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'Το "{name}" (<b>{size} KB</b>) είναι πολύ μικρό, πρέπει να είναι μεγαλύτερο από <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Το αρχείο "{name}" (<b>{size} KB</b>) υπερβαίνει το μέγιστο επιτρεπόμενο μέγεθος μεταφόρτωσης <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Πρέπει να επιλέξετε τουλάχιστον <b>{n}</b> {files} για να ξεκινήσει η μεταφόρτωση.',
|
||||
msgFilesTooMany: 'Ο αριθμός των αρχείων που έχουν επιλεγεί για μεταφόρτωση <b>({n})</b> υπερβαίνει το μέγιστο επιτρεπόμενο αριθμό <b>{m}</b>.',
|
||||
msgFileNotFound: 'Το αρχείο "{name}" δεν βρέθηκε!',
|
||||
msgFileSecured: 'Περιορισμοί ασφαλείας εμπόδισαν την ανάγνωση του αρχείου "{name}".',
|
||||
msgFileNotReadable: 'Το αρχείο "{name}" δεν είναι αναγνώσιμο.',
|
||||
msgFilePreviewAborted: 'Η προεπισκόπηση του αρχείου "{name}" ακυρώθηκε.',
|
||||
msgFilePreviewError: 'Παρουσιάστηκε σφάλμα κατά την ανάγνωση του αρχείου "{name}".',
|
||||
msgInvalidFileName: 'Μη έγκυροι χαρακτήρες στο όνομα του αρχείου "{name}".',
|
||||
msgInvalidFileType: 'Μη έγκυρος ο τύπος του αρχείου "{name}". Οι τύποι αρχείων που υποστηρίζονται είναι : "{types}".',
|
||||
msgInvalidFileExtension: 'Μη έγκυρη η επέκταση του αρχείου "{name}". Οι επεκτάσεις που υποστηρίζονται είναι : "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Η μεταφόρτωση του αρχείου ματαιώθηκε',
|
||||
msgUploadThreshold: 'Μεταφόρτωση ...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Σφάλμα Επικύρωσης',
|
||||
msgLoading: 'Φόρτωση αρχείου {index} από {files} …',
|
||||
msgProgress: 'Φόρτωση αρχείου {index} απο {files} - {name} - {percent}% ολοκληρώθηκε.',
|
||||
msgSelected: '{n} {files} επιλέχθηκαν',
|
||||
msgFoldersNotAllowed: 'Μπορείτε να σύρετε μόνο αρχεία! Παραβλέφθηκαν {n} φάκελος(οι).',
|
||||
msgImageWidthSmall: 'Το πλάτος του αρχείου εικόνας "{name}" πρέπει να είναι τουλάχιστον {size} px.',
|
||||
msgImageHeightSmall: 'Το ύψος του αρχείου εικόνας "{name}" πρέπει να είναι τουλάχιστον {size} px.',
|
||||
msgImageWidthLarge: 'Το πλάτος του αρχείου εικόνας "{name}" δεν μπορεί να υπερβαίνει το {size} px.',
|
||||
msgImageHeightLarge: 'Το ύψος του αρχείου εικόνας "{name}" δεν μπορεί να υπερβαίνει το {size} px.',
|
||||
msgImageResizeError: 'Δεν μπορούν να βρεθούν οι διαστάσεις της εικόνας για να αλλάγή μεγέθους.',
|
||||
msgImageResizeException: 'Σφάλμα κατά την αλλαγή μεγέθους της εικόνας. <pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Σύρετε τα αρχεία εδώ …',
|
||||
dropZoneClickTitle: '<br>(ή πατήστε για επιλογή {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Αφαιρέστε το αρχείο',
|
||||
uploadTitle: 'Μεταφορτώστε το αρχείο',
|
||||
zoomTitle: 'Δείτε λεπτομέρειες',
|
||||
dragTitle: 'Μετακίνηση/Προσπαρμογή',
|
||||
indicatorNewTitle: 'Δεν μεταφορτώθηκε ακόμα',
|
||||
indicatorSuccessTitle: 'Μεταφορτώθηκε',
|
||||
indicatorErrorTitle: 'Σφάλμα Μεταφόρτωσης',
|
||||
indicatorLoadingTitle: 'Μεταφόρτωση ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Προηγούμενο αρχείο',
|
||||
next: 'Επόμενο αρχείο',
|
||||
toggleheader: 'Εμφάνιση/Απόκρυψη τίτλου',
|
||||
fullscreen: 'Εναλλαγή πλήρους οθόνης',
|
||||
borderless: 'Με ή χωρίς πλαίσιο',
|
||||
close: 'Κλείσιμο προβολής'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/es.js
Normal file
96
js/file/js/locales/es.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Spanish 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['es'] = {
|
||||
fileSingle: 'archivo',
|
||||
filePlural: 'archivos',
|
||||
browseLabel: 'Examinar …',
|
||||
removeLabel: 'Quitar',
|
||||
removeTitle: 'Quitar archivos seleccionados',
|
||||
cancelLabel: 'Cancelar',
|
||||
cancelTitle: 'Abortar la subida en curso',
|
||||
uploadLabel: 'Subir archivo',
|
||||
uploadTitle: 'Subir archivos seleccionados',
|
||||
msgNo: 'No',
|
||||
msgNoFilesSelected: 'No hay archivos seleccionados',
|
||||
msgCancelled: 'Cancelado',
|
||||
msgZoomModalHeading: 'Vista previa detallada',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'El archivo "{name}" (<b>{size} KB</b>) es demasiado pequeño y debe ser mayor de <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'El archivo "{name}" (<b>{size} KB</b>) excede el tamaño máximo permitido de <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Debe seleccionar al menos <b>{n}</b> {files} a cargar.',
|
||||
msgFilesTooMany: 'El número de archivos seleccionados a cargar <b>({n})</b> excede el límite máximo permitido de <b>{m}</b>.',
|
||||
msgFileNotFound: 'Archivo "{name}" no encontrado.',
|
||||
msgFileSecured: 'No es posible acceder al archivo "{name}" porque estará siendo usado por otra aplicación o no tengamos permisos de lectura.',
|
||||
msgFileNotReadable: 'No es posible acceder al archivo "{name}".',
|
||||
msgFilePreviewAborted: 'Previsualización del archivo "{name}" cancelada.',
|
||||
msgFilePreviewError: 'Ocurrió un error mientras se leía el archivo "{name}".',
|
||||
msgInvalidFileName: 'Caracteres no válidos o no soportados en el nombre de archivo "{name}".',
|
||||
msgInvalidFileType: 'Tipo de archivo no válido para "{name}". Sólo se permiten archivos de tipo "{types}".',
|
||||
msgInvalidFileExtension: 'Extensión de archivo no válido para "{name}". Sólo se permiten archivos "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'La carga de archivos se ha cancelado',
|
||||
msgUploadThreshold: 'Procesando...',
|
||||
msgUploadBegin: 'Inicializando...',
|
||||
msgUploadEnd: 'Hecho',
|
||||
msgUploadEmpty: 'No existen datos válidos para el envío.',
|
||||
msgValidationError: 'Error de validación',
|
||||
msgLoading: 'Subiendo archivo {index} de {files} …',
|
||||
msgProgress: 'Subiendo archivo {index} de {files} - {name} - {percent}% completado.',
|
||||
msgSelected: '{n} {files} seleccionado(s)',
|
||||
msgFoldersNotAllowed: 'Arrastre y suelte únicamente archivos. Omitida(s) {n} carpeta(s).',
|
||||
msgImageWidthSmall: 'El ancho de la imagen "{name}" debe ser de al menos {size} px.',
|
||||
msgImageHeightSmall: 'La altura de la imagen "{name}" debe ser de al menos {size} px.',
|
||||
msgImageWidthLarge: 'El ancho de la imagen "{name}" no puede exceder de {size} px.',
|
||||
msgImageHeightLarge: 'La altura de la imagen "{name}" no puede exceder de {size} px.',
|
||||
msgImageResizeError: 'No se pudieron obtener las dimensiones de la imagen para cambiar el tamaño.',
|
||||
msgImageResizeException: 'Error al cambiar el tamaño de la imagen.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Algo ha ido mal con la operación {operation}. Por favor, inténtelo de nuevo mas tarde.',
|
||||
msgAjaxProgressError: 'La operación {operation} ha fallado',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'Archivo borrado',
|
||||
uploadThumb: 'Archivo subido',
|
||||
uploadBatch: 'Datos subidos en lote',
|
||||
uploadExtra: 'Datos do formulario subidos '
|
||||
},
|
||||
dropZoneTitle: 'Arrastre y suelte aquí los archivos …',
|
||||
dropZoneClickTitle: '<br>(o haga clic para seleccionar {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Eliminar archivo',
|
||||
uploadTitle: 'Subir archivo',
|
||||
zoomTitle: 'Ver detalles',
|
||||
dragTitle: 'Mover / Reordenar',
|
||||
indicatorNewTitle: 'No subido todavía',
|
||||
indicatorSuccessTitle: 'Subido',
|
||||
indicatorErrorTitle: 'Error al subir',
|
||||
indicatorLoadingTitle: 'Subiendo...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Ver archivo anterior',
|
||||
next: 'Ver archivo siguiente',
|
||||
toggleheader: 'Mostrar encabezado',
|
||||
fullscreen: 'Mostrar a pantalla completa',
|
||||
borderless: 'Activar el modo sin bordes',
|
||||
close: 'Cerrar vista detallada'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/et.js
Normal file
96
js/file/js/locales/et.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Estonian 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['et'] = {
|
||||
fileSingle: 'fail',
|
||||
filePlural: 'failid',
|
||||
browseLabel: 'Sirvi …',
|
||||
removeLabel: 'Eemalda',
|
||||
removeTitle: 'Clear selected files',
|
||||
cancelLabel: 'Tühista',
|
||||
cancelTitle: 'Abort ongoing upload',
|
||||
uploadLabel: 'Salvesta',
|
||||
uploadTitle: 'Salvesta valitud failid',
|
||||
msgNo: 'No',
|
||||
msgNoFilesSelected: 'No files selected',
|
||||
msgCancelled: 'Cancelled',
|
||||
msgZoomModalHeading: 'Detailed Preview',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Fail "{name}" (<b>{size} KB</b>) ületab lubatu suuruse <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload.',
|
||||
msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>.',
|
||||
msgFileNotFound: 'File "{name}" not found!',
|
||||
msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
|
||||
msgFileNotReadable: 'File "{name}" is not readable.',
|
||||
msgFilePreviewAborted: 'File preview aborted for "{name}".',
|
||||
msgFilePreviewError: 'An error occurred while reading the file "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: '"{name}" on vale tüüpi. Ainult "{types}" on lubatud.',
|
||||
msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'The file upload was aborted',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Validation Error',
|
||||
msgLoading: 'Loading file {index} of {files} …',
|
||||
msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
|
||||
msgSelected: '{n} {files} selected',
|
||||
msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
|
||||
msgImageWidthSmall: 'Pildi laius peab olema vähemalt {size} px.',
|
||||
msgImageHeightSmall: 'Pildi kõrgus peab olema vähemalt {size} px.',
|
||||
msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
|
||||
msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
|
||||
msgImageResizeError: 'Could not get the image dimensions to resize.',
|
||||
msgImageResizeException: 'Error while resizing the image.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Lohista failid siia …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Eemalda fail',
|
||||
uploadTitle: 'Salvesta fail',
|
||||
zoomTitle: 'Vaata detaile',
|
||||
dragTitle: 'Liiguta / Korralda',
|
||||
indicatorNewTitle: 'Pole veel salvestatud',
|
||||
indicatorSuccessTitle: 'Uploaded',
|
||||
indicatorErrorTitle: 'Salvestamise viga',
|
||||
indicatorLoadingTitle: 'Salvestan ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/fa.js
Normal file
97
js/file/js/locales/fa.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Persian 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
|
||||
* @author Milad Nekofar <milad@nekofar.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['fa'] = {
|
||||
fileSingle: 'فایل',
|
||||
filePlural: 'فایلها',
|
||||
browseLabel: 'مرور …',
|
||||
removeLabel: 'حذف',
|
||||
removeTitle: 'پاکسازی فایلهای انتخاب شده',
|
||||
cancelLabel: 'لغو',
|
||||
cancelTitle: 'لغو بارگزاری جاری',
|
||||
uploadLabel: 'بارگذاری',
|
||||
uploadTitle: 'بارگذاری فایلهای انتخاب شده',
|
||||
msgNo: 'نه',
|
||||
msgNoFilesSelected: 'هیچ فایلی انتخاب نشده است',
|
||||
msgCancelled: 'لغو شد',
|
||||
msgZoomModalHeading: 'نمایش با جزییات',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'فایل "{name}" (<b>{size} کیلوبایت</b>) خیلی کوچک است و باید از <b>{minSize} کیلوبایت بزرگتر باشد</b>.',
|
||||
msgSizeTooLarge: 'فایل "{name}" (<b>{size} کیلوبایت</b>) از حداکثر مجاز <b>{maxSize} کیلوبایت</b> بزرگتر است.',
|
||||
msgFilesTooLess: 'شما باید حداقل <b>{n}</b> {files} فایل برای بارگذاری انتخاب کنید.',
|
||||
msgFilesTooMany: 'تعداد فایلهای انتخاب شده برای بارگذاری <b>({n})</b> از حداکثر مجاز عبور کرده است <b>{m}</b>.',
|
||||
msgFileNotFound: 'فایل "{name}" یافت نشد!',
|
||||
msgFileSecured: 'محدودیت های امنیتی مانع خواندن فایل "{name}" است.',
|
||||
msgFileNotReadable: 'فایل "{name}" قابل نوشتن نیست.',
|
||||
msgFilePreviewAborted: 'پیش نمایش فایل "{name}". به مشکل خورد',
|
||||
msgFilePreviewError: 'در هنگام خواندن فایل "{name}" خطایی رخ داد.',
|
||||
msgInvalidFileName: 'کاراکترهای غیرمجاز و یا ناشناخته در نام فایل "{name}".',
|
||||
msgInvalidFileType: 'نوع فایل "{name}" معتبر نیست. فقط "{types}" پشیبانی میشوند.',
|
||||
msgInvalidFileExtension: 'پسوند فایل "{name}" معتبر نیست. فقط "{extensions}" پشتیبانی میشوند.',
|
||||
msgFileTypes: {
|
||||
'image': 'عکس',
|
||||
'html': 'اچ تا ام ال',
|
||||
'text': 'متن',
|
||||
'video': 'ویدئو',
|
||||
'audio': 'صدا',
|
||||
'flash': 'فلش',
|
||||
'pdf': 'پی دی اف',
|
||||
'object': 'دیگر'
|
||||
},
|
||||
msgUploadAborted: 'بارگذاری فایل به مشکل خورد.',
|
||||
msgUploadThreshold: 'در حال پردازش...',
|
||||
msgUploadBegin: 'در حال شروع...',
|
||||
msgUploadEnd: 'انجام شد',
|
||||
msgUploadEmpty: 'هیچ داده معتبری برای بارگذاری موجود نیست.',
|
||||
msgValidationError: 'خطای اعتبار سنجی',
|
||||
msgLoading: 'بارگیری فایل {index} از {files} …',
|
||||
msgProgress: 'بارگیری فایل {index} از {files} - {name} - {percent}% تمام شد.',
|
||||
msgSelected: '{n} {files} انتخاب شده',
|
||||
msgFoldersNotAllowed: 'فقط فایلها را بکشید و رها کنید! {n} پوشه نادیده گرفته شد.',
|
||||
msgImageWidthSmall: 'عرض فایل تصویر "{name}" باید حداقل {size} پیکسل باشد.',
|
||||
msgImageHeightSmall: 'ارتفاع فایل تصویر "{name}" باید حداقل {size} پیکسل باشد.',
|
||||
msgImageWidthLarge: 'عرض فایل تصویر "{name}" نمیتواند از {size} پیکسل بیشتر باشد.',
|
||||
msgImageHeightLarge: 'ارتفاع فایل تصویر "{name}" نمیتواند از {size} پیکسل بیشتر باشد.',
|
||||
msgImageResizeError: 'یافت نشد ابعاد تصویر را برای تغییر اندازه.',
|
||||
msgImageResizeException: 'خطا در هنگام تغییر اندازه تصویر.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'به نظر مشکلی در حین {operation} روی داده است. لطفا دوباره تلاش کنید!',
|
||||
msgAjaxProgressError: '{operation} لغو شد',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'حذف فایل',
|
||||
uploadThumb: 'بارگذاری فایل',
|
||||
uploadBatch: 'بارگذاری جمعی فایلها',
|
||||
uploadExtra: 'بارگذاری با کمک فُرم'
|
||||
},
|
||||
dropZoneTitle: 'فایلها را بکشید و در اینجا رها کنید …',
|
||||
dropZoneClickTitle: '<br>(یا برای انتخاب {files} کلیک کنید)',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'حذف فایل',
|
||||
uploadTitle: 'آپلود فایل',
|
||||
zoomTitle: 'دیدن جزئیات',
|
||||
dragTitle: 'جابجایی / چیدمان',
|
||||
indicatorNewTitle: 'آپلود نشده است',
|
||||
indicatorSuccessTitle: 'آپلود شده',
|
||||
indicatorErrorTitle: 'بارگذاری خطا',
|
||||
indicatorLoadingTitle: 'آپلود ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'مشاهده فایل قبلی',
|
||||
next: 'مشاهده فایل بعدی',
|
||||
toggleheader: 'نمایش عنوان',
|
||||
fullscreen: 'نمایش تمام صفحه',
|
||||
borderless: 'نمایش حاشیه',
|
||||
close: 'بستن نمایش با جزییات'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
88
js/file/js/locales/fi.js
Normal file
88
js/file/js/locales/fi.js
Normal file
@@ -0,0 +1,88 @@
|
||||
/*!
|
||||
* FileInput Finnish 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales.fi = {
|
||||
fileSingle: 'tiedosto',
|
||||
filePlural: 'tiedostot',
|
||||
browseLabel: 'Selaa …',
|
||||
removeLabel: 'Poista',
|
||||
removeTitle: 'Tyhjännä valitut tiedostot',
|
||||
cancelLabel: 'Peruuta',
|
||||
cancelTitle: 'Peruuta lataus',
|
||||
uploadLabel: 'Lataa',
|
||||
uploadTitle: 'Lataa valitut tiedostot',
|
||||
msgNoFilesSelected: '',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Tiedosto "{name}" (<b>{size} Kt</b>) ylittää suurimman sallitun tiedoston koon, joka on <b>{maxSize} Kt</b>. Yritä uudelleen!',
|
||||
msgFilesTooLess: 'Vähintään <b>{n}</b> {files} tiedostoa on valittava ladattavaksi. Ole hyvä ja yritä uudelleen!',
|
||||
msgFilesTooMany: 'Valittujen tiedostojen lukumäärä <b>({n})</b> ylittää suurimman sallitun määrän <b>{m}</b>. Ole hyvä ja yritä uudelleen!',
|
||||
msgFileNotFound: 'Tiedostoa "{name}" ei löydy!',
|
||||
msgFileSecured: 'Tietoturvarajoitukset estävät tiedoston "{name}" lukemisen.',
|
||||
msgFileNotReadable: 'Tiedosto "{name}" ei ole luettavissa.',
|
||||
msgFilePreviewAborted: 'Tiedoston "{name}" esikatselu keskeytetty.',
|
||||
msgFilePreviewError: 'Virhe on tapahtunut luettaessa tiedostoa "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Tiedosto "{name}" on väärän tyyppinen. Ainoastaan tiedostot tyyppiä "{types}" ovat tuettuja.',
|
||||
msgInvalidFileExtension: 'Tiedoston "{name}" tarkenne on epäkelpo. Ainoastaan tarkenteet "{extensions}" ovat tuettuja.',
|
||||
msgFileTypes: {
|
||||
'image': 'Kuva',
|
||||
'html': 'HTML',
|
||||
'text': 'Teksti',
|
||||
'video': 'Video',
|
||||
'audio': 'Ääni',
|
||||
'flash': 'Flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'Olio'
|
||||
},
|
||||
msgUploadThreshold: 'Käsitellään...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'Ei ladattavaa dataa.',
|
||||
msgValidationError: 'Tiedoston latausvirhe',
|
||||
msgLoading: 'Ladataan tiedostoa {index} / {files} …',
|
||||
msgProgress: 'Ladataan tiedostoa {index} / {files} - {name} - {percent}% valmistunut.',
|
||||
msgSelected: '{n} tiedostoa valittu',
|
||||
msgFoldersNotAllowed: 'Raahaa ja pudota ainoastaan tiedostoja! Ohitettu {n} raahattua kansiota.',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Raahaa ja pudota tiedostot tähän …',
|
||||
dropZoneClickTitle: '<br>(tai valitse hiirellä {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Poista tiedosto',
|
||||
uploadTitle: 'Upload file',
|
||||
zoomTitle: 'Yksityiskohdat',
|
||||
dragTitle: 'Siirrä / Järjestele',
|
||||
indicatorNewTitle: 'Ei ladattu',
|
||||
indicatorSuccessTitle: 'Ladattu',
|
||||
indicatorErrorTitle: 'Lataus epäonnistui',
|
||||
indicatorLoadingTitle: 'Ladataan ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Seuraava tiedosto',
|
||||
next: 'Edellinen tiedosto',
|
||||
toggleheader: 'Näytä otsikko',
|
||||
fullscreen: 'Kokonäytön tila',
|
||||
borderless: 'Rajaton tila',
|
||||
close: 'Sulje esikatselu'
|
||||
}
|
||||
};
|
||||
|
||||
$.extend($.fn.fileinput.defaults, $.fn.fileinputLocales.fi);
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/fr.js
Normal file
96
js/file/js/locales/fr.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput French 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['fr'] = {
|
||||
fileSingle: 'fichier',
|
||||
filePlural: 'fichiers',
|
||||
browseLabel: 'Parcourir…',
|
||||
removeLabel: 'Retirer',
|
||||
removeTitle: 'Retirer les fichiers sélectionnés',
|
||||
cancelLabel: 'Annuler',
|
||||
cancelTitle: "Annuler l'envoi en cours",
|
||||
uploadLabel: 'Transférer',
|
||||
uploadTitle: 'Transférer les fichiers sélectionnés',
|
||||
msgNo: 'Non',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Annulé',
|
||||
msgZoomModalHeading: 'Aperçu détaillé',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Le fichier "{name}" (<b>{size} Ko</b>) dépasse la taille maximale autorisée qui est de <b>{maxSize} Ko</b>.',
|
||||
msgFilesTooLess: 'Vous devez sélectionner au moins <b>{n}</b> {files} à transmettre.',
|
||||
msgFilesTooMany: 'Le nombre de fichier sélectionné <b>({n})</b> dépasse la quantité maximale autorisée qui est de <b>{m}</b>.',
|
||||
msgFileNotFound: 'Le fichier "{name}" est introuvable !',
|
||||
msgFileSecured: "Des restrictions de sécurité vous empêchent d'accéder au fichier \"{name}\".",
|
||||
msgFileNotReadable: 'Le fichier "{name}" est illisble.',
|
||||
msgFilePreviewAborted: 'Prévisualisation du fichier "{name}" annulée.',
|
||||
msgFilePreviewError: 'Une erreur est survenue lors de la lecture du fichier "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Type de document invalide pour "{name}". Seulement les documents de type "{types}" sont autorisés.',
|
||||
msgInvalidFileExtension: 'Extension invalide pour le fichier "{name}". Seules les extensions "{extensions}" sont autorisées.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Le téléchargement du fichier a été interrompu',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Erreur de validation',
|
||||
msgLoading: 'Transmission du fichier {index} sur {files}…',
|
||||
msgProgress: 'Transmission du fichier {index} sur {files} - {name} - {percent}% faits.',
|
||||
msgSelected: '{n} {files} sélectionné(s)',
|
||||
msgFoldersNotAllowed: 'Glissez et déposez uniquement des fichiers ! {n} répertoire(s) exclu(s).',
|
||||
msgImageWidthSmall: 'Largeur de fichier image "{name}" doit être d\'au moins {size} px.',
|
||||
msgImageHeightSmall: 'Hauteur de fichier image "{name}" doit être d\'au moins {size} px.',
|
||||
msgImageWidthLarge: 'Largeur de fichier image "{name}" ne peut pas dépasser {size} px.',
|
||||
msgImageHeightLarge: 'Hauteur de fichier image "{name}" ne peut pas dépasser {size} px.',
|
||||
msgImageResizeError: "Impossible d'obtenir les dimensions de l'image à redimensionner.",
|
||||
msgImageResizeException: "Erreur lors du redimensionnement de l'image.<pre>{errors}</pre>",
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Glissez et déposez les fichiers ici…',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Supprimer le fichier',
|
||||
uploadTitle: 'Télécharger un fichier',
|
||||
zoomTitle: 'Voir les détails',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Pas encore téléchargé',
|
||||
indicatorSuccessTitle: 'Posté',
|
||||
indicatorErrorTitle: 'Ajouter erreur',
|
||||
indicatorLoadingTitle: 'ajout ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/gl.js
Normal file
96
js/file/js/locales/gl.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Galician 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['gl'] = {
|
||||
fileSingle: 'arquivo',
|
||||
filePlural: 'arquivos',
|
||||
browseLabel: 'Examinar …',
|
||||
removeLabel: 'Quitar',
|
||||
removeTitle: 'Quitar aquivos seleccionados',
|
||||
cancelLabel: 'Cancelar',
|
||||
cancelTitle: 'Abortar a subida en curso',
|
||||
uploadLabel: 'Subir arquivo',
|
||||
uploadTitle: 'Subir arquivos seleccionados',
|
||||
msgNo: 'Non',
|
||||
msgNoFilesSelected: 'Non hay arquivos seleccionados',
|
||||
msgCancelled: 'Cancelado',
|
||||
msgZoomModalHeading: 'Vista previa detallada',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'O arquivo "{name}" (<b>{size} KB</b>) é demasiado pequeño e debe ser maior de <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'El arquivo "{name}" (<b>{size} KB</b>) excede o tamaño máximo permitido de <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Debe seleccionar al menos <b>{n}</b> {files} a cargar.',
|
||||
msgFilesTooMany: 'O número de arquivos seleccionados a cargar <b>({n})</b> excede do límite máximo permitido de <b>{m}</b>.',
|
||||
msgFileNotFound: 'Arquivo "{name}" non encontrado.',
|
||||
msgFileSecured: 'Non é posible acceder o arquivo "{name}" porque estará sendo usado por outra aplicación ou non teñamos permisos de lectura.',
|
||||
msgFileNotReadable: 'Non é posible acceder o archivo "{name}".',
|
||||
msgFilePreviewAborted: 'Previsualización do arquivo "{name}" cancelada.',
|
||||
msgFilePreviewError: 'Ocurriu un erro mentras se lía o arquivo "{name}".',
|
||||
msgInvalidFileName: 'Caracteres non válidos o no soportados no nome do arquivos "{name}".',
|
||||
msgInvalidFileType: 'Tipo de archivo no válido para "{name}". Sólo se permiten arquivos do tipo "{types}".',
|
||||
msgInvalidFileExtension: 'Extensión de arquivo non válido para "{name}". Só se permiten arquivos "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'imaxe',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'A carga de arquivos cancelouse',
|
||||
msgUploadThreshold: 'Procesando...',
|
||||
msgUploadBegin: 'Inicialicando...',
|
||||
msgUploadEnd: 'Feito',
|
||||
msgUploadEmpty: 'Non existen datos válidos para o envío.',
|
||||
msgValidationError: 'Erro de validación',
|
||||
msgLoading: 'Subindo arquivo {index} de {files} …',
|
||||
msgProgress: 'Subiendo arquivo {index} de {files} - {name} - {percent}% completado.',
|
||||
msgSelected: '{n} {files} seleccionado(s)',
|
||||
msgFoldersNotAllowed: 'Arrastra e solta únicamente arquivoa. Omitida(s) {n} carpeta(s).',
|
||||
msgImageWidthSmall: 'O ancho da imaxe "{name}" debe ser de al menos {size} px.',
|
||||
msgImageHeightSmall: 'A altura de la imaxe "{name}" debe ser de al menos {size} px.',
|
||||
msgImageWidthLarge: 'El ancho de la imaxe "{name}" no puede exceder de {size} px.',
|
||||
msgImageHeightLarge: 'La altura de la imaxe "{name}" no puede exceder de {size} px.',
|
||||
msgImageResizeError: 'No se pudieron obtener las dimensiones de la imaxe para cambiar el tamaño.',
|
||||
msgImageResizeException: 'Erro o cambiar o tamaño da imaxe.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Algo foi mal ca operación {operation}. Por favor, intentao de novo mais tarde.',
|
||||
msgAjaxProgressError: 'A operación {operation} fallou',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'Arquivo borrado',
|
||||
uploadThumb: 'Arquivo subido',
|
||||
uploadBatch: 'Datos subidos en lote',
|
||||
uploadExtra: 'Datos do formulario subidos'
|
||||
},
|
||||
dropZoneTitle: 'Arrasta e solte aquí os arquivos …',
|
||||
dropZoneClickTitle: '<br>(ou fai clic para seleccionar {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Eliminar arquivo',
|
||||
uploadTitle: 'Subir arquivo',
|
||||
zoomTitle: 'Ver detalles',
|
||||
dragTitle: 'Mover / Reordenar',
|
||||
indicatorNewTitle: 'Non subido todavía',
|
||||
indicatorSuccessTitle: 'Subido',
|
||||
indicatorErrorTitle: 'Erro o subir',
|
||||
indicatorLoadingTitle: 'Subiendo...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Ver arquivo anterior',
|
||||
next: 'Ver arquivo siguinte',
|
||||
toggleheader: 'Mostrar encabezado',
|
||||
fullscreen: 'Mostrar a pantalla completa',
|
||||
borderless: 'Activar o modo sen bordes',
|
||||
close: 'Cerrar vista detallada'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/hu.js
Normal file
96
js/file/js/locales/hu.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Hungarian 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['hu'] = {
|
||||
fileSingle: 'fájl',
|
||||
filePlural: 'fájlok',
|
||||
browseLabel: 'Tallóz …',
|
||||
removeLabel: 'Eltávolít',
|
||||
removeTitle: 'Kijelölt fájlok törlése',
|
||||
cancelLabel: 'Mégse',
|
||||
cancelTitle: 'Feltöltés megszakítása',
|
||||
uploadLabel: 'Feltöltés',
|
||||
uploadTitle: 'Kijelölt fájlok feltöltése',
|
||||
msgNo: 'Nem',
|
||||
msgNoFilesSelected: 'Nincs fájl kiválasztva',
|
||||
msgCancelled: 'Megszakítva',
|
||||
msgZoomModalHeading: 'Részletes Előnézet',
|
||||
msgFileRequired: 'Kötelező fájlt kiválasztani a feltöltéshez.',
|
||||
msgSizeTooSmall: 'A fájl: "{name}" (<b>{size} KB</b>) mérete túl kicsi, nagyobbnak kell lennie, mint <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: '"{name}" fájl (<b>{size} KB</b>) mérete nagyobb a megengedettnél <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Legalább <b>{n}</b> {files} ki kell választania a feltöltéshez.',
|
||||
msgFilesTooMany: 'A feltölteni kívánt fájlok száma <b>({n})</b> elérte a megengedett maximumot <b>{m}</b>.',
|
||||
msgFileNotFound: '"{name}" fájl nem található!',
|
||||
msgFileSecured: 'Biztonsági beállítások nem engedik olvasni a fájlt "{name}".',
|
||||
msgFileNotReadable: '"{name}" fájl nem olvasható.',
|
||||
msgFilePreviewAborted: '"{name}" fájl feltöltése megszakítva.',
|
||||
msgFilePreviewError: 'Hiba lépett fel a "{name}" fájl olvasása közben.',
|
||||
msgInvalidFileName: 'Hibás vagy nem támogatott karakterek a fájl nevében "{name}".',
|
||||
msgInvalidFileType: 'Nem megengedett fájl "{name}". Csak a "{types}" fájl típusok támogatottak.',
|
||||
msgInvalidFileExtension: 'Nem megengedett kiterjesztés / fájltípus "{name}". Csak a "{extensions}" kiterjesztés(ek) / fájltípus(ok) támogatottak.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'A fájl feltöltés megszakítva',
|
||||
msgUploadThreshold: 'Folyamatban...',
|
||||
msgUploadBegin: 'Inicializálás...',
|
||||
msgUploadEnd: 'Kész',
|
||||
msgUploadEmpty: 'Nincs érvényes adat a feltöltéshez.',
|
||||
msgValidationError: 'Érvényesítés hiba',
|
||||
msgLoading: '{index} / {files} töltése …',
|
||||
msgProgress: 'Feltöltés: {index} / {files} - {name} - {percent}% kész.',
|
||||
msgSelected: '{n} {files} kiválasztva.',
|
||||
msgFoldersNotAllowed: 'Csak fájlokat húzzon ide! Kihagyva {n} könyvtár.',
|
||||
msgImageWidthSmall: 'A kép szélességének "{name}" legalább {size} pixelnek kell lennie.',
|
||||
msgImageHeightSmall: 'A kép magasságának "{name}" legalább {size} pixelnek kell lennie.',
|
||||
msgImageWidthLarge: 'A kép szélessége "{name}" nem haladhatja meg a {size} pixelt.',
|
||||
msgImageHeightLarge: 'A kép magassága "{name}" nem haladhatja meg a {size} pixelt.',
|
||||
msgImageResizeError: 'Nem lehet megállapítani a kép méreteit az átméretezéshez.',
|
||||
msgImageResizeException: 'Hiba történt a méretezés közben.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Hiba történt a művelet közben ({operation}). Kérjük, próbálja később!',
|
||||
msgAjaxProgressError: 'Hiba! ({operation})',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'fájl törlés',
|
||||
uploadThumb: 'fájl feltöltés',
|
||||
uploadBatch: 'csoportos fájl feltöltés',
|
||||
uploadExtra: 'űrlap adat feltöltés'
|
||||
},
|
||||
dropZoneTitle: 'Húzzon ide fájlokat …',
|
||||
dropZoneClickTitle: '<br>(vagy kattintson ide a {files} tallózásához...)',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'A fájl eltávolítása',
|
||||
uploadTitle: 'fájl feltöltése',
|
||||
zoomTitle: 'Részletek megtekintése',
|
||||
dragTitle: 'Mozgatás / Átrendezés',
|
||||
indicatorNewTitle: 'Nem feltöltött',
|
||||
indicatorSuccessTitle: 'Feltöltött',
|
||||
indicatorErrorTitle: 'Feltöltés hiba',
|
||||
indicatorLoadingTitle: 'Feltöltés ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Elöző fájl megnézése',
|
||||
next: 'Következő fájl megnézése',
|
||||
toggleheader: 'Fejléc mutatása',
|
||||
fullscreen: 'Teljes képernyős mód bekapcsolása',
|
||||
borderless: 'Keret nélküli ablak mód bekapcsolása',
|
||||
close: 'Részletes előnézet bezárása'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/id.js
Normal file
97
js/file/js/locales/id.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Indonesian 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
|
||||
* @author Bambang Riswanto <bamz3r@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['id'] = {
|
||||
fileSingle: 'berkas',
|
||||
filePlural: 'berkas',
|
||||
browseLabel: 'Pilih File …',
|
||||
removeLabel: 'Hapus',
|
||||
removeTitle: 'Hapus berkas terpilih',
|
||||
cancelLabel: 'Batal',
|
||||
cancelTitle: 'Batalkan proses pengunggahan',
|
||||
uploadLabel: 'Unggah',
|
||||
uploadTitle: 'Unggah berkas terpilih',
|
||||
msgNo: 'Tidak',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Dibatalkan',
|
||||
msgZoomModalHeading: 'Pratinjau terperinci',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Berkas "{name}" (<b>{size} KB</b>) melebihi ukuran upload maksimal yaitu <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Anda harus memilih setidaknya <b>{n}</b> {files} untuk diunggah.',
|
||||
msgFilesTooMany: '<b>({n})</b> berkas yang dipilih untuk diunggah melebihi ukuran upload maksimal yaitu <b>{m}</b>.',
|
||||
msgFileNotFound: 'Berkas "{name}" tak ditemukan!',
|
||||
msgFileSecured: 'Sistem keamanan mencegah untuk membaca berkas "{name}".',
|
||||
msgFileNotReadable: 'Berkas "{name}" tak dapat dibaca.',
|
||||
msgFilePreviewAborted: 'Pratinjau untuk berkas "{name}" dibatalkan.',
|
||||
msgFilePreviewError: 'Kesalahan saat membaca berkas "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Jenis berkas "{name}" tidak sah. Hanya berkas "{types}" yang didukung.',
|
||||
msgInvalidFileExtension: 'Ekstensi berkas "{name}" tidak sah. Hanya ekstensi "{extensions}" yang didukung.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Pengunggahan berkas dibatalkan',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Kesalahan validasi',
|
||||
msgLoading: 'Memuat {index} dari {files} berkas …',
|
||||
msgProgress: 'Memuat {index} dari {files} berkas - {name} - {percent}% selesai.',
|
||||
msgSelected: '{n} {files} dipilih',
|
||||
msgFoldersNotAllowed: 'Hanya tahan dan lepas file saja! {n} folder diabaikan.',
|
||||
msgImageWidthSmall: 'Lebar dari gambar "{name}" harus sekurangnya {size} px.',
|
||||
msgImageHeightSmall: 'Tinggi dari gambar "{name}" harus sekurangnya {size} px.',
|
||||
msgImageWidthLarge: 'Lebar dari gambar "{name}" tak boleh melebihi {size} px.',
|
||||
msgImageHeightLarge: 'Tinggi dari gambar "{name}" tak boleh melebihi {size} px.',
|
||||
msgImageResizeError: 'Tak dapat menentukan dimensi gambar untuk mengubah ukuran.',
|
||||
msgImageResizeException: 'Kesalahan saat mengubah ukuran gambar.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Tarik dan lepaskan berkas disini …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Hapus berkas',
|
||||
uploadTitle: 'Unggah berkas',
|
||||
zoomTitle: 'Tampilkan Rincian',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Belum diunggah',
|
||||
indicatorSuccessTitle: 'Sudah diunggah',
|
||||
indicatorErrorTitle: 'Kesalahan pengunggahan',
|
||||
indicatorLoadingTitle: 'Mengunggah ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
98
js/file/js/locales/it.js
Normal file
98
js/file/js/locales/it.js
Normal file
@@ -0,0 +1,98 @@
|
||||
/*!
|
||||
* FileInput Italian Translation
|
||||
*
|
||||
* Author: Lorenzo Milesi <maxxer@yetopen.it>
|
||||
*
|
||||
* 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['it'] = {
|
||||
fileSingle: 'file',
|
||||
filePlural: 'file',
|
||||
browseLabel: 'Sfoglia…',
|
||||
removeLabel: 'Rimuovi',
|
||||
removeTitle: 'Rimuovi i file selezionati',
|
||||
cancelLabel: 'Annulla',
|
||||
cancelTitle: 'Annulla i caricamenti in corso',
|
||||
uploadLabel: 'Carica',
|
||||
uploadTitle: 'Carica i file selezionati',
|
||||
msgNo: 'No',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Annullato',
|
||||
msgZoomModalHeading: 'Anteprima dettagliata',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Il file "{name}" (<b>{size} KB</b>) eccede la dimensione massima di caricamento di <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Devi selezionare almeno <b>{n}</b> {files} da caricare.',
|
||||
msgFilesTooMany: 'Il numero di file selezionati per il caricamento <b>({n})</b> eccede il numero massimo di file accettati <b>{m}</b>.',
|
||||
msgFileNotFound: 'File "{name}" non trovato!',
|
||||
msgFileSecured: 'Restrizioni di sicurezza impediscono la lettura del file "{name}".',
|
||||
msgFileNotReadable: 'Il file "{name}" non \xE8 leggibile.',
|
||||
msgFilePreviewAborted: 'Generazione anteprima per "{name}" annullata.',
|
||||
msgFilePreviewError: 'Errore durante la lettura del file "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Tipo non valido per il file "{name}". Sono ammessi solo file di tipo "{types}".',
|
||||
msgInvalidFileExtension: 'Estensione non valida per il file "{name}". Sono ammessi solo file con estensione "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Il caricamento del file è stata interrotta',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Errore di convalida',
|
||||
msgLoading: 'Caricamento file {index} di {files}…',
|
||||
msgProgress: 'Caricamento file {index} di {files} - {name} - {percent}% completato.',
|
||||
msgSelected: '{n} {files} selezionati',
|
||||
msgFoldersNotAllowed: 'Trascina solo file! Ignorata/e {n} cartella/e.',
|
||||
msgImageWidthSmall: 'Larghezza di file immagine "{name}" deve essere di almeno {size} px.',
|
||||
msgImageHeightSmall: 'Altezza di file immagine "{name}" deve essere di almeno {size} px.',
|
||||
msgImageWidthLarge: 'Larghezza di file immagine "{name}" non può superare {size} px.',
|
||||
msgImageHeightLarge: 'Altezza di file immagine "{name}" non può superare {size} px.',
|
||||
msgImageResizeError: "Impossibile ottenere le dimensioni dell'immagine per ridimensionare.",
|
||||
msgImageResizeException: "Errore durante il ridimensionamento dell'immagine.<pre>{errors}</pre>",
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Trascina i file qui…',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Rimuovere il file',
|
||||
uploadTitle: 'Caricare un file',
|
||||
zoomTitle: 'Guarda i dettagli',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Non ancora caricato',
|
||||
indicatorSuccessTitle: 'Caricati',
|
||||
indicatorErrorTitle: 'Carica Errore',
|
||||
indicatorLoadingTitle: 'Caricamento ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
106
js/file/js/locales/ja.js
Normal file
106
js/file/js/locales/ja.js
Normal file
@@ -0,0 +1,106 @@
|
||||
/*!
|
||||
* FileInput Japanese 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
|
||||
* @author Yuta Hoshina <hoshina@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
* slugCallback
|
||||
* \u4e00-\u9fa5 : Kanji (Chinese characters)
|
||||
* \u3040-\u309f : Hiragana (Japanese syllabary)
|
||||
* \u30a0-\u30ff\u31f0-\u31ff : Katakana (including phonetic extension)
|
||||
* \u3200-\u32ff : Enclosed CJK Letters and Months
|
||||
* \uff00-\uffef : Halfwidth and Fullwidth Forms
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['ja'] = {
|
||||
fileSingle: 'ファイル',
|
||||
filePlural: 'ファイル',
|
||||
browseLabel: 'ファイルを選択…',
|
||||
removeLabel: '削除',
|
||||
removeTitle: '選択したファイルを削除',
|
||||
cancelLabel: 'キャンセル',
|
||||
cancelTitle: 'アップロードをキャンセル',
|
||||
uploadLabel: 'アップロード',
|
||||
uploadTitle: '選択したファイルをアップロード',
|
||||
msgNo: 'いいえ',
|
||||
msgNoFilesSelected: 'ファイルが選択されていません',
|
||||
msgCancelled: 'キャンセル',
|
||||
msgZoomModalHeading: 'プレビュー',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'ファイル"{name}" (<b>{size} KB</b>)はアップロード可能な上限容量<b>{maxSize} KB</b>を超えています',
|
||||
msgFilesTooLess: '最低<b>{n}</b>個の{files}を選択してください',
|
||||
msgFilesTooMany: '選択したファイルの数<b>({n}個)</b>はアップロード可能な上限数<b>({m}個)</b>を超えています',
|
||||
msgFileNotFound: 'ファイル"{name}"はありませんでした',
|
||||
msgFileSecured: 'ファイル"{name}"は読み取り権限がないため取得できません',
|
||||
msgFileNotReadable: 'ファイル"{name}"は読み込めません',
|
||||
msgFilePreviewAborted: 'ファイル"{name}"のプレビューを中止しました',
|
||||
msgFilePreviewError: 'ファイル"{name}"の読み込み中にエラーが発生しました',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: '"{name}"は無効なファイル形式です。"{types}"形式のファイルのみサポートしています',
|
||||
msgInvalidFileExtension: '"{name}"は無効なファイル拡張子です。拡張子が"{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',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: '検証エラー',
|
||||
msgLoading: '{files}個中{index}個目のファイルを読み込み中…',
|
||||
msgProgress: '{files}個中{index}個のファイルを読み込み中 - {name} - {percent}% 完了',
|
||||
msgSelected: '{n}個の{files}を選択',
|
||||
msgFoldersNotAllowed: 'ドラッグ&ドロップが可能なのはファイルのみです。{n}個のフォルダ-は無視されました',
|
||||
msgImageWidthSmall: '画像ファイル"{name}"の幅が小さすぎます。画像サイズの幅は少なくとも{size}px必要です',
|
||||
msgImageHeightSmall: '画像ファイル"{name}"の高さが小さすぎます。画像サイズの高さは少なくとも{size}px必要です',
|
||||
msgImageWidthLarge: '画像ファイル"{name}"の幅がアップロード可能な画像サイズ({size}px)を超えています',
|
||||
msgImageHeightLarge: '画像ファイル"{name}"の高さがアップロード可能な画像サイズ({size}px)を超えています',
|
||||
msgImageResizeError: 'リサイズ時に画像サイズが取得できませんでした',
|
||||
msgImageResizeException: '画像のリサイズ時にエラーが発生しました。<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'ファイルをドラッグ&ドロップ…',
|
||||
dropZoneClickTitle: '<br>(または クリックして{files}を選択 )',
|
||||
slugCallback: function(text) {
|
||||
return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\u31f0-\u31ff\u3200-\u32ff\uff00-\uffef\-.\\\/ ]+/g, '') : '';
|
||||
},
|
||||
fileActionSettings: {
|
||||
removeTitle: 'ファイルを削除',
|
||||
uploadTitle: 'ファイルをアップロード',
|
||||
zoomTitle: 'プレビュー',
|
||||
dragTitle: '移動 / 再配置',
|
||||
indicatorNewTitle: 'まだアップロードされていません',
|
||||
indicatorSuccessTitle: 'アップロード済み',
|
||||
indicatorErrorTitle: 'アップロード失敗',
|
||||
indicatorLoadingTitle: 'アップロード中...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: '前のファイルを表示',
|
||||
next: '次のファイルを表示',
|
||||
toggleheader: 'ファイル情報の表示/非表示',
|
||||
fullscreen: 'フルスクリーン表示の開始/終了',
|
||||
borderless: 'フルウィンドウ表示の開始/終了',
|
||||
close: 'プレビューを閉じる'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/kr.js
Normal file
96
js/file/js/locales/kr.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Korean 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['kr'] = {
|
||||
fileSingle: '파일',
|
||||
filePlural: '파일들',
|
||||
browseLabel: '찾기 …',
|
||||
removeLabel: '지우기',
|
||||
removeTitle: '선택한 파일들 지우기',
|
||||
cancelLabel: '취소',
|
||||
cancelTitle: '업로드 중단하기',
|
||||
uploadLabel: '업로드',
|
||||
uploadTitle: '선택한 파일 업로드하기',
|
||||
msgNo: '아니요',
|
||||
msgNoFilesSelected: '선택한 파일이 없습니다.',
|
||||
msgCancelled: '취소되었습니다.',
|
||||
msgZoomModalHeading: '자세한 미리보기',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: '파일 "{name}" (<b>{size} KB</b>)이 너무 작습니다. <b>{minSize} KB</b>보다 용량이 커야 합니다..',
|
||||
msgSizeTooLarge: '파일 "{name}" (<b>{size} KB</b>)이 너무 큽니다. 허용 파일 사이즈는 <b>{maxSize} KB</b>.입니다.',
|
||||
msgFilesTooLess: '업로드하기 위해 최소 <b>{n}</b> {files}개의 파일을 선택해야 합니다.',
|
||||
msgFilesTooMany: '선택한 파일의 수 <b>({n})</b>가 업로드 허용 최고치인 <b>{m}</b>를 넘었습니다..',
|
||||
msgFileNotFound: '파일 "{name}"을 찾을 수 없습니다.!',
|
||||
msgFileSecured: '보안상의 이유로 파일 "{name}"을/를 읽을 수 없습니다..',
|
||||
msgFileNotReadable: '파일 "{name}"은/는 읽을 수 없습니다.',
|
||||
msgFilePreviewAborted: '파일 "{name}"의 미리보기가 중단되었습니다.',
|
||||
msgFilePreviewError: '파일 "{name}"을/를 읽다가 에러가 발생했습니다.',
|
||||
msgInvalidFileName: '파일 "{name}" 중 지원 불가능한 문자가 포함되어 있습니다.',
|
||||
msgInvalidFileType: '파일 "{name}"의 타입은 지원하지 않습니다. "{types}" 타입의 파일을 선택해 주십시요.',
|
||||
msgInvalidFileExtension: '파일 "{name}"의 익스텐션은 지원하지 않습니다. "{extensions}" 타입의 익스텐션을 선택해 주십시요.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: '파일 업로드가 중단되었습니다.',
|
||||
msgUploadThreshold: '업로드 중...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: '업로드 가능 데이터가 존재하지 않습니다.',
|
||||
msgValidationError: '유효성 오류',
|
||||
msgLoading: '파일 {files} 중 {index}번째를 로딩하고 있습니다. …',
|
||||
msgProgress: '파일 {files}의 {name}이 {percent}% 로딩되었습니다. ',
|
||||
msgSelected: '{n} {files}이 선택 되었습니다.',
|
||||
msgFoldersNotAllowed: '드래그 앤 드랍 파일만 가능합니다! 드랍한 {n}번째 폴더를 건너 뛰었습니다.',
|
||||
msgImageWidthSmall: '이미지 파일 "{name}"의 가로는 최소 {size} px가 되어야 합니다.',
|
||||
msgImageHeightSmall: '이미지 파일 "{name}"의 세로는 최소 {size} px가 되어야 합니다.',
|
||||
msgImageWidthLarge: '이미지 파일 "{name}"의 가로는 최대 {size} px를 넘을수 없습니다.',
|
||||
msgImageHeightLarge: '이미지 파일 "{name}"의 세로는 최대 {size} px를 넘을수 없습니다.',
|
||||
msgImageResizeError: '이미지의 사이즈를 재조정을 위한 이미지 사이즈를 가져올 수 없습니다.',
|
||||
msgImageResizeException: '이미지 사이즈 재조정이 다음 이유로 실패했습니다.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: '파일을 여기에 드래그인 드랍을 하십시요 …',
|
||||
dropZoneClickTitle: '<br>(또는 {files} 선택을 위해 클릭하십시요)',
|
||||
fileActionSettings: {
|
||||
removeTitle: '파일 지우기',
|
||||
uploadTitle: '파일 업로드 하기',
|
||||
zoomTitle: '세부 정보 보기',
|
||||
dragTitle: '옭기기 / 재배열하기',
|
||||
indicatorNewTitle: '아직 업로드가 안되었습니다.',
|
||||
indicatorSuccessTitle: '업로드가 성공하였습니다.',
|
||||
indicatorErrorTitle: '업로드 중 에러가 발행했습니다.',
|
||||
indicatorLoadingTitle: '업로드 중 ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: '전 파일 보기',
|
||||
next: '다음 파일 보기',
|
||||
toggleheader: '머릿글 토글하기',
|
||||
fullscreen: '전채화면 토글하기',
|
||||
borderless: '무 테두리 토글하기',
|
||||
close: '세부 정보 미리보기 토글하기'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
84
js/file/js/locales/kz.js
Normal file
84
js/file/js/locales/kz.js
Normal file
@@ -0,0 +1,84 @@
|
||||
/*!
|
||||
* FileInput Kazakh 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
|
||||
* @author Kali Toleugazy <almatytol@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['kz'] = {
|
||||
fileSingle: 'файл',
|
||||
filePlural: 'файлдар',
|
||||
browseLabel: 'Таңдау …',
|
||||
removeLabel: 'Жою',
|
||||
removeTitle: 'Таңдалған файлдарды жою',
|
||||
cancelLabel: 'Күшін жою',
|
||||
cancelTitle: 'Ағымдағы жүктеуді болдырмау',
|
||||
uploadLabel: 'Жүктеу',
|
||||
uploadTitle: 'Таңдалған файлдарды жүктеу',
|
||||
msgNo: 'жоқ',
|
||||
msgNoFilesSelected: 'Файл таңдалмады',
|
||||
msgCancelled: 'Күші жойылған',
|
||||
msgZoomModalHeading: 'Алдын ала толық көру',
|
||||
msgSizeTooLarge: 'Файл "{name}" (<b>{size} KB</b>) ең үлкен <b>{maxSize} KB</b> өлшемінен асады.',
|
||||
msgFilesTooLess: 'Жүктеу үшіy кемінде <b>{n}</b> {files} таңдау керек.',
|
||||
msgFilesTooMany: 'Таңдалған <b>({n})</b> файлдардың саны берілген <b>{m}</b> саннан асып кетті.',
|
||||
msgFileNotFound: 'Файл "{name}" табылмады!',
|
||||
msgFileSecured: 'Шектеу қауіпсіздігі "{name}" файлын оқуға тыйым салады.',
|
||||
msgFileNotReadable: '"{name}" файлды оқу мүмкін емес.',
|
||||
msgFilePreviewAborted: '"{name}" файл үшін алдын ала қарап көру тыйым салынған.',
|
||||
msgFilePreviewError: '"{name}" файлды оқығанда қате пайда болды.',
|
||||
msgInvalidFileType: '"{name}" тыйым салынған файл түрі. Тек мынаналарға рұқсат етілген: "{types}"',
|
||||
msgInvalidFileExtension: '"{name}" тыйым салынған файл кеңейтімі. Тек "{extensions}" рұқсат.',
|
||||
msgUploadAborted: 'Файлды жүктеу доғарылды',
|
||||
msgUploadThreshold: 'Өңдеу...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Тексеру қатесі',
|
||||
msgLoading: '{index} файлды {files} … жүктеу',
|
||||
msgProgress: '{index} файлды {files} - {name} - {percent}% жүктеу аяқталды.',
|
||||
msgSelected: 'Таңдалған файлдар саны: {n}',
|
||||
msgFoldersNotAllowed: 'Тек файлдарды сүйреу рұқсат! {n} папка өткізілген.',
|
||||
msgImageWidthSmall: '{name} суреттің ені {size} px. аз болмау керек',
|
||||
msgImageHeightSmall: '{name} суреттің биіктігі {size} px. аз болмау керек',
|
||||
msgImageWidthLarge: '"{name}" суреттің ені {size} px. аспау керек',
|
||||
msgImageHeightLarge: '"{name}" суреттің биіктігі {size} px. аспау керек',
|
||||
msgImageResizeError: 'Суреттің өлшемін өзгерту үшін, мөлшері алынбады',
|
||||
msgImageResizeException: 'Суреттің мөлшерлерін өзгерткен кезде қателік пайда болды.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Файлдарды осында сүйреу …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Файлды өшіру',
|
||||
uploadTitle: 'Файлды жүктеу',
|
||||
zoomTitle: 'мәліметтерді көру',
|
||||
dragTitle: 'Орнын ауыстыру',
|
||||
indicatorNewTitle: 'Жүктелген жоқ',
|
||||
indicatorSuccessTitle: 'Жүктелген',
|
||||
indicatorErrorTitle: 'Жүктелу қатесі ',
|
||||
indicatorLoadingTitle: 'Жүктелу ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Алдыңғы файлды қарау',
|
||||
next: 'Келесі файлды қарау',
|
||||
toggleheader: 'Тақырыпты ауыстыру',
|
||||
fullscreen: 'Толық экран режимін қосу',
|
||||
borderless: 'Жиексіз режиміне ауысу',
|
||||
close: 'Толық көрінісін жабу'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/nl.js
Normal file
96
js/file/js/locales/nl.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Dutch 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['nl'] = {
|
||||
fileSingle: 'bestand',
|
||||
filePlural: 'bestanden',
|
||||
browseLabel: 'Zoek …',
|
||||
removeLabel: 'Verwijder',
|
||||
removeTitle: 'Verwijder geselecteerde bestanden',
|
||||
cancelLabel: 'Annuleren',
|
||||
cancelTitle: 'Annuleer upload',
|
||||
uploadLabel: 'Upload',
|
||||
uploadTitle: 'Upload geselecteerde bestanden',
|
||||
msgNo: 'Nee',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Geannuleerd',
|
||||
msgZoomModalHeading: 'Gedetailleerd voorbeeld',
|
||||
msgFileRequired: 'U moet een bestand kiezen om te uploaden.',
|
||||
msgSizeTooSmall: 'Bestand "{name}" (<b>{size} KB</b>) is te klein en moet groter zijn dan <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Bestand "{name}" (<b>{size} KB</b>) is groter dan de toegestane <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'U moet minstens <b>{n}</b> {files} selecteren om te uploaden.',
|
||||
msgFilesTooMany: 'Aantal geselecteerde bestanden <b>({n})</b> is meer dan de toegestane <b>{m}</b>.',
|
||||
msgFileNotFound: 'Bestand "{name}" niet gevonden!',
|
||||
msgFileSecured: 'Bestand kan niet gelezen worden in verband met beveiligings redenen "{name}".',
|
||||
msgFileNotReadable: 'Bestand "{name}" is niet leesbaar.',
|
||||
msgFilePreviewAborted: 'Bestand weergaven geannuleerd voor "{name}".',
|
||||
msgFilePreviewError: 'Er is een fout opgetreden met het lezen van "{name}".',
|
||||
msgInvalidFileName: 'Ongeldige of niet ondersteunde karakters in bestandsnaam "{name}".',
|
||||
msgInvalidFileType: 'Geen geldig bestand "{name}". Alleen "{types}" zijn toegestaan.',
|
||||
msgInvalidFileExtension: 'Geen geldige extensie "{name}". Alleen "{extensions}" zijn toegestaan.',
|
||||
msgFileTypes: {
|
||||
'image': 'afbeelding',
|
||||
'html': 'HTML',
|
||||
'text': 'tekst',
|
||||
'video': 'video',
|
||||
'audio': 'geluid',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Het uploaden van bestanden is afgebroken',
|
||||
msgUploadThreshold: 'Verwerken...',
|
||||
msgUploadBegin: 'Initialiseren...',
|
||||
msgUploadEnd: 'Gedaan',
|
||||
msgUploadEmpty: 'Geen geldige data beschikbaar voor upload.',
|
||||
msgValidationError: 'Bevestiging fout',
|
||||
msgLoading: 'Bestanden laden {index} van de {files} …',
|
||||
msgProgress: 'Bestanden laden {index} van de {files} - {name} - {percent}% compleet.',
|
||||
msgSelected: '{n} {files} geselecteerd',
|
||||
msgFoldersNotAllowed: 'Drag & drop alleen bestanden! {n} overgeslagen map(pen).',
|
||||
msgImageWidthSmall: 'Breedte van het foto-bestand "{name}" moet minstens {size} px zijn.',
|
||||
msgImageHeightSmall: 'Hoogte van het foto-bestand "{name}" moet minstens {size} px zijn.',
|
||||
msgImageWidthLarge: 'Breedte van het foto-bestand "{name}" kan niet hoger zijn dan {size} px.',
|
||||
msgImageHeightLarge: 'Hoogte van het foto bestand "{name}" kan niet hoger zijn dan {size} px.',
|
||||
msgImageResizeError: 'Kon de foto afmetingen niet lezen om te verkleinen.',
|
||||
msgImageResizeException: 'Fout bij het verkleinen van de foto.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Er ging iets mis met de {operation} actie. Gelieve later opnieuw te proberen!',
|
||||
msgAjaxProgressError: '{operation} mislukt',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'bestand verwijderen',
|
||||
uploadThumb: 'bestand uploaden',
|
||||
uploadBatch: 'alle bestanden uploaden',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Drag & drop bestanden hier …',
|
||||
dropZoneClickTitle: '<br>(of klik hier om {files} te selecteren)',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Verwijder bestand',
|
||||
uploadTitle: 'bestand uploaden',
|
||||
zoomTitle: 'Bekijk details',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Nog niet geupload',
|
||||
indicatorSuccessTitle: 'geupload',
|
||||
indicatorErrorTitle: 'fout uploaden',
|
||||
indicatorLoadingTitle: 'uploaden ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Toon vorig bestand',
|
||||
next: 'Toon volgend bestand',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/no.js
Normal file
96
js/file/js/locales/no.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Norwegian 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['no'] = {
|
||||
fileSingle: 'fil',
|
||||
filePlural: 'filer',
|
||||
browseLabel: 'Bla gjennom …',
|
||||
removeLabel: 'Fjern',
|
||||
removeTitle: 'Fjern valgte filer',
|
||||
cancelLabel: 'Avbryt',
|
||||
cancelTitle: 'Stopp pågående opplastninger',
|
||||
uploadLabel: 'Last opp',
|
||||
uploadTitle: 'Last opp valgte filer',
|
||||
msgNo: 'Nei',
|
||||
msgNoFilesSelected: 'Ingen filer er valgt',
|
||||
msgCancelled: 'Avbrutt',
|
||||
msgZoomModalHeading: 'Detaljert visning',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'Filen "{name}" (<b>{size} KB</b>) er for liten og må være større enn <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Filen "{name}" (<b>{size} KB</b>) er for stor, maksimal filstørrelse er <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Du må velge minst <b>{n}</b> {files} for opplastning.',
|
||||
msgFilesTooMany: 'For mange filer til opplastning, <b>({n})</b> overstiger maksantallet som er <b>{m}</b>.',
|
||||
msgFileNotFound: 'Fant ikke filen "{name}"!',
|
||||
msgFileSecured: 'Sikkerhetsrestriksjoner hindrer lesing av filen "{name}".',
|
||||
msgFileNotReadable: 'Filen "{name}" er ikke lesbar.',
|
||||
msgFilePreviewAborted: 'Filvisning avbrutt for "{name}".',
|
||||
msgFilePreviewError: 'En feil oppstod under lesing av filen "{name}".',
|
||||
msgInvalidFileName: 'Ugyldige tegn i filen "{name}".',
|
||||
msgInvalidFileType: 'Ugyldig type for filen "{name}". Kun "{types}" filer er tillatt.',
|
||||
msgInvalidFileExtension: 'Ugyldig endelse for filen "{name}". Kun "{extensions}" filer støttes.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Filopplastningen ble avbrutt',
|
||||
msgUploadThreshold: 'Prosesserer...',
|
||||
msgUploadBegin: 'Initialiserer...',
|
||||
msgUploadEnd: 'Ferdig',
|
||||
msgUploadEmpty: 'Ingen gyldige data tilgjengelig for opplastning.',
|
||||
msgValidationError: 'Valideringsfeil',
|
||||
msgLoading: 'Laster fil {index} av {files} …',
|
||||
msgProgress: 'Laster fil {index} av {files} - {name} - {percent}% fullført.',
|
||||
msgSelected: '{n} {files} valgt',
|
||||
msgFoldersNotAllowed: 'Kun Dra & slipp filer! Hoppet over {n} mappe(r).',
|
||||
msgImageWidthSmall: 'Bredde på bildefilen "{name}" må være minst {size} px.',
|
||||
msgImageHeightSmall: 'Høyde på bildefilen "{name}" må være minst {size} px.',
|
||||
msgImageWidthLarge: 'Bredde på bildefilen "{name}" kan ikke overstige {size} px.',
|
||||
msgImageHeightLarge: 'Høyde på bildefilen "{name}" kan ikke overstige {size} px.',
|
||||
msgImageResizeError: 'Fant ikke dimensjonene som skulle resizes.',
|
||||
msgImageResizeException: 'En feil oppstod under endring av størrelse .<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Noe gikk galt med {operation} operasjonen. Vennligst prøv igjen senere!',
|
||||
msgAjaxProgressError: '{operation} feilet',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Dra & slipp filer her …',
|
||||
dropZoneClickTitle: '<br>(eller klikk for å velge {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Fjern fil',
|
||||
uploadTitle: 'Last opp fil',
|
||||
zoomTitle: 'Vis detaljer',
|
||||
dragTitle: 'Flytt / endre rekkefølge',
|
||||
indicatorNewTitle: 'Opplastning ikke fullført',
|
||||
indicatorSuccessTitle: 'Opplastet',
|
||||
indicatorErrorTitle: 'Opplastningsfeil',
|
||||
indicatorLoadingTitle: 'Laster opp ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Vis forrige fil',
|
||||
next: 'Vis neste fil',
|
||||
toggleheader: 'Vis header',
|
||||
fullscreen: 'Åpne fullskjerm',
|
||||
borderless: 'Åpne uten kanter',
|
||||
close: 'Lukk detaljer'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
86
js/file/js/locales/pl.js
Normal file
86
js/file/js/locales/pl.js
Normal file
@@ -0,0 +1,86 @@
|
||||
/*!
|
||||
* FileInput Polish 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['pl'] = {
|
||||
fileSingle: 'plik',
|
||||
filePlural: 'pliki',
|
||||
browseLabel: 'Przeglądaj …',
|
||||
removeLabel: 'Usuń',
|
||||
removeTitle: 'Usuń zaznaczone pliki',
|
||||
cancelLabel: 'Przerwij',
|
||||
cancelTitle: 'Anuluj wysyłanie',
|
||||
uploadLabel: 'Wgraj',
|
||||
uploadTitle: 'Wgraj zaznaczone pliki',
|
||||
msgNo: 'Nie',
|
||||
msgNoFilesSelected: 'Brak zaznaczonych plików',
|
||||
msgCancelled: 'Odwołany',
|
||||
msgZoomModalHeading: 'Szczegółowy podgląd',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'Plik "{name}" (<b>{size} KB</b>) jest zbyt mały i musi być większy niż <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Plik o nazwie "{name}" (<b>{size} KB</b>) przekroczył maksymalną dopuszczalną wielkość pliku wynoszącą <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Minimalna liczba plików do wgrania: <b>{n}</b>.',
|
||||
msgFilesTooMany: 'Liczba plików wybranych do wgrania w liczbie <b>({n})</b>, przekracza maksymalny dozwolony limit wynoszący <b>{m}</b>.',
|
||||
msgFileNotFound: 'Plik "{name}" nie istnieje!',
|
||||
msgFileSecured: 'Ustawienia zabezpieczeń uniemożliwiają odczyt pliku "{name}".',
|
||||
msgFileNotReadable: 'Plik "{name}" nie jest plikiem do odczytu.',
|
||||
msgFilePreviewAborted: 'Podgląd pliku "{name}" został przerwany.',
|
||||
msgFilePreviewError: 'Wystąpił błąd w czasie odczytu pliku "{name}".',
|
||||
msgInvalidFileName: 'Nieprawidłowe lub nieobsługiwane znaki w nazwie pliku "{name}".',
|
||||
msgInvalidFileType: 'Nieznny typ pliku "{name}". Tylko następujące rodzaje plików są obsługiwane: "{types}".',
|
||||
msgInvalidFileExtension: 'Złe rozszerzenie dla pliku "{name}". Tylko następujące rozszerzenia plików są obsługiwane: "{extensions}".',
|
||||
msgUploadAborted: 'Przesyłanie pliku zostało przerwane',
|
||||
msgUploadThreshold: 'Przetwarzanie...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Błąd walidacji',
|
||||
msgLoading: 'Wczytywanie pliku {index} z {files} …',
|
||||
msgProgress: 'Wczytywanie pliku {index} z {files} - {name} - {percent}% zakończone.',
|
||||
msgSelected: '{n} Plików zaznaczonych',
|
||||
msgFoldersNotAllowed: 'Metodą przeciągnij i upuść, można przenosić tylko pliki. Pominięto {n} katalogów.',
|
||||
msgImageWidthSmall: 'Szerokość pliku obrazu "{name}" musi być co najmniej {size} px.',
|
||||
msgImageHeightSmall: 'Wysokość pliku obrazu "{name}" musi być co najmniej {size} px.',
|
||||
msgImageWidthLarge: 'Szerokość pliku obrazu "{name}" nie może przekraczać {size} px.',
|
||||
msgImageHeightLarge: 'Wysokość pliku obrazu "{name}" nie może przekraczać {size} px.',
|
||||
msgImageResizeError: 'Nie udało się uzyskać wymiaru obrazu, aby zmienić rozmiar.',
|
||||
msgImageResizeException: 'Błąd podczas zmiany rozmiaru obrazu.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Przeciągnij i upuść pliki tutaj …',
|
||||
dropZoneClickTitle: '<br>(lub kliknij tutaj i wybierz {files} z komputera)',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Usuń plik',
|
||||
uploadTitle: 'Przesyłanie pliku',
|
||||
zoomTitle: 'Pokaż szczegóły',
|
||||
dragTitle: 'Przenies / Ponownie zaaranżuj',
|
||||
indicatorNewTitle: 'Jeszcze nie przesłanych',
|
||||
indicatorSuccessTitle: 'Dodane',
|
||||
indicatorErrorTitle: 'Prześlij błąd',
|
||||
indicatorLoadingTitle: 'Zamieszczanie ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Pokaż poprzedni plik',
|
||||
next: 'Pokaż następny plik',
|
||||
toggleheader: 'Włącz / wyłącz nagłówek',
|
||||
fullscreen: 'Włącz / wyłącz pełny ekran',
|
||||
borderless: 'Włącz / wyłącz tryb bez ramek',
|
||||
close: 'Zamknij szczegółowy widok'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/pt-BR.js
Normal file
96
js/file/js/locales/pt-BR.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Brazillian Portuguese 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['pt-BR'] = {
|
||||
fileSingle: 'arquivo',
|
||||
filePlural: 'arquivos',
|
||||
browseLabel: 'Procurar…',
|
||||
removeLabel: 'Remover',
|
||||
removeTitle: 'Remover arquivos selecionados',
|
||||
cancelLabel: 'Cancelar',
|
||||
cancelTitle: 'Interromper envio em andamento',
|
||||
uploadLabel: 'Enviar',
|
||||
uploadTitle: 'Enviar arquivos selecionados',
|
||||
msgNo: 'Não',
|
||||
msgNoFilesSelected: 'Nenhum arquivo selecionado',
|
||||
msgCancelled: 'Cancelado',
|
||||
msgZoomModalHeading: 'Pré-visualização detalhada',
|
||||
msgFileRequired: 'Você deve selecionar um arquivo para enviar.',
|
||||
msgSizeTooSmall: 'O arquivo "{name}" (<b>{size} KB</b>) é muito pequeno e deve ser maior que <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'O arquivo "{name}" (<b>{size} KB</b>) excede o tamanho máximo permitido de <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Você deve selecionar pelo menos <b>{n}</b> {files} para enviar.',
|
||||
msgFilesTooMany: 'O número de arquivos selecionados para o envio <b>({n})</b> excede o limite máximo permitido de <b>{m}</b>.',
|
||||
msgFileNotFound: 'O arquivo "{name}" não foi encontrado!',
|
||||
msgFileSecured: 'Restrições de segurança impedem a leitura do arquivo "{name}".',
|
||||
msgFileNotReadable: 'O arquivo "{name}" não pode ser lido.',
|
||||
msgFilePreviewAborted: 'A pré-visualização do arquivo "{name}" foi interrompida.',
|
||||
msgFilePreviewError: 'Ocorreu um erro ao ler o arquivo "{name}".',
|
||||
msgInvalidFileName: 'Caracteres inválidos ou não suportados no arquivo "{name}".',
|
||||
msgInvalidFileType: 'Tipo inválido para o arquivo "{name}". Apenas arquivos "{types}" são permitidos.',
|
||||
msgInvalidFileExtension: 'Extensão inválida para o arquivo "{name}". Apenas arquivos "{extensions}" são permitidos.',
|
||||
msgFileTypes: {
|
||||
'image': 'imagem',
|
||||
'html': 'HTML',
|
||||
'text': 'texto',
|
||||
'video': 'vídeo',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'objeto'
|
||||
},
|
||||
msgUploadAborted: 'O envio do arquivo foi abortado',
|
||||
msgUploadThreshold: 'Processando...',
|
||||
msgUploadBegin: 'Inicializando...',
|
||||
msgUploadEnd: 'Concluído',
|
||||
msgUploadEmpty: 'Nanhuma informação válida para upload.',
|
||||
msgValidationError: 'Erro de validação',
|
||||
msgLoading: 'Enviando arquivo {index} de {files}…',
|
||||
msgProgress: 'Enviando arquivo {index} de {files} - {name} - {percent}% completo.',
|
||||
msgSelected: '{n} {files} selecionado(s)',
|
||||
msgFoldersNotAllowed: 'Arraste e solte apenas arquivos! {n} pasta(s) ignoradas.',
|
||||
msgImageWidthSmall: 'Largura do arquivo de imagem "{name}" deve ser pelo menos {size} px.',
|
||||
msgImageHeightSmall: 'Altura do arquivo de imagem "{name}" deve ser pelo menos {size} px.',
|
||||
msgImageWidthLarge: 'Largura do arquivo de imagem "{name}" não pode exceder {size} px.',
|
||||
msgImageHeightLarge: 'Altura do arquivo de imagem "{name}" não pode exceder {size} px.',
|
||||
msgImageResizeError: 'Não foi possível obter as dimensões da imagem para redimensionar.',
|
||||
msgImageResizeException: 'Erro ao redimensionar a imagem.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Algo deu errado com a operação {operation}. Por favor tente novamente mais tarde!',
|
||||
msgAjaxProgressError: '{operation} falhou',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'deleção de arquivo',
|
||||
uploadThumb: 'envio de arquivo',
|
||||
uploadBatch: 'envio de arquivos em lote',
|
||||
uploadExtra: 'envio de dados do formulário'
|
||||
},
|
||||
dropZoneTitle: 'Arraste e solte os arquivos aqui…',
|
||||
dropZoneClickTitle: '<br>(ou clique para selecionar o(s) arquivo(s))',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Remover arquivo',
|
||||
uploadTitle: 'Enviar arquivo',
|
||||
zoomTitle: 'Ver detalhes',
|
||||
dragTitle: 'Mover / Reordenar',
|
||||
indicatorNewTitle: 'Ainda não enviado',
|
||||
indicatorSuccessTitle: 'Enviado',
|
||||
indicatorErrorTitle: 'Erro',
|
||||
indicatorLoadingTitle: 'Enviando...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Visualizar arquivo anterior',
|
||||
next: 'Visualizar próximo arquivo',
|
||||
toggleheader: 'Mostrar cabeçalho',
|
||||
fullscreen: 'Ativar tela cheia',
|
||||
borderless: 'Ativar modo sem borda',
|
||||
close: 'Fechar pré-visualização detalhada'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/pt.js
Normal file
96
js/file/js/locales/pt.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Portuguese 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['pt'] = {
|
||||
fileSingle: 'ficheiro',
|
||||
filePlural: 'ficheiros',
|
||||
browseLabel: 'Procurar …',
|
||||
removeLabel: 'Remover',
|
||||
removeTitle: 'Remover ficheiros seleccionados',
|
||||
cancelLabel: 'Cancelar',
|
||||
cancelTitle: 'Abortar carregamento ',
|
||||
uploadLabel: 'Carregar',
|
||||
uploadTitle: 'Carregar ficheiros seleccionados',
|
||||
msgNo: 'Não',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Cancelado',
|
||||
msgZoomModalHeading: 'Pré-visualização detalhada',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Ficheiro "{name}" (<b>{size} KB</b>) excede o tamanho máximo permido de <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Deve seleccionar pelo menos <b>{n}</b> {files} para fazer upload.',
|
||||
msgFilesTooMany: 'Número máximo de ficheiros seleccionados <b>({n})</b> excede o limite máximo de <b>{m}</b>.',
|
||||
msgFileNotFound: 'Ficheiro "{name}" não encontrado!',
|
||||
msgFileSecured: 'Restrições de segurança preventem a leitura do ficheiro "{name}".',
|
||||
msgFileNotReadable: 'Ficheiro "{name}" não pode ser lido.',
|
||||
msgFilePreviewAborted: 'Pré-visualização abortado para o ficheiro "{name}".',
|
||||
msgFilePreviewError: 'Ocorreu um erro ao ler o ficheiro "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Tipo inválido para o ficheiro "{name}". Apenas ficheiros "{types}" são suportados.',
|
||||
msgInvalidFileExtension: 'Extensão inválida para o ficheiro "{name}". Apenas ficheiros "{extensions}" são suportados.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'O upload do arquivo foi abortada',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Erro de validação',
|
||||
msgLoading: 'A carregar ficheiro {index} de {files} …',
|
||||
msgProgress: 'A carregar ficheiro {index} de {files} - {name} - {percent}% completo.',
|
||||
msgSelected: '{n} {files} seleccionados',
|
||||
msgFoldersNotAllowed: 'Arrastar e largar ficheiros apenas! {n} pasta(s) ignoradas.',
|
||||
msgImageWidthSmall: 'Largura do arquivo de imagem "{name}" deve ser pelo menos {size} px.',
|
||||
msgImageHeightSmall: 'Altura do arquivo de imagem "{name}" deve ser pelo menos {size} px.',
|
||||
msgImageWidthLarge: 'Largura do arquivo de imagem "{name}" não pode exceder {size} px.',
|
||||
msgImageHeightLarge: 'Altura do arquivo de imagem "{name}" não pode exceder {size} px.',
|
||||
msgImageResizeError: 'Could not get the image dimensions to resize.',
|
||||
msgImageResizeException: 'Erro ao redimensionar a imagem.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Arrastar e largar ficheiros aqui …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Remover arquivo',
|
||||
uploadTitle: 'Carregar arquivo',
|
||||
zoomTitle: 'Ver detalhes',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Ainda não carregou',
|
||||
indicatorSuccessTitle: 'Carregado',
|
||||
indicatorErrorTitle: 'Carregar Erro',
|
||||
indicatorLoadingTitle: 'A carregar ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/ro.js
Normal file
97
js/file/js/locales/ro.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Romanian 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
|
||||
* @author Ciprian Voicu <pictoru@autoportret.ro>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['ro'] = {
|
||||
fileSingle: 'fișier',
|
||||
filePlural: 'fișiere',
|
||||
browseLabel: 'Răsfoiește …',
|
||||
removeLabel: 'Șterge',
|
||||
removeTitle: 'Curăță fișierele selectate',
|
||||
cancelLabel: 'Renunță',
|
||||
cancelTitle: 'Anulează încărcarea curentă',
|
||||
uploadLabel: 'Încarcă',
|
||||
uploadTitle: 'Încarcă fișierele selectate',
|
||||
msgNo: 'Nu',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Anulat',
|
||||
msgZoomModalHeading: 'Previzualizare detaliată',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Fișierul "{name}" (<b>{size} KB</b>) depășește limita maximă de încărcare de <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Trebuie să selectezi cel puțin <b>{n}</b> {files} pentru a încărca.',
|
||||
msgFilesTooMany: 'Numărul fișierelor pentru încărcare <b>({n})</b> depășește limita maximă de <b>{m}</b>.',
|
||||
msgFileNotFound: 'Fișierul "{name}" nu a fost găsit!',
|
||||
msgFileSecured: 'Restricții de securitate previn citirea fișierului "{name}".',
|
||||
msgFileNotReadable: 'Fișierul "{name}" nu se poate citi.',
|
||||
msgFilePreviewAborted: 'Fișierului "{name}" nu poate fi previzualizat.',
|
||||
msgFilePreviewError: 'A intervenit o eroare în încercarea de citire a fișierului "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Tip de fișier incorect pentru "{name}". Sunt suportate doar fișiere de tipurile "{types}".',
|
||||
msgInvalidFileExtension: 'Extensie incorectă pentru "{name}". Sunt suportate doar extensiile "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Fișierul Încărcarea a fost întrerupt',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Eroare de validare',
|
||||
msgLoading: 'Se încarcă fișierul {index} din {files} …',
|
||||
msgProgress: 'Se încarcă fișierul {index} din {files} - {name} - {percent}% încărcat.',
|
||||
msgSelected: '{n} {files} încărcate',
|
||||
msgFoldersNotAllowed: 'Se poate doar trăgând fișierele! Se renunță la {n} dosar(e).',
|
||||
msgImageWidthSmall: 'Lățimea de fișier de imagine "{name}" trebuie să fie de cel puțin {size} px.',
|
||||
msgImageHeightSmall: 'Înălțimea fișier imagine "{name}" trebuie să fie de cel puțin {size} px.',
|
||||
msgImageWidthLarge: 'Lățimea de fișier de imagine "{name}" nu poate depăși {size} px.',
|
||||
msgImageHeightLarge: 'Înălțimea fișier imagine "{name}" nu poate depăși {size} px.',
|
||||
msgImageResizeError: 'Nu a putut obține dimensiunile imaginii pentru a redimensiona.',
|
||||
msgImageResizeException: 'Eroare la redimensionarea imaginii.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Trage fișierele aici …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Scoateți fișier',
|
||||
uploadTitle: 'Incarca fisier',
|
||||
zoomTitle: 'Vezi detalii',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Nu a încărcat încă',
|
||||
indicatorSuccessTitle: 'încărcat',
|
||||
indicatorErrorTitle: 'Încărcați eroare',
|
||||
indicatorLoadingTitle: 'Se încarcă ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/ru.js
Normal file
97
js/file/js/locales/ru.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Russian 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
|
||||
* @author CyanoFresh <cyanofresh@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['ru'] = {
|
||||
fileSingle: 'файл',
|
||||
filePlural: 'файлы',
|
||||
browseLabel: 'Выбрать …',
|
||||
removeLabel: 'Удалить',
|
||||
removeTitle: 'Очистить выбранные файлы',
|
||||
cancelLabel: 'Отмена',
|
||||
cancelTitle: 'Отменить текущую загрузку',
|
||||
uploadLabel: 'Загрузить',
|
||||
uploadTitle: 'Загрузить выбранные файлы',
|
||||
msgNo: 'нет',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Отменено',
|
||||
msgZoomModalHeading: 'Подробное превью',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'Файл "{name}" (<b>{size} KB</b>) имеет слишком маленький размер и должен быть больше <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Файл "{name}" (<b>{size} KB</b>) превышает максимальный размер <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Вы должны выбрать как минимум <b>{n}</b> {files} для загрузки.',
|
||||
msgFilesTooMany: 'Количество выбранных файлов <b>({n})</b> превышает максимально допустимое количество <b>{m}</b>.',
|
||||
msgFileNotFound: 'Файл "{name}" не найден!',
|
||||
msgFileSecured: 'Ограничения безопасности запрещают читать файл "{name}".',
|
||||
msgFileNotReadable: 'Файл "{name}" невозможно прочитать.',
|
||||
msgFilePreviewAborted: 'Предпросмотр отменен для файла "{name}".',
|
||||
msgFilePreviewError: 'Произошла ошибка при чтении файла "{name}".',
|
||||
msgInvalidFileName: 'Неверные или неподдерживаемые символы в названии файла "{name}".',
|
||||
msgInvalidFileType: 'Запрещенный тип файла для "{name}". Только "{types}" разрешены.',
|
||||
msgInvalidFileExtension: 'Запрещенное расширение для файла "{name}". Только "{extensions}" разрешены.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Выгрузка файла прервана',
|
||||
msgUploadThreshold: 'Обработка...',
|
||||
msgUploadBegin: 'Инициализация...',
|
||||
msgUploadEnd: 'Готово',
|
||||
msgUploadEmpty: 'Недопустимые данные для загрузки',
|
||||
msgValidationError: 'Ошибка проверки',
|
||||
msgLoading: 'Загрузка файла {index} из {files} …',
|
||||
msgProgress: 'Загрузка файла {index} из {files} - {name} - {percent}% завершено.',
|
||||
msgSelected: 'Выбрано файлов: {n}',
|
||||
msgFoldersNotAllowed: 'Разрешено перетаскивание только файлов! Пропущено {n} папок.',
|
||||
msgImageWidthSmall: 'Ширина изображения {name} должна быть не меньше {size} px.',
|
||||
msgImageHeightSmall: 'Высота изображения {name} должна быть не меньше {size} px.',
|
||||
msgImageWidthLarge: 'Ширина изображения "{name}" не может превышать {size} px.',
|
||||
msgImageHeightLarge: 'Высота изображения "{name}" не может превышать {size} px.',
|
||||
msgImageResizeError: 'Не удалось получить размеры изображения, чтобы изменить размер.',
|
||||
msgImageResizeException: 'Ошибка при изменении размера изображения.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Произошла ошибка при выполнении операции {operation}. Повторите попытку позже!',
|
||||
msgAjaxProgressError: 'Не удалось выполнить {operation}',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'удалить файл',
|
||||
uploadThumb: 'загрузить файл',
|
||||
uploadBatch: 'загрузить пакет файлов',
|
||||
uploadExtra: 'загрузка данных с формы'
|
||||
},
|
||||
dropZoneTitle: 'Перетащите файлы сюда …',
|
||||
dropZoneClickTitle: '<br>(Или щёлкните, чтобы выбрать {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Удалить файл',
|
||||
uploadTitle: 'Загрузить файл',
|
||||
zoomTitle: 'посмотреть детали',
|
||||
dragTitle: 'Переместить / Изменить порядок',
|
||||
indicatorNewTitle: 'Еще не загружен',
|
||||
indicatorSuccessTitle: 'Загружен',
|
||||
indicatorErrorTitle: 'Ошибка загрузки',
|
||||
indicatorLoadingTitle: 'Загрузка ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Посмотреть предыдущий файл',
|
||||
next: 'Посмотреть следующий файл',
|
||||
toggleheader: 'Переключить заголовок',
|
||||
fullscreen: 'Переключить полноэкранный режим',
|
||||
borderless: 'Переключить режим без полей',
|
||||
close: 'Закрыть подробный предпросмотр'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/sk.js
Normal file
96
js/file/js/locales/sk.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Slovakian 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['sk'] = {
|
||||
fileSingle: 'súbor',
|
||||
filePlural: 'súbory',
|
||||
browseLabel: 'Vybrať …',
|
||||
removeLabel: 'Odstrániť',
|
||||
removeTitle: 'Vyčistiť vybraté súbory',
|
||||
cancelLabel: 'Storno',
|
||||
cancelTitle: 'Prerušiť nahrávanie',
|
||||
uploadLabel: 'Nahrať',
|
||||
uploadTitle: 'Nahrať vybraté súbory',
|
||||
msgNo: 'Nie',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Zrušené',
|
||||
msgZoomModalHeading: 'Detailný náhľad',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Súbor "{name}" (<b>{size} KB</b>): prekročenie - maximálna povolená veľkosť <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Musíte vybrať najmenej <b>{n}</b> {files} pre nahranie.',
|
||||
msgFilesTooMany: 'Počet vybratých súborov pre nahranie <b>({n})</b>: prekročenie - maximálny povolený limit <b>{m}</b>.',
|
||||
msgFileNotFound: 'Súbor "{name}" nebol nájdený!',
|
||||
msgFileSecured: 'Zabezpečenie súboru znemožnilo čítať súbor "{name}".',
|
||||
msgFileNotReadable: 'Súbor "{name}" nie je čitateľný.',
|
||||
msgFilePreviewAborted: 'Náhľad súboru bol prerušený pre "{name}".',
|
||||
msgFilePreviewError: 'Nastala chyba pri načítaní súboru "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Neplatný typ súboru "{name}". Iba "{types}" súborov sú podporované.',
|
||||
msgInvalidFileExtension: 'Neplatná extenzia súboru "{name}". Iba "{extensions}" súborov sú podporované.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Súbor nahrávania bol prerušený',
|
||||
msgUploadThreshold: 'Processing...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Chyba overenia',
|
||||
msgLoading: 'Nahrávanie súboru {index} z {files} …',
|
||||
msgProgress: 'Nahrávanie súboru {index} z {files} - {name} - {percent}% dokončené.',
|
||||
msgSelected: '{n} {files} vybraté',
|
||||
msgFoldersNotAllowed: 'Tiahni a pusť iba súbory! Vynechané {n} pustené prečinok(y).',
|
||||
msgImageWidthSmall: 'Šírka image súboru "{name}", musí byť minimálne {size} px.',
|
||||
msgImageHeightSmall: 'Výška image súboru "{name}", musí byť minimálne {size} px.',
|
||||
msgImageWidthLarge: 'Šírka image súboru "{name}" nemôže presiahnuť {size} px.',
|
||||
msgImageHeightLarge: 'Výška súboru obrazu "{name}" nesmie presiahnuť {size} px.',
|
||||
msgImageResizeError: 'Nemožno získať rozmery obrázku zmeniť veľkosť.',
|
||||
msgImageResizeException: 'Chyba pri zmene veľkosti obrázka.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Tiahni a pusť súbory tu …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'odstrániť súbor',
|
||||
uploadTitle: 'nahrať súbor',
|
||||
zoomTitle: 'Zobraziť podrobnosti',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Ešte nenahral',
|
||||
indicatorSuccessTitle: 'nahral',
|
||||
indicatorErrorTitle: 'nahrať Chyba',
|
||||
indicatorLoadingTitle: 'nahrávanie ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
94
js/file/js/locales/sl.js
Normal file
94
js/file/js/locales/sl.js
Normal file
@@ -0,0 +1,94 @@
|
||||
/*!
|
||||
* FileInput Slovenian 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
|
||||
* @author kv1dr <kv1dr.android@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['sl'] = {
|
||||
fileSingle: 'datoteka',
|
||||
filePlural: 'datotek',
|
||||
browseLabel: 'Prebrskaj …',
|
||||
removeLabel: 'Odstrani',
|
||||
removeTitle: 'Počisti izbrane datoteke',
|
||||
cancelLabel: 'Prekliči',
|
||||
cancelTitle: 'Prekliči nalaganje',
|
||||
uploadLabel: 'Naloži',
|
||||
uploadTitle: 'Naloži izbrane datoteke',
|
||||
msgNo: 'Ne',
|
||||
msgNoFilesSelected: 'Nobena datoteka ni izbrana',
|
||||
msgCancelled: 'Preklicano',
|
||||
msgZoomModalHeading: 'Podroben predogled',
|
||||
msgSizeTooLarge: 'Datoteka "{name}" (<b>{size} KB</b>) presega največjo dovoljeno velikost za nalaganje <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Za nalaganje morate izbrati vsaj <b>{n}</b> {files}.',
|
||||
msgFilesTooMany: 'Število datotek, izbranih za nalaganje <b>({n})</b> je prekoračilo največjo dovoljeno število <b>{m}</b>.',
|
||||
msgFileNotFound: 'Datoteka "{name}" ni bila najdena!',
|
||||
msgFileSecured: 'Zaradi varnostnih omejitev nisem mogel prebrati datoteko "{name}".',
|
||||
msgFileNotReadable: 'Datoteka "{name}" ni berljiva.',
|
||||
msgFilePreviewAborted: 'Predogled datoteke "{name}" preklican.',
|
||||
msgFilePreviewError: 'Pri branju datoteke "{name}" je prišlo do napake.',
|
||||
msgInvalidFileType: 'Napačen tip datoteke "{name}". Samo "{types}" datoteke so podprte.',
|
||||
msgInvalidFileExtension: 'Napačna končnica datoteke "{name}". Samo "{extensions}" datoteke so podprte.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Nalaganje datoteke je bilo preklicano',
|
||||
msgUploadThreshold: 'Procesiram...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Napaki pri validiranju',
|
||||
msgLoading: 'Nalaganje datoteke {index} od {files} …',
|
||||
msgProgress: 'Nalaganje datoteke {index} od {files} - {name} - {percent}% dokončano.',
|
||||
msgSelected: '{n} {files} izbrano',
|
||||
msgFoldersNotAllowed: 'Povlecite in spustite samo datoteke! Izpuščenih je bilo {n} map.',
|
||||
msgImageWidthSmall: 'Širina slike "{name}" mora biti vsaj {size} px.',
|
||||
msgImageHeightSmall: 'Višina slike "{name}" mora biti vsaj {size} px.',
|
||||
msgImageWidthLarge: 'Širina slike "{name}" ne sme preseči {size} px.',
|
||||
msgImageHeightLarge: 'Višina slike "{name}" ne sme preseči {size} px.',
|
||||
msgImageResizeError: 'Nisem mogel pridobiti dimenzij slike za spreminjanje velikosti.',
|
||||
msgImageResizeException: 'Napaka pri spreminjanju velikosti slike.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Povlecite in spustite datoteke sem …',
|
||||
dropZoneClickTitle: '<br>(ali kliknite sem za izbiro {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Odstrani datoteko',
|
||||
uploadTitle: 'Naloži datoteko',
|
||||
zoomTitle: 'Poglej podrobnosti',
|
||||
dragTitle: 'Premaki / Razporedi',
|
||||
indicatorNewTitle: 'Še ni naloženo',
|
||||
indicatorSuccessTitle: 'Naloženo',
|
||||
indicatorErrorTitle: 'Napaka pri nalaganju',
|
||||
indicatorLoadingTitle: 'Nalagam ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Poglej prejšno datoteko',
|
||||
next: 'Poglej naslednjo datoteko',
|
||||
toggleheader: 'Preklopi glavo',
|
||||
fullscreen: 'Preklopi celozaslonski način',
|
||||
borderless: 'Preklopi način brez robov',
|
||||
close: 'Zapri predogled podrobnosti'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/sv.js
Normal file
96
js/file/js/locales/sv.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput <_LANG_> 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['sv'] = {
|
||||
fileSingle: 'fil',
|
||||
filePlural: 'filer',
|
||||
browseLabel: 'Bläddra …',
|
||||
removeLabel: 'Ta bort',
|
||||
removeTitle: 'Rensa valda filer',
|
||||
cancelLabel: 'Avbryt',
|
||||
cancelTitle: 'Avbryt pågående uppladdning',
|
||||
uploadLabel: 'Ladda upp',
|
||||
uploadTitle: 'Ladda upp valda filer',
|
||||
msgNo: 'Nej',
|
||||
msgNoFilesSelected: 'Inga filer valda',
|
||||
msgCancelled: 'Avbruten',
|
||||
msgZoomModalHeading: 'detaljerad förhandsgranskning',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'Filen "{name}" (<b>{size} KB</b>) är för liten och måste vara större än <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) överstiger högsta tillåtna uppladdningsstorlek <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Du måste välja minst <b>{n}</b> {files} för att ladda upp.',
|
||||
msgFilesTooMany: 'Antal filer valda för uppladdning <b>({n})</b> överstiger högsta tillåtna gränsen <b>{m}</b>.',
|
||||
msgFileNotFound: 'Filen "{name}" kunde inte hittas!',
|
||||
msgFileSecured: 'Säkerhetsbegränsningar förhindrar att läsa filen "{name}".',
|
||||
msgFileNotReadable: 'Filen "{name}" är inte läsbar.',
|
||||
msgFilePreviewAborted: 'Filförhandsvisning avbröts för "{name}".',
|
||||
msgFilePreviewError: 'Ett fel uppstod vid inläsning av filen "{name}".',
|
||||
msgInvalidFileName: 'Ogiltiga eller tecken som inte stöds i filnamnet "{name}".',
|
||||
msgInvalidFileType: 'Ogiltig typ för filen "{name}". Endast "{types}" filtyper stöds.',
|
||||
msgInvalidFileExtension: 'Ogiltigt filtillägg för filen "{name}". Endast "{extensions}" filer stöds.',
|
||||
msgFileTypes: {
|
||||
'image': 'bild',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'ljud',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'objekt'
|
||||
},
|
||||
msgUploadAborted: 'Filöverföringen avbröts',
|
||||
msgUploadThreshold: 'Bearbetar...',
|
||||
msgUploadBegin: 'Påbörjar...',
|
||||
msgUploadEnd: 'Färdig',
|
||||
msgUploadEmpty: 'Ingen giltig data tillgänglig för uppladdning.',
|
||||
msgValidationError: 'Valideringsfel',
|
||||
msgLoading: 'Laddar fil {index} av {files} …',
|
||||
msgProgress: 'Laddar fil {index} av {files} - {name} - {percent}% färdig.',
|
||||
msgSelected: '{n} {files} valda',
|
||||
msgFoldersNotAllowed: 'Endast drag & släppfiler! Skippade {n} släpta mappar.',
|
||||
msgImageWidthSmall: 'Bredd på bildfilen "{name}" måste minst vara {size} pixlar.',
|
||||
msgImageHeightSmall: 'Höjden på bildfilen "{name}" måste minst vara {size} pixlar.',
|
||||
msgImageWidthLarge: 'Bredd på bildfil "{name}" kan inte överstiga {size} pixlar.',
|
||||
msgImageHeightLarge: 'Höjden på bildfilen "{name}" kan inte överstiga {size} pixlar.',
|
||||
msgImageResizeError: 'Det gick inte att hämta bildens dimensioner för att ändra storlek.',
|
||||
msgImageResizeException: 'Fel vid storleksändring av bilden.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Något gick fel med {operation} operationen. Försök igen senare!',
|
||||
msgAjaxProgressError: '{operation} misslyckades',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Drag & släpp filer här …',
|
||||
dropZoneClickTitle: '<br>(eller klicka för att markera {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Ta bort fil',
|
||||
uploadTitle: 'Ladda upp fil',
|
||||
zoomTitle: 'Visa detaljer',
|
||||
dragTitle: 'Flytta / Ändra ordning',
|
||||
indicatorNewTitle: 'Inte uppladdat ännu',
|
||||
indicatorSuccessTitle: 'Uppladdad',
|
||||
indicatorErrorTitle: 'Uppladdningsfel',
|
||||
indicatorLoadingTitle: 'Laddar upp...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Visa föregående fil',
|
||||
next: 'Visa nästa fil',
|
||||
toggleheader: 'Rubrik',
|
||||
fullscreen: 'Fullskärm',
|
||||
borderless: 'Gränslös',
|
||||
close: 'Stäng detaljerad förhandsgranskning'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/th.js
Normal file
96
js/file/js/locales/th.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['th'] = {
|
||||
fileSingle: 'ไฟล์',
|
||||
filePlural: 'ไฟล์',
|
||||
browseLabel: 'เลือกดู …',
|
||||
removeLabel: 'ลบทิ้ง',
|
||||
removeTitle: 'ลบไฟล์ที่เลือกทิ้ง',
|
||||
cancelLabel: 'ยกเลิก',
|
||||
cancelTitle: 'ยกเลิกการอัพโหลด',
|
||||
uploadLabel: 'อัพโหลด',
|
||||
uploadTitle: 'อัพโหลดไฟล์ที่เลือก',
|
||||
msgNo: 'ไม่',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'ยกเลิก',
|
||||
msgZoomModalHeading: 'ตัวอย่างละเอียด',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'ไฟล์ "{name}" (<b>{size} KB</b>) มีขนาดเกินที่ระบบอนุญาตที่ <b>{maxSize} KB</b>, กรุณาลองใหม่อีกครั้ง!',
|
||||
msgFilesTooLess: 'คุณต้องเลือกไฟล์จำนวนอย่างน้อย <b>{n}</b> {files} เพื่ออัพโหลด, กรุณาลองใหม่อีกครั้ง!',
|
||||
msgFilesTooMany: 'ไฟล์ที่คุณเลือกมีจำนวน <b>({n})</b> ซึ่งเกินกว่าที่ระบบอนุญาตที่ <b>{m}</b>, กรุณาลองใหม่อีกครั้ง!',
|
||||
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',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'ข้อผิดพลาดในการตรวจสอบ',
|
||||
msgLoading: 'กำลังโหลดไฟล์ {index} จาก {files} …',
|
||||
msgProgress: 'กำลังโหลดไฟล์ {index} จาก {files} - {name} - {percent}%',
|
||||
msgSelected: '{n} {files} ถูกเลือก',
|
||||
msgFoldersNotAllowed: 'Drag & drop เฉพาะไฟล์เท่านั้น! ข้าม dropped folder จำนวน {n}',
|
||||
msgImageWidthSmall: 'ความกว้างของภาพไฟล์ "{name}" ต้องมีอย่างน้อย {size} px.',
|
||||
msgImageHeightSmall: 'ความสูงของภาพไฟล์ "{name}" ต้องมีอย่างน้อย {size} px.',
|
||||
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',
|
||||
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: 'อัปโหลดไฟล์',
|
||||
zoomTitle: 'ดูรายละเอียด',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'ยังไม่ได้อัปโหลด',
|
||||
indicatorSuccessTitle: 'อัพโหลด',
|
||||
indicatorErrorTitle: 'อัปโหลดข้อผิดพลาด',
|
||||
indicatorLoadingTitle: 'อัพโหลด ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
96
js/file/js/locales/tr.js
Normal file
96
js/file/js/locales/tr.js
Normal file
@@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* FileInput Turkish 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['tr'] = {
|
||||
fileSingle: 'dosya',
|
||||
filePlural: 'dosyalar',
|
||||
browseLabel: 'Gözat …',
|
||||
removeLabel: 'Sil',
|
||||
removeTitle: 'Seçilen dosyaları sil',
|
||||
cancelLabel: 'İptal',
|
||||
cancelTitle: 'Devam eden yüklemeyi iptal et',
|
||||
uploadLabel: 'Yükle',
|
||||
uploadTitle: 'Seçilen dosyaları yükle',
|
||||
msgNo: 'Hayır',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'İptal edildi',
|
||||
msgZoomModalHeading: 'Detaylı Önizleme',
|
||||
msgFileRequired: 'Yüklemek için bir dosya seçmelisiniz.',
|
||||
msgSizeTooSmall: '"{name}"(<b>{size} KB</b>) dosyası çok küçük ve <b>{minSize} KB</b> boyutundan büyük olmalıdır.',
|
||||
msgSizeTooLarge: '"{name}" dosyasının boyutu (<b>{size} KB</b>) izin verilen azami dosya boyutu olan <b>{maxSize} KB</b>\'tan büyük.',
|
||||
msgFilesTooLess: 'Yüklemek için en az <b>{n}</b> {files} dosya seçmelisiniz.',
|
||||
msgFilesTooMany: 'Yüklemek için seçtiğiniz dosya sayısı <b>({n})</b> azami limitin <b>({m})</b> altında olmalıdır.',
|
||||
msgFileNotFound: '"{name}" dosyası bulunamadı!',
|
||||
msgFileSecured: 'Güvenlik kısıtlamaları "{name}" dosyasının okunmasını engelliyor.',
|
||||
msgFileNotReadable: '"{name}" dosyası okunabilir değil.',
|
||||
msgFilePreviewAborted: '"{name}" dosyası için önizleme iptal edildi.',
|
||||
msgFilePreviewError: '"{name}" dosyası okunurken bir hata oluştu.',
|
||||
msgInvalidFileName: '"{name}" dosya adında geçersiz veya desteklenmeyen karakterler var.',
|
||||
msgInvalidFileType: '"{name}" dosyasının türü geçerli değil. Yalnızca "{types}" türünde dosyalara izin veriliyor.',
|
||||
msgInvalidFileExtension: '"{name}" dosyasının uzantısı geçersiz. Yalnızca "{extensions}" uzantılı dosyalara izin veriliyor.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Dosya yükleme iptal edildi',
|
||||
msgUploadThreshold: 'İşlem yapılıyor...',
|
||||
msgUploadBegin: 'Başlıyor...',
|
||||
msgUploadEnd: 'Başarılı',
|
||||
msgUploadEmpty: 'Yüklemek için geçerli veri mevcut değil.',
|
||||
msgValidationError: 'Doğrulama Hatası',
|
||||
msgLoading: 'Dosya yükleniyor {index} / {files} …',
|
||||
msgProgress: 'Dosya yükleniyor {index} / {files} - {name} - %{percent} tamamlandı.',
|
||||
msgSelected: '{n} {files} seçildi',
|
||||
msgFoldersNotAllowed: 'Yalnızca dosyaları sürükleyip bırakabilirsiniz! {n} dizin(ler) göz ardı edildi.',
|
||||
msgImageWidthSmall: '"{name}" adlı görüntü dosyasının genişliği en az {size} piksel olmalıdır.',
|
||||
msgImageHeightSmall: '"{name}" adlı görüntü dosyasının yüksekliği en az {size} piksel olmalıdır.',
|
||||
msgImageWidthLarge: '"{name}" adlı görüntü dosyasının genişliği {size} pikseli geçemez.',
|
||||
msgImageHeightLarge: '"{name}" adlı görüntü dosyasının yüksekliği {size} pikseli geçemez.',
|
||||
msgImageResizeError: 'Görüntü boyutlarını yeniden boyutlandıramadı.',
|
||||
msgImageResizeException: 'Görüntü boyutlandırma sırasında hata.<pre>{errors}</pre>',
|
||||
msgAjaxError: '{operation} işlemi ile ilgili bir şeyler ters gitti. Lütfen daha sonra tekrar deneyiniz!',
|
||||
msgAjaxProgressError: '{operation} işlemi başarısız oldu.',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'dosya silme',
|
||||
uploadThumb: 'dosya yükleme',
|
||||
uploadBatch: 'toplu dosya yükleme',
|
||||
uploadExtra: 'form verisi yükleme'
|
||||
},
|
||||
dropZoneTitle: 'Dosyaları buraya sürükleyip bırakın',
|
||||
dropZoneClickTitle: '<br>(ya da {files} seçmek için tıklayınız)',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Dosyayı kaldır',
|
||||
uploadTitle: 'Dosyayı yükle',
|
||||
zoomTitle: 'Ayrıntıları görüntüle',
|
||||
dragTitle: 'Taşı / Yeniden düzenle',
|
||||
indicatorNewTitle: 'Henüz yüklenmedi',
|
||||
indicatorSuccessTitle: 'Yüklendi',
|
||||
indicatorErrorTitle: 'Yükleme Hatası',
|
||||
indicatorLoadingTitle: 'Yükleniyor ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Önceki dosyayı göster',
|
||||
next: 'Sonraki dosyayı göster',
|
||||
toggleheader: 'Üst bilgi geçiş',
|
||||
fullscreen: 'Tam ekran geçiş',
|
||||
borderless: 'Çerçevesiz moda geçiş',
|
||||
close: 'Detaylı önizlemeyi kapat'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/uk.js
Normal file
97
js/file/js/locales/uk.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Ukrainian 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
|
||||
* @author CyanoFresh <cyanofresh@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['uk'] = {
|
||||
fileSingle: 'файл',
|
||||
filePlural: 'файли',
|
||||
browseLabel: 'Вибрати …',
|
||||
removeLabel: 'Видалити',
|
||||
removeTitle: 'Видалити вибрані файли',
|
||||
cancelLabel: 'Скасувати',
|
||||
cancelTitle: 'Скасувати поточну загрузку',
|
||||
uploadLabel: 'Загрузити',
|
||||
uploadTitle: 'Загрузити вибрані файли',
|
||||
msgNo: 'Немає',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: 'Cкасовано',
|
||||
msgZoomModalHeading: 'Детальний превью',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Файл "{name}" (<b>{size} KB</b>) перевищує максимальний розмір <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Ви повинні вибрати як мінімум <b>{n}</b> {files} для загрузки.',
|
||||
msgFilesTooMany: 'Кількість вибраних файлів <b>({n})</b> перевищує максимально допустиму кількість <b>{m}</b>.',
|
||||
msgFileNotFound: 'Файл "{name}" не знайдено!',
|
||||
msgFileSecured: 'Обмеження безпеки перешкоджають читанню файла "{name}".',
|
||||
msgFileNotReadable: 'Файл "{name}" неможливо прочитати.',
|
||||
msgFilePreviewAborted: 'Перегляд скасований для файла "{name}".',
|
||||
msgFilePreviewError: 'Сталася помилка під час читання файла "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Заборонений тип файла для "{name}". Тільки "{types}" дозволені.',
|
||||
msgInvalidFileExtension: 'Заборонене розширення для файла "{name}". Тільки "{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',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Помилка перевірки',
|
||||
msgLoading: 'Загрузка файла {index} із {files} …',
|
||||
msgProgress: 'Загрузка файла {index} із {files} - {name} - {percent}% завершено.',
|
||||
msgSelected: '{n} {files} вибрано',
|
||||
msgFoldersNotAllowed: 'Дозволено перетягувати тільки файли! Пропущено {n} папок.',
|
||||
msgImageWidthSmall: 'Ширина зображення "{name}" повинна бути не менше {size} px.',
|
||||
msgImageHeightSmall: 'Висота зображення "{name}" повинна бути не менше {size} px.',
|
||||
msgImageWidthLarge: 'Ширина зображення "{name}" не може перевищувати {size} px.',
|
||||
msgImageHeightLarge: 'Висота зображення "{name}" не може перевищувати {size} px.',
|
||||
msgImageResizeError: 'Не вдалося розміри зображення, щоб змінити розмір.',
|
||||
msgImageResizeException: 'Помилка при зміні розміру зображення.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Перетягніть файли сюди …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Видалити файл',
|
||||
uploadTitle: 'Загрузити файл',
|
||||
zoomTitle: 'Подивитися деталі',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: 'Ще не загружено',
|
||||
indicatorSuccessTitle: 'Загружено',
|
||||
indicatorErrorTitle: 'Помилка при загрузці',
|
||||
indicatorLoadingTitle: 'Загрузка ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/vi.js
Normal file
97
js/file/js/locales/vi.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Vietnamese 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 ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['vi'] = {
|
||||
fileSingle: 'tập tin',
|
||||
filePlural: 'các tập tin',
|
||||
browseLabel: 'Duyệt …',
|
||||
removeLabel: 'Gỡ bỏ',
|
||||
removeTitle: 'Bỏ tập tin đã chọn',
|
||||
cancelLabel: 'Hủy',
|
||||
cancelTitle: 'Hủy upload',
|
||||
uploadLabel: 'Upload',
|
||||
uploadTitle: 'Upload tập tin đã chọn',
|
||||
msgNo: 'Không',
|
||||
msgNoFilesSelected: 'Không tập tin nào được chọn',
|
||||
msgCancelled: 'Đã hủy',
|
||||
msgZoomModalHeading: 'Chi tiết xem trước',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: 'Tập tin "{name}" (<b>{size} KB</b>) vượt quá kích thước giới hạn cho phép <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: 'Bạn phải chọn ít nhất <b>{n}</b> {files} để upload.',
|
||||
msgFilesTooMany: 'Số lượng tập tin upload <b>({n})</b> vượt quá giới hạn cho phép là <b>{m}</b>.',
|
||||
msgFileNotFound: 'Không tìm thấy tập tin "{name}"!',
|
||||
msgFileSecured: 'Các hạn chế về bảo mật không cho phép đọc tập tin "{name}".',
|
||||
msgFileNotReadable: 'Không đọc được tập tin "{name}".',
|
||||
msgFilePreviewAborted: 'Đã dừng xem trước tập tin "{name}".',
|
||||
msgFilePreviewError: 'Đã xảy ra lỗi khi đọc tập tin "{name}".',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: 'Tập tin "{name}" không hợp lệ. Chỉ hỗ trợ loại tập tin "{types}".',
|
||||
msgInvalidFileExtension: 'Phần mở rộng của tập tin "{name}" không hợp lệ. Chỉ hỗ trợ phần mở rộng "{extensions}".',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: 'Đã dừng upload',
|
||||
msgUploadThreshold: 'Đang xử lý...',
|
||||
msgUploadBegin: 'Initializing...',
|
||||
msgUploadEnd: 'Done',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: 'Lỗi xác nhận',
|
||||
msgLoading: 'Đang nạp {index} tập tin trong số {files} …',
|
||||
msgProgress: 'Đang nạp {index} tập tin trong số {files} - {name} - {percent}% hoàn thành.',
|
||||
msgSelected: '{n} {files} được chọn',
|
||||
msgFoldersNotAllowed: 'Chỉ kéo thả tập tin! Đã bỏ qua {n} thư mục.',
|
||||
msgImageWidthSmall: 'Chiều rộng của hình ảnh "{name}" phải tối thiểu là {size} px.',
|
||||
msgImageHeightSmall: 'Chiều cao của hình ảnh "{name}" phải tối thiểu là {size} px.',
|
||||
msgImageWidthLarge: 'Chiều rộng của hình ảnh "{name}" không được quá {size} px.',
|
||||
msgImageHeightLarge: 'Chiều cao của hình ảnh "{name}" không được quá {size} px.',
|
||||
msgImageResizeError: 'Không lấy được kích thước của hình ảnh để resize.',
|
||||
msgImageResizeException: 'Resize hình ảnh bị lỗi.<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: 'Kéo thả tập tin vào đây …',
|
||||
dropZoneClickTitle: '<br>(hoặc click để chọn {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: 'Gỡ bỏ',
|
||||
uploadTitle: 'Upload tập tin',
|
||||
zoomTitle: 'Phóng lớn',
|
||||
dragTitle: 'Di chuyển / Sắp xếp lại',
|
||||
indicatorNewTitle: 'Chưa được upload',
|
||||
indicatorSuccessTitle: 'Đã upload',
|
||||
indicatorErrorTitle: 'Upload bị lỗi',
|
||||
indicatorLoadingTitle: 'Đang upload ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'Xem tập tin phía trước',
|
||||
next: 'Xem tập tin tiếp theo',
|
||||
toggleheader: 'Ẩn/hiện tiêu đề',
|
||||
fullscreen: 'Bật/tắt toàn màn hình',
|
||||
borderless: 'Bật/tắt chế độ không viền',
|
||||
close: 'Đóng'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
98
js/file/js/locales/zh-TW.js
Normal file
98
js/file/js/locales/zh-TW.js
Normal file
@@ -0,0 +1,98 @@
|
||||
/*!
|
||||
* FileInput Chinese Traditional 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
|
||||
* @author kangqf <kangqingfei@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['zh-TW'] = {
|
||||
fileSingle: '單一檔案',
|
||||
filePlural: '複選檔案',
|
||||
browseLabel: '瀏覽 …',
|
||||
removeLabel: '移除',
|
||||
removeTitle: '清除選取檔案',
|
||||
cancelLabel: '取消',
|
||||
cancelTitle: '取消上傳中檔案',
|
||||
uploadLabel: '上傳',
|
||||
uploadTitle: '上傳選取檔案',
|
||||
msgNo: '沒有',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: '取消',
|
||||
zoomTitle: '詳細資料',
|
||||
msgZoomModalHeading: '內容預覽',
|
||||
msgFileRequired: 'You must select a file to upload.',
|
||||
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: '檔案 "{name}" (<b>{size} KB</b>) 大小超過上限 <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: '最少必須選擇 <b>{n}</b> {files} 來上傳. ',
|
||||
msgFilesTooMany: '上傳的檔案數量 <b>({n})</b> 超過最大檔案上傳限制 <b>{m}</b>.',
|
||||
msgFileNotFound: '檔案 "{name}" 未發現!',
|
||||
msgFileSecured: '安全限制,禁止讀取檔案 "{name}".',
|
||||
msgFileNotReadable: '文件 "{name}" 不可讀取.',
|
||||
msgFilePreviewAborted: '檔案 "{name}" 預覽中止.',
|
||||
msgFilePreviewError: '讀取 "{name}" 發生錯誤.',
|
||||
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
|
||||
msgInvalidFileType: '檔案類型錯誤 "{name}". 只能使用 "{types}" 類型的檔案.',
|
||||
msgInvalidFileExtension: '附檔名錯誤 "{name}". 只能使用 "{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',
|
||||
msgUploadEmpty: 'No valid data available for upload.',
|
||||
msgValidationError: '驗證錯誤',
|
||||
msgLoading: '載入第 {index} 個檔案,共 {files} …',
|
||||
msgProgress: '載入第 {index} 個檔案,共 {files} - {name} - {percent}% 成功.',
|
||||
msgSelected: '{n} {files} 選取',
|
||||
msgFoldersNotAllowed: '只支援單檔拖曳! 無法使用 {n} 拖拽的資料夹.',
|
||||
msgImageWidthSmall: '圖檔寬度"{name}"必須至少為{size}像素(px).',
|
||||
msgImageHeightSmall: '圖檔高度"{name}"必須至少為{size}像素(px).',
|
||||
msgImageWidthLarge: '圖檔寬度"{name}"不能超過{size}像素(px).',
|
||||
msgImageHeightLarge: '圖檔高度"{name}"不能超過{size}像素(px).',
|
||||
msgImageResizeError: '無法獲取的圖像尺寸調整。',
|
||||
msgImageResizeException: '錯誤而調整圖像大小。<pre>{errors}</pre>',
|
||||
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
|
||||
msgAjaxProgressError: '{operation} failed',
|
||||
ajaxOperations: {
|
||||
deleteThumb: 'file delete',
|
||||
uploadThumb: 'file upload',
|
||||
uploadBatch: 'batch file upload',
|
||||
uploadExtra: 'form data upload'
|
||||
},
|
||||
dropZoneTitle: '拖曳檔案至此 …',
|
||||
dropZoneClickTitle: '<br>(or click to select {files})',
|
||||
fileActionSettings: {
|
||||
removeTitle: '刪除檔案',
|
||||
uploadTitle: '上傳檔案',
|
||||
zoomTitle: '詳細資料',
|
||||
dragTitle: 'Move / Rearrange',
|
||||
indicatorNewTitle: '尚未上傳',
|
||||
indicatorSuccessTitle: '上傳成功',
|
||||
indicatorErrorTitle: '上傳失敗',
|
||||
indicatorLoadingTitle: '上傳中 ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: 'View previous file',
|
||||
next: 'View next file',
|
||||
toggleheader: 'Toggle header',
|
||||
fullscreen: 'Toggle full screen',
|
||||
borderless: 'Toggle borderless mode',
|
||||
close: 'Close detailed preview'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
97
js/file/js/locales/zh.js
Normal file
97
js/file/js/locales/zh.js
Normal file
@@ -0,0 +1,97 @@
|
||||
/*!
|
||||
* FileInput Chinese 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
|
||||
* @author kangqf <kangqingfei@gmail.com>
|
||||
*
|
||||
* NOTE: this file must be saved in UTF-8 encoding.
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputLocales['zh'] = {
|
||||
fileSingle: '文件',
|
||||
filePlural: '个文件',
|
||||
browseLabel: '选择 …',
|
||||
removeLabel: '移除',
|
||||
removeTitle: '清除选中文件',
|
||||
cancelLabel: '取消',
|
||||
cancelTitle: '取消进行中的上传',
|
||||
uploadLabel: '上传',
|
||||
uploadTitle: '上传选中文件',
|
||||
msgNo: '没有',
|
||||
msgNoFilesSelected: '',
|
||||
msgCancelled: '取消',
|
||||
msgZoomModalHeading: '详细预览',
|
||||
msgFileRequired: '必须选择一个文件上传.',
|
||||
msgSizeTooSmall: '文件 "{name}" (<b>{size} KB</b>) 必须大于限定大小 <b>{minSize} KB</b>.',
|
||||
msgSizeTooLarge: '文件 "{name}" (<b>{size} KB</b>) 超过了允许大小 <b>{maxSize} KB</b>.',
|
||||
msgFilesTooLess: '你必须选择最少 <b>{n}</b> {files} 来上传. ',
|
||||
msgFilesTooMany: '选择的上传文件个数 <b>({n})</b> 超出最大文件的限制个数 <b>{m}</b>.',
|
||||
msgFileNotFound: '文件 "{name}" 未找到!',
|
||||
msgFileSecured: '安全限制,为了防止读取文件 "{name}".',
|
||||
msgFileNotReadable: '文件 "{name}" 不可读.',
|
||||
msgFilePreviewAborted: '取消 "{name}" 的预览.',
|
||||
msgFilePreviewError: '读取 "{name}" 时出现了一个错误.',
|
||||
msgInvalidFileName: '文件名 "{name}" 包含非法字符.',
|
||||
msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
|
||||
msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
|
||||
msgFileTypes: {
|
||||
'image': 'image',
|
||||
'html': 'HTML',
|
||||
'text': 'text',
|
||||
'video': 'video',
|
||||
'audio': 'audio',
|
||||
'flash': 'flash',
|
||||
'pdf': 'PDF',
|
||||
'object': 'object'
|
||||
},
|
||||
msgUploadAborted: '该文件上传被中止',
|
||||
msgUploadThreshold: '处理中...',
|
||||
msgUploadBegin: '正在初始化...',
|
||||
msgUploadEnd: '完成',
|
||||
msgUploadEmpty: '无效的文件上传.',
|
||||
msgValidationError: '验证错误',
|
||||
msgLoading: '加载第 {index} 文件 共 {files} …',
|
||||
msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.',
|
||||
msgSelected: '{n} {files} 选中',
|
||||
msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
|
||||
msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.',
|
||||
msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.',
|
||||
msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.',
|
||||
msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.',
|
||||
msgImageResizeError: '无法获取的图像尺寸调整。',
|
||||
msgImageResizeException: '错误而调整图像大小。<pre>{errors}</pre>',
|
||||
msgAjaxError: '{operation} 发生错误. 请重试!',
|
||||
msgAjaxProgressError: '{operation} 失败',
|
||||
ajaxOperations: {
|
||||
deleteThumb: '删除文件',
|
||||
uploadThumb: '上传文件',
|
||||
uploadBatch: '批量上传',
|
||||
uploadExtra: '表单数据上传'
|
||||
},
|
||||
dropZoneTitle: '拖拽文件到这里 …<br>支持多文件同时上传',
|
||||
dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
|
||||
fileActionSettings: {
|
||||
removeTitle: '删除文件',
|
||||
uploadTitle: '上传文件',
|
||||
zoomTitle: '查看详情',
|
||||
dragTitle: '移动 / 重置',
|
||||
indicatorNewTitle: '没有上传',
|
||||
indicatorSuccessTitle: '上传',
|
||||
indicatorErrorTitle: '上传错误',
|
||||
indicatorLoadingTitle: '上传 ...'
|
||||
},
|
||||
previewZoomButtonTitles: {
|
||||
prev: '预览上一个文件',
|
||||
next: '预览下一个文件',
|
||||
toggleheader: '缩放',
|
||||
fullscreen: '全屏',
|
||||
borderless: '无边界模式',
|
||||
close: '关闭当前预览'
|
||||
}
|
||||
};
|
||||
})(window.jQuery);
|
||||
2471
js/file/js/plugins/piexif.js
Normal file
2471
js/file/js/plugins/piexif.js
Normal file
File diff suppressed because it is too large
Load Diff
1
js/file/js/plugins/piexif.min.js
vendored
Normal file
1
js/file/js/plugins/piexif.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
812
js/file/js/plugins/purify.js
Normal file
812
js/file/js/plugins/purify.js
Normal file
@@ -0,0 +1,812 @@
|
||||
;(function(factory) {
|
||||
'use strict';
|
||||
/* global window: false, define: false, module: false */
|
||||
var root = typeof window === 'undefined' ? null : window;
|
||||
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(function(){ return factory(root); });
|
||||
} else if (typeof module !== 'undefined') {
|
||||
module.exports = factory(root);
|
||||
} else {
|
||||
root.DOMPurify = factory(root);
|
||||
}
|
||||
}(function factory(window) {
|
||||
'use strict';
|
||||
|
||||
var DOMPurify = function(window) {
|
||||
return factory(window);
|
||||
};
|
||||
|
||||
/**
|
||||
* Version label, exposed for easier checks
|
||||
* if DOMPurify is up to date or not
|
||||
*/
|
||||
DOMPurify.version = '0.7.4';
|
||||
|
||||
if (!window || !window.document || window.document.nodeType !== 9) {
|
||||
// not running in a browser, provide a factory function
|
||||
// so that you can pass your own Window
|
||||
DOMPurify.isSupported = false;
|
||||
return DOMPurify;
|
||||
}
|
||||
|
||||
var document = window.document;
|
||||
var originalDocument = document;
|
||||
var DocumentFragment = window.DocumentFragment;
|
||||
var HTMLTemplateElement = window.HTMLTemplateElement;
|
||||
var NodeFilter = window.NodeFilter;
|
||||
var NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap;
|
||||
var Text = window.Text;
|
||||
var Comment = window.Comment;
|
||||
var DOMParser = window.DOMParser;
|
||||
|
||||
// As per issue #47, the web-components registry is inherited by a
|
||||
// new document created via createHTMLDocument. As per the spec
|
||||
// (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
|
||||
// a new empty registry is used when creating a template contents owner
|
||||
// document, so we use that as our parent document to ensure nothing
|
||||
// is inherited.
|
||||
if (typeof HTMLTemplateElement === 'function') {
|
||||
var template = document.createElement('template');
|
||||
if (template.content && template.content.ownerDocument) {
|
||||
document = template.content.ownerDocument;
|
||||
}
|
||||
}
|
||||
var implementation = document.implementation;
|
||||
var createNodeIterator = document.createNodeIterator;
|
||||
var getElementsByTagName = document.getElementsByTagName;
|
||||
var createDocumentFragment = document.createDocumentFragment;
|
||||
var importNode = originalDocument.importNode;
|
||||
|
||||
var hooks = {};
|
||||
|
||||
/**
|
||||
* Expose whether this browser supports running the full DOMPurify.
|
||||
*/
|
||||
DOMPurify.isSupported =
|
||||
typeof implementation.createHTMLDocument !== 'undefined' &&
|
||||
document.documentMode !== 9;
|
||||
|
||||
/* Add properties to a lookup table */
|
||||
var _addToSet = function(set, array) {
|
||||
var l = array.length;
|
||||
while (l--) {
|
||||
if (typeof array[l] === 'string') {
|
||||
array[l] = array[l].toLowerCase();
|
||||
}
|
||||
set[array[l]] = true;
|
||||
}
|
||||
return set;
|
||||
};
|
||||
|
||||
/* Shallow clone an object */
|
||||
var _cloneObj = function(object) {
|
||||
var newObject = {};
|
||||
var property;
|
||||
for (property in object) {
|
||||
if (object.hasOwnProperty(property)) {
|
||||
newObject[property] = object[property];
|
||||
}
|
||||
}
|
||||
return newObject;
|
||||
};
|
||||
|
||||
/**
|
||||
* We consider the elements and attributes below to be safe. Ideally
|
||||
* don't add any new ones but feel free to remove unwanted ones.
|
||||
*/
|
||||
|
||||
/* allowed element names */
|
||||
var ALLOWED_TAGS = null;
|
||||
var DEFAULT_ALLOWED_TAGS = _addToSet({}, [
|
||||
|
||||
// HTML
|
||||
'a','abbr','acronym','address','area','article','aside','audio','b',
|
||||
'bdi','bdo','big','blink','blockquote','body','br','button','canvas',
|
||||
'caption','center','cite','code','col','colgroup','content','data',
|
||||
'datalist','dd','decorator','del','details','dfn','dir','div','dl','dt',
|
||||
'element','em','fieldset','figcaption','figure','font','footer','form',
|
||||
'h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i',
|
||||
'img','input','ins','kbd','label','legend','li','main','map','mark',
|
||||
'marquee','menu','menuitem','meter','nav','nobr','ol','optgroup',
|
||||
'option','output','p','pre','progress','q','rp','rt','ruby','s','samp',
|
||||
'section','select','shadow','small','source','spacer','span','strike',
|
||||
'strong','style','sub','summary','sup','table','tbody','td','template',
|
||||
'textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var',
|
||||
'video','wbr',
|
||||
|
||||
// SVG
|
||||
'svg','altglyph','altglyphdef','altglyphitem','animatecolor',
|
||||
'animatemotion','animatetransform','circle','clippath','defs','desc',
|
||||
'ellipse','filter','font','g','glyph','glyphref','hkern','image','line',
|
||||
'lineargradient','marker','mask','metadata','mpath','path','pattern',
|
||||
'polygon','polyline','radialgradient','rect','stop','switch','symbol',
|
||||
'text','textpath','title','tref','tspan','view','vkern',
|
||||
|
||||
// SVG Filters
|
||||
'feBlend','feColorMatrix','feComponentTransfer','feComposite',
|
||||
'feConvolveMatrix','feDiffuseLighting','feDisplacementMap',
|
||||
'feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur',
|
||||
'feMerge','feMergeNode','feMorphology','feOffset',
|
||||
'feSpecularLighting','feTile','feTurbulence',
|
||||
|
||||
//MathML
|
||||
'math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr',
|
||||
'mmuliscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow',
|
||||
'ms','mpspace','msqrt','mystyle','msub','msup','msubsup','mtable','mtd',
|
||||
'mtext','mtr','munder','munderover',
|
||||
|
||||
//Text
|
||||
'#text'
|
||||
]);
|
||||
|
||||
/* Allowed attribute names */
|
||||
var ALLOWED_ATTR = null;
|
||||
var DEFAULT_ALLOWED_ATTR = _addToSet({}, [
|
||||
|
||||
// HTML
|
||||
'accept','action','align','alt','autocomplete','background','bgcolor',
|
||||
'border','cellpadding','cellspacing','checked','cite','class','clear','color',
|
||||
'cols','colspan','coords','datetime','default','dir','disabled',
|
||||
'download','enctype','face','for','headers','height','hidden','high','href',
|
||||
'hreflang','id','ismap','label','lang','list','loop', 'low','max',
|
||||
'maxlength','media','method','min','multiple','name','noshade','novalidate',
|
||||
'nowrap','open','optimum','pattern','placeholder','poster','preload','pubdate',
|
||||
'radiogroup','readonly','rel','required','rev','reversed','rows',
|
||||
'rowspan','spellcheck','scope','selected','shape','size','span',
|
||||
'srclang','start','src','step','style','summary','tabindex','title',
|
||||
'type','usemap','valign','value','width','xmlns',
|
||||
|
||||
// SVG
|
||||
'accent-height','accumulate','additivive','alignment-baseline',
|
||||
'ascent','attributename','attributetype','azimuth','basefrequency',
|
||||
'baseline-shift','begin','bias','by','clip','clip-path','clip-rule',
|
||||
'color','color-interpolation','color-interpolation-filters','color-profile',
|
||||
'color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction',
|
||||
'display','divisor','dur','edgemode','elevation','end','fill','fill-opacity',
|
||||
'fill-rule','filter','flood-color','flood-opacity','font-family','font-size',
|
||||
'font-size-adjust','font-stretch','font-style','font-variant','font-weight',
|
||||
'fx', 'fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform',
|
||||
'image-rendering','in','in2','k','k1','k2','k3','k4','kerning','keypoints',
|
||||
'keysplines','keytimes','lengthadjust','letter-spacing','kernelmatrix',
|
||||
'kernelunitlength','lighting-color','local','marker-end','marker-mid',
|
||||
'marker-start','markerheight','markerunits','markerwidth','maskcontentunits',
|
||||
'maskunits','max','mask','mode','min','numoctaves','offset','operator',
|
||||
'opacity','order','orient','orientation','origin','overflow','paint-order',
|
||||
'path','pathlength','patterncontentunits','patterntransform','patternunits',
|
||||
'points','preservealpha','r','rx','ry','radius','refx','refy','repeatcount',
|
||||
'repeatdur','restart','result','rotate','scale','seed','shape-rendering',
|
||||
'specularconstant','specularexponent','spreadmethod','stddeviation','stitchtiles',
|
||||
'stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap',
|
||||
'stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width',
|
||||
'surfacescale','targetx','targety','transform','text-anchor','text-decoration',
|
||||
'text-rendering','textlength','u1','u2','unicode','values','viewbox',
|
||||
'visibility','vert-adv-y','vert-origin-x','vert-origin-y','word-spacing',
|
||||
'wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2',
|
||||
'y','y1','y2','z','zoomandpan',
|
||||
|
||||
// MathML
|
||||
'accent','accentunder','bevelled','close','columnsalign','columnlines',
|
||||
'columnspan','denomalign','depth','display','displaystyle','fence',
|
||||
'frame','largeop','length','linethickness','lspace','lquote',
|
||||
'mathbackground','mathcolor','mathsize','mathvariant','maxsize',
|
||||
'minsize','movablelimits','notation','numalign','open','rowalign',
|
||||
'rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel',
|
||||
'scriptminsize','scriptsizemultiplier','selection','separator',
|
||||
'separators','stretchy','subscriptshift','supscriptshift','symmetric',
|
||||
'voffset',
|
||||
|
||||
// XML
|
||||
'xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink'
|
||||
]);
|
||||
|
||||
/* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
|
||||
var FORBID_TAGS = null;
|
||||
|
||||
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
||||
var FORBID_ATTR = null;
|
||||
|
||||
/* Decide if custom data attributes are okay */
|
||||
var ALLOW_DATA_ATTR = true;
|
||||
|
||||
/* Decide if unknown protocols are okay */
|
||||
var ALLOW_UNKNOWN_PROTOCOLS = false;
|
||||
|
||||
/* Output should be safe for jQuery's $() factory? */
|
||||
var SAFE_FOR_JQUERY = false;
|
||||
|
||||
/* Output should be safe for common template engines.
|
||||
* This means, DOMPurify removes data attributes, mustaches and ERB
|
||||
*/
|
||||
var SAFE_FOR_TEMPLATES = false;
|
||||
|
||||
/* Specify template detection regex for SAFE_FOR_TEMPLATES mode */
|
||||
var MUSTACHE_EXPR = /\{\{[\s\S]*|[\s\S]*\}\}/gm;
|
||||
var ERB_EXPR = /<%[\s\S]*|[\s\S]*%>/gm;
|
||||
|
||||
/* Decide if document with <html>... should be returned */
|
||||
var WHOLE_DOCUMENT = false;
|
||||
|
||||
/* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html string.
|
||||
* If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
|
||||
*/
|
||||
var RETURN_DOM = false;
|
||||
|
||||
/* Decide if a DOM `DocumentFragment` should be returned, instead of a html string */
|
||||
var RETURN_DOM_FRAGMENT = false;
|
||||
|
||||
/* If `RETURN_DOM` or `RETURN_DOM_FRAGMENT` is enabled, decide if the returned DOM
|
||||
* `Node` is imported into the current `Document`. If this flag is not enabled the
|
||||
* `Node` will belong (its ownerDocument) to a fresh `HTMLDocument`, created by
|
||||
* DOMPurify. */
|
||||
var RETURN_DOM_IMPORT = false;
|
||||
|
||||
/* Output should be free from DOM clobbering attacks? */
|
||||
var SANITIZE_DOM = true;
|
||||
|
||||
/* Keep element content when removing element? */
|
||||
var KEEP_CONTENT = true;
|
||||
|
||||
/* Tags to ignore content of when KEEP_CONTENT is true */
|
||||
var FORBID_CONTENTS = _addToSet({}, [
|
||||
'audio', 'head', 'math', 'script', 'style', 'svg', 'video'
|
||||
]);
|
||||
|
||||
/* Tags that are safe for data: URIs */
|
||||
var DATA_URI_TAGS = _addToSet({}, [
|
||||
'audio', 'video', 'img', 'source'
|
||||
]);
|
||||
|
||||
/* Attributes safe for values like "javascript:" */
|
||||
var URI_SAFE_ATTRIBUTES = _addToSet({}, [
|
||||
'alt','class','for','id','label','name','pattern','placeholder',
|
||||
'summary','title','value','style','xmlns'
|
||||
]);
|
||||
|
||||
/* Keep a reference to config to pass to hooks */
|
||||
var CONFIG = null;
|
||||
|
||||
/* Ideally, do not touch anything below this line */
|
||||
/* ______________________________________________ */
|
||||
|
||||
var formElement = document.createElement('form');
|
||||
|
||||
/**
|
||||
* _parseConfig
|
||||
*
|
||||
* @param optional config literal
|
||||
*/
|
||||
var _parseConfig = function(cfg) {
|
||||
/* Shield configuration object from tampering */
|
||||
if (typeof cfg !== 'object') {
|
||||
cfg = {};
|
||||
}
|
||||
|
||||
/* Set configuration parameters */
|
||||
ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ?
|
||||
_addToSet({}, cfg.ALLOWED_TAGS) : DEFAULT_ALLOWED_TAGS;
|
||||
ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ?
|
||||
_addToSet({}, cfg.ALLOWED_ATTR) : DEFAULT_ALLOWED_ATTR;
|
||||
FORBID_TAGS = 'FORBID_TAGS' in cfg ?
|
||||
_addToSet({}, cfg.FORBID_TAGS) : {};
|
||||
FORBID_ATTR = 'FORBID_ATTR' in cfg ?
|
||||
_addToSet({}, cfg.FORBID_ATTR) : {};
|
||||
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
||||
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
||||
SAFE_FOR_JQUERY = cfg.SAFE_FOR_JQUERY || false; // Default false
|
||||
SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
|
||||
WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
|
||||
RETURN_DOM = cfg.RETURN_DOM || false; // Default false
|
||||
RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
|
||||
RETURN_DOM_IMPORT = cfg.RETURN_DOM_IMPORT || false; // Default false
|
||||
SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
|
||||
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
||||
|
||||
if (SAFE_FOR_TEMPLATES) {
|
||||
ALLOW_DATA_ATTR = false;
|
||||
}
|
||||
|
||||
if (RETURN_DOM_FRAGMENT) {
|
||||
RETURN_DOM = true;
|
||||
}
|
||||
|
||||
/* Merge configuration parameters */
|
||||
if (cfg.ADD_TAGS) {
|
||||
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
||||
ALLOWED_TAGS = _cloneObj(ALLOWED_TAGS);
|
||||
}
|
||||
_addToSet(ALLOWED_TAGS, cfg.ADD_TAGS);
|
||||
}
|
||||
if (cfg.ADD_ATTR) {
|
||||
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
||||
ALLOWED_ATTR = _cloneObj(ALLOWED_ATTR);
|
||||
}
|
||||
_addToSet(ALLOWED_ATTR, cfg.ADD_ATTR);
|
||||
}
|
||||
|
||||
/* Add #text in case KEEP_CONTENT is set to true */
|
||||
if (KEEP_CONTENT) { ALLOWED_TAGS['#text'] = true; }
|
||||
|
||||
// Prevent further manipulation of configuration.
|
||||
// Not available in IE8, Safari 5, etc.
|
||||
if (Object && 'freeze' in Object) { Object.freeze(cfg); }
|
||||
|
||||
CONFIG = cfg;
|
||||
};
|
||||
|
||||
/**
|
||||
* _forceRemove
|
||||
*
|
||||
* @param a DOM node
|
||||
*/
|
||||
var _forceRemove = function(node) {
|
||||
try {
|
||||
node.parentNode.removeChild(node);
|
||||
} catch (e) {
|
||||
node.outerHTML = '';
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* _initDocument
|
||||
*
|
||||
* @param a string of dirty markup
|
||||
* @return a DOM, filled with the dirty markup
|
||||
*/
|
||||
var _initDocument = function(dirty) {
|
||||
/* Create a HTML document using DOMParser */
|
||||
var doc, body;
|
||||
try {
|
||||
doc = new DOMParser().parseFromString(dirty, 'text/html');
|
||||
} catch (e) {}
|
||||
|
||||
/* Some browsers throw, some browsers return null for the code above
|
||||
DOMParser with text/html support is only in very recent browsers. */
|
||||
if (!doc) {
|
||||
doc = implementation.createHTMLDocument('');
|
||||
body = doc.body;
|
||||
body.parentNode.removeChild(body.parentNode.firstElementChild);
|
||||
body.outerHTML = dirty;
|
||||
}
|
||||
|
||||
/* Work on whole document or just its body */
|
||||
if (typeof doc.getElementsByTagName === 'function') {
|
||||
return doc.getElementsByTagName(
|
||||
WHOLE_DOCUMENT ? 'html' : 'body')[0];
|
||||
}
|
||||
return getElementsByTagName.call(doc,
|
||||
WHOLE_DOCUMENT ? 'html' : 'body')[0];
|
||||
};
|
||||
|
||||
/**
|
||||
* _createIterator
|
||||
*
|
||||
* @param document/fragment to create iterator for
|
||||
* @return iterator instance
|
||||
*/
|
||||
var _createIterator = function(root) {
|
||||
return createNodeIterator.call(root.ownerDocument || root,
|
||||
root,
|
||||
NodeFilter.SHOW_ELEMENT
|
||||
| NodeFilter.SHOW_COMMENT
|
||||
| NodeFilter.SHOW_TEXT,
|
||||
function() { return NodeFilter.FILTER_ACCEPT; },
|
||||
false
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* _isClobbered
|
||||
*
|
||||
* @param element to check for clobbering attacks
|
||||
* @return true if clobbered, false if safe
|
||||
*/
|
||||
var _isClobbered = function(elm) {
|
||||
if (elm instanceof Text || elm instanceof Comment) {
|
||||
return false;
|
||||
}
|
||||
if ( typeof elm.nodeName !== 'string'
|
||||
|| typeof elm.textContent !== 'string'
|
||||
|| typeof elm.removeChild !== 'function'
|
||||
|| !(elm.attributes instanceof NamedNodeMap)
|
||||
|| typeof elm.removeAttribute !== 'function'
|
||||
|| typeof elm.setAttribute !== 'function'
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
* _sanitizeElements
|
||||
*
|
||||
* @protect nodeName
|
||||
* @protect textContent
|
||||
* @protect removeChild
|
||||
*
|
||||
* @param node to check for permission to exist
|
||||
* @return true if node was killed, false if left alive
|
||||
*/
|
||||
var _sanitizeElements = function(currentNode) {
|
||||
var tagName, content;
|
||||
/* Execute a hook if present */
|
||||
_executeHook('beforeSanitizeElements', currentNode, null);
|
||||
|
||||
/* Check if element is clobbered or can clobber */
|
||||
if (_isClobbered(currentNode)) {
|
||||
_forceRemove(currentNode);
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Now let's check the element's type and name */
|
||||
tagName = currentNode.nodeName.toLowerCase();
|
||||
|
||||
/* Execute a hook if present */
|
||||
_executeHook('uponSanitizeElement', currentNode, {
|
||||
tagName: tagName
|
||||
});
|
||||
|
||||
/* Remove element if anything forbids its presence */
|
||||
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
||||
/* Keep content except for black-listed elements */
|
||||
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]
|
||||
&& typeof currentNode.insertAdjacentHTML === 'function') {
|
||||
try {
|
||||
currentNode.insertAdjacentHTML('AfterEnd', currentNode.innerHTML);
|
||||
} catch (e) {}
|
||||
}
|
||||
_forceRemove(currentNode);
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Convert markup to cover jQuery behavior */
|
||||
if (SAFE_FOR_JQUERY && !currentNode.firstElementChild &&
|
||||
(!currentNode.content || !currentNode.content.firstElementChild)) {
|
||||
currentNode.innerHTML = currentNode.textContent.replace(/</g, '<');
|
||||
}
|
||||
|
||||
/* Sanitize element content to be template-safe */
|
||||
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {
|
||||
/* Get the element's text content */
|
||||
content = currentNode.textContent;
|
||||
content = content.replace(MUSTACHE_EXPR, ' ');
|
||||
content = content.replace(ERB_EXPR, ' ');
|
||||
currentNode.textContent = content;
|
||||
}
|
||||
|
||||
/* Execute a hook if present */
|
||||
_executeHook('afterSanitizeElements', currentNode, null);
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
var DATA_ATTR = /^data-[\w.\u00B7-\uFFFF-]/;
|
||||
var IS_ALLOWED_URI = /^(?:(?:(?:f|ht)tps?|mailto|tel):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i;
|
||||
var IS_SCRIPT_OR_DATA = /^(?:\w+script|data):/i;
|
||||
/* This needs to be extensive thanks to Webkit/Blink's behavior */
|
||||
var ATTR_WHITESPACE = /[\x00-\x20\xA0\u1680\u180E\u2000-\u2029\u205f\u3000]/g;
|
||||
|
||||
/**
|
||||
* _sanitizeAttributes
|
||||
*
|
||||
* @protect attributes
|
||||
* @protect nodeName
|
||||
* @protect removeAttribute
|
||||
* @protect setAttribute
|
||||
*
|
||||
* @param node to sanitize
|
||||
* @return void
|
||||
*/
|
||||
var _sanitizeAttributes = function(currentNode) {
|
||||
var attr, name, value, lcName, idAttr, attributes, hookEvent, l;
|
||||
/* Execute a hook if present */
|
||||
_executeHook('beforeSanitizeAttributes', currentNode, null);
|
||||
|
||||
attributes = currentNode.attributes;
|
||||
|
||||
/* Check if we have attributes; if not we might have a text node */
|
||||
if (!attributes) { return; }
|
||||
|
||||
hookEvent = {
|
||||
attrName: '',
|
||||
attrValue: '',
|
||||
keepAttr: true
|
||||
};
|
||||
l = attributes.length;
|
||||
|
||||
/* Go backwards over all attributes; safely remove bad ones */
|
||||
while (l--) {
|
||||
attr = attributes[l];
|
||||
name = attr.name;
|
||||
value = attr.value;
|
||||
lcName = name.toLowerCase();
|
||||
|
||||
/* Execute a hook if present */
|
||||
hookEvent.attrName = lcName;
|
||||
hookEvent.attrValue = value;
|
||||
hookEvent.keepAttr = true;
|
||||
_executeHook('uponSanitizeAttribute', currentNode, hookEvent );
|
||||
value = hookEvent.attrValue;
|
||||
|
||||
/* Remove attribute */
|
||||
// Safari (iOS + Mac), last tested v8.0.5, crashes if you try to
|
||||
// remove a "name" attribute from an <img> tag that has an "id"
|
||||
// attribute at the time.
|
||||
if (lcName === 'name' &&
|
||||
currentNode.nodeName === 'IMG' && attributes.id) {
|
||||
idAttr = attributes.id;
|
||||
attributes = Array.prototype.slice.apply(attributes);
|
||||
currentNode.removeAttribute('id');
|
||||
currentNode.removeAttribute(name);
|
||||
if (attributes.indexOf(idAttr) > l) {
|
||||
currentNode.setAttribute('id', idAttr.value);
|
||||
}
|
||||
} else {
|
||||
// This avoids a crash in Safari v9.0 with double-ids.
|
||||
// The trick is to first set the id to be empty and then to
|
||||
// remove the attriubute
|
||||
if (name === 'id') {
|
||||
currentNode.setAttribute(name, '');
|
||||
}
|
||||
currentNode.removeAttribute(name);
|
||||
}
|
||||
|
||||
/* Did the hooks approve of the attribute? */
|
||||
if (!hookEvent.keepAttr) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Make sure attribute cannot clobber */
|
||||
if (SANITIZE_DOM &&
|
||||
(lcName === 'id' || lcName === 'name') &&
|
||||
(value in window || value in document || value in formElement)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Sanitize attribute content to be template-safe */
|
||||
if (SAFE_FOR_TEMPLATES) {
|
||||
value = value.replace(MUSTACHE_EXPR, ' ');
|
||||
value = value.replace(ERB_EXPR, ' ');
|
||||
}
|
||||
|
||||
if (
|
||||
/* Check the name is permitted */
|
||||
(ALLOWED_ATTR[lcName] && !FORBID_ATTR[lcName] && (
|
||||
/* Check no script, data or unknown possibly unsafe URI
|
||||
unless we know URI values are safe for that attribute */
|
||||
URI_SAFE_ATTRIBUTES[lcName] ||
|
||||
IS_ALLOWED_URI.test(value.replace(ATTR_WHITESPACE,'')) ||
|
||||
/* Keep image data URIs alive if src is allowed */
|
||||
(lcName === 'src' && value.indexOf('data:') === 0 &&
|
||||
DATA_URI_TAGS[currentNode.nodeName.toLowerCase()])
|
||||
)) ||
|
||||
/* Allow potentially valid data-* attributes:
|
||||
* At least one character after "-" (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
||||
* XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
||||
* We don't need to check the value; it's always URI safe.
|
||||
*/
|
||||
(ALLOW_DATA_ATTR && DATA_ATTR.test(lcName)) ||
|
||||
/* Allow unknown protocols:
|
||||
* This provides support for links that are handled by protocol handlers which may be unknown
|
||||
* ahead of time, e.g. fb:, spotify:
|
||||
*/
|
||||
(ALLOW_UNKNOWN_PROTOCOLS && !IS_SCRIPT_OR_DATA.test(value.replace(ATTR_WHITESPACE,'')))
|
||||
) {
|
||||
/* Handle invalid data-* attribute set by try-catching it */
|
||||
try {
|
||||
currentNode.setAttribute(name, value);
|
||||
} catch (e) {}
|
||||
}
|
||||
}
|
||||
|
||||
/* Execute a hook if present */
|
||||
_executeHook('afterSanitizeAttributes', currentNode, null);
|
||||
};
|
||||
|
||||
/**
|
||||
* _sanitizeShadowDOM
|
||||
*
|
||||
* @param fragment to iterate over recursively
|
||||
* @return void
|
||||
*/
|
||||
var _sanitizeShadowDOM = function(fragment) {
|
||||
var shadowNode;
|
||||
var shadowIterator = _createIterator(fragment);
|
||||
|
||||
/* Execute a hook if present */
|
||||
_executeHook('beforeSanitizeShadowDOM', fragment, null);
|
||||
|
||||
while ( (shadowNode = shadowIterator.nextNode()) ) {
|
||||
/* Execute a hook if present */
|
||||
_executeHook('uponSanitizeShadowNode', shadowNode, null);
|
||||
|
||||
/* Sanitize tags and elements */
|
||||
if (_sanitizeElements(shadowNode)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Deep shadow DOM detected */
|
||||
if (shadowNode.content instanceof DocumentFragment) {
|
||||
_sanitizeShadowDOM(shadowNode.content);
|
||||
}
|
||||
|
||||
/* Check attributes, sanitize if necessary */
|
||||
_sanitizeAttributes(shadowNode);
|
||||
}
|
||||
|
||||
/* Execute a hook if present */
|
||||
_executeHook('afterSanitizeShadowDOM', fragment, null);
|
||||
};
|
||||
|
||||
/**
|
||||
* _executeHook
|
||||
* Execute user configurable hooks
|
||||
*
|
||||
* @param {String} entryPoint Name of the hook's entry point
|
||||
* @param {Node} currentNode
|
||||
*/
|
||||
var _executeHook = function(entryPoint, currentNode, data) {
|
||||
if (!hooks[entryPoint]) { return; }
|
||||
|
||||
hooks[entryPoint].forEach(function(hook) {
|
||||
hook.call(DOMPurify, currentNode, data, CONFIG);
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* sanitize
|
||||
* Public method providing core sanitation functionality
|
||||
*
|
||||
* @param {String} dirty string
|
||||
* @param {Object} configuration object
|
||||
*/
|
||||
DOMPurify.sanitize = function(dirty, cfg) {
|
||||
var body, currentNode, oldNode, nodeIterator, returnNode;
|
||||
/* Make sure we have a string to sanitize.
|
||||
DO NOT return early, as this will return the wrong type if
|
||||
the user has requested a DOM object rather than a string */
|
||||
if (!dirty) {
|
||||
dirty = '';
|
||||
}
|
||||
|
||||
/* Stringify, in case dirty is an object */
|
||||
if (typeof dirty !== 'string') {
|
||||
if (typeof dirty.toString !== 'function') {
|
||||
throw new TypeError('toString is not a function');
|
||||
} else {
|
||||
dirty = dirty.toString();
|
||||
}
|
||||
}
|
||||
|
||||
/* Check we can run. Otherwise fall back or ignore */
|
||||
if (!DOMPurify.isSupported) {
|
||||
if (typeof window.toStaticHTML === 'object'
|
||||
|| typeof window.toStaticHTML === 'function') {
|
||||
return window.toStaticHTML(dirty);
|
||||
}
|
||||
return dirty;
|
||||
}
|
||||
|
||||
/* Assign config vars */
|
||||
_parseConfig(cfg);
|
||||
|
||||
/* Exit directly if we have nothing to do */
|
||||
if (!RETURN_DOM && !WHOLE_DOCUMENT && dirty.indexOf('<') === -1) {
|
||||
return dirty;
|
||||
}
|
||||
|
||||
/* Initialize the document to work on */
|
||||
body = _initDocument(dirty);
|
||||
|
||||
/* Check we have a DOM node from the data */
|
||||
if (!body) {
|
||||
return RETURN_DOM ? null : '';
|
||||
}
|
||||
|
||||
/* Get node iterator */
|
||||
nodeIterator = _createIterator(body);
|
||||
|
||||
/* Now start iterating over the created document */
|
||||
while ( (currentNode = nodeIterator.nextNode()) ) {
|
||||
|
||||
/* Fix IE's strange behavior with manipulated textNodes #89 */
|
||||
if (currentNode.nodeType === 3 && currentNode === oldNode) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Sanitize tags and elements */
|
||||
if (_sanitizeElements(currentNode)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Shadow DOM detected, sanitize it */
|
||||
if (currentNode.content instanceof DocumentFragment) {
|
||||
_sanitizeShadowDOM(currentNode.content);
|
||||
}
|
||||
|
||||
/* Check attributes, sanitize if necessary */
|
||||
_sanitizeAttributes(currentNode);
|
||||
|
||||
oldNode = currentNode;
|
||||
}
|
||||
|
||||
/* Return sanitized string or DOM */
|
||||
if (RETURN_DOM) {
|
||||
|
||||
if (RETURN_DOM_FRAGMENT) {
|
||||
returnNode = createDocumentFragment.call(body.ownerDocument);
|
||||
|
||||
while (body.firstChild) {
|
||||
returnNode.appendChild(body.firstChild);
|
||||
}
|
||||
} else {
|
||||
returnNode = body;
|
||||
}
|
||||
|
||||
if (RETURN_DOM_IMPORT) {
|
||||
/* adoptNode() is not used because internal state is not reset
|
||||
(e.g. the past names map of a HTMLFormElement), this is safe
|
||||
in theory but we would rather not risk another attack vector.
|
||||
The state that is cloned by importNode() is explicitly defined
|
||||
by the specs. */
|
||||
returnNode = importNode.call(originalDocument, returnNode, true);
|
||||
}
|
||||
|
||||
return returnNode;
|
||||
}
|
||||
|
||||
return WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
||||
};
|
||||
|
||||
/**
|
||||
* addHook
|
||||
* Public method to add DOMPurify hooks
|
||||
*
|
||||
* @param {String} entryPoint
|
||||
* @param {Function} hookFunction
|
||||
*/
|
||||
DOMPurify.addHook = function(entryPoint, hookFunction) {
|
||||
if (typeof hookFunction !== 'function') { return; }
|
||||
hooks[entryPoint] = hooks[entryPoint] || [];
|
||||
hooks[entryPoint].push(hookFunction);
|
||||
};
|
||||
|
||||
/**
|
||||
* removeHook
|
||||
* Public method to remove a DOMPurify hook at a given entryPoint
|
||||
* (pops it from the stack of hooks if more are present)
|
||||
*
|
||||
* @param {String} entryPoint
|
||||
* @return void
|
||||
*/
|
||||
DOMPurify.removeHook = function(entryPoint) {
|
||||
if (hooks[entryPoint]) {
|
||||
hooks[entryPoint].pop();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* removeHooks
|
||||
* Public method to remove all DOMPurify hooks at a given entryPoint
|
||||
*
|
||||
* @param {String} entryPoint
|
||||
* @return void
|
||||
*/
|
||||
DOMPurify.removeHooks = function(entryPoint) {
|
||||
if (hooks[entryPoint]) {
|
||||
hooks[entryPoint] = [];
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* removeAllHooks
|
||||
* Public method to remove all DOMPurify hooks
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
DOMPurify.removeAllHooks = function() {
|
||||
hooks = [];
|
||||
};
|
||||
|
||||
return DOMPurify;
|
||||
}));
|
||||
1
js/file/js/plugins/purify.min.js
vendored
Normal file
1
js/file/js/plugins/purify.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1530
js/file/js/plugins/sortable.js
Normal file
1530
js/file/js/plugins/sortable.js
Normal file
File diff suppressed because it is too large
Load Diff
1
js/file/js/plugins/sortable.min.js
vendored
Normal file
1
js/file/js/plugins/sortable.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
21
js/file/nuget/Package.nuspec
Normal file
21
js/file/nuget/Package.nuspec
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>bootstrap-fileinput</id>
|
||||
<title>bootstrap-fileinput</title>
|
||||
<version>4.4.3</version>
|
||||
<authors>Kartik Visweswaran</authors>
|
||||
<owners>Kartik Visweswaran</owners>
|
||||
<licenseUrl>https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md</licenseUrl>
|
||||
<projectUrl>https://github.com/kartik-v/bootstrap-fileinput</projectUrl>
|
||||
<iconUrl>http://getbootstrap.com/favicon.ico</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more.</description>
|
||||
<releaseNotes>https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md</releaseNotes>
|
||||
<copyright>Copyright 2014 - 2017</copyright>
|
||||
<tags>bootstrap bootstrap-fileinput</tags>
|
||||
<dependencies>
|
||||
<dependency id="bootstrap" version="3.3.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
35
js/file/nuget/build.bat
Normal file
35
js/file/nuget/build.bat
Normal file
@@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
|
||||
NuGet Update -self
|
||||
REM remove package content folder
|
||||
rmdir /s /q content
|
||||
|
||||
REM create new package content folder
|
||||
mkdir content
|
||||
|
||||
REM create sub folder for js files
|
||||
mkdir content\Scripts
|
||||
|
||||
REM create sub folders for css and img files
|
||||
mkdir content\Content
|
||||
mkdir content\Content\bootstrap-fileinput
|
||||
|
||||
REM delete the previous package versions
|
||||
REM del bootstrap-fileinput.*
|
||||
|
||||
REM copy the content to the destination folders
|
||||
xcopy ..\js content\Scripts /D /E /C /R /I /K /Y
|
||||
xcopy ..\css content\Content\bootstrap-fileinput\css /D /E /C /R /I /K /Y
|
||||
xcopy ..\img content\Content\bootstrap-fileinput\img /D /E /C /R /I /K /Y
|
||||
xcopy ..\themes content\Content\bootstrap-fileinput\themes /D /E /C /R /I /K /Y
|
||||
xcopy ..\sass content\Content\bootstrap-fileinput\sass /D /E /C /R /I /K /Y
|
||||
|
||||
REM create a new package
|
||||
NuGet Pack Package.nuspec -Exclude NuGet.exe;build.bat
|
||||
|
||||
REM Upload the new package
|
||||
REM for %%f in (content\Content\bootstrap-fileinput.*) do (
|
||||
REM NuGet Push %%f
|
||||
REM rmdir /s /q content
|
||||
REM del %%f
|
||||
REM )
|
||||
36
js/file/package.json
Normal file
36
js/file/package.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "bootstrap-fileinput",
|
||||
"version": "4.4.3",
|
||||
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
|
||||
"authors": [
|
||||
"Kartik Visweswaran <kartikv2@gmail.com>"
|
||||
],
|
||||
"description": "An enhanced HTML 5 file input for Bootstrap 3.x with file preview, multiple selection, ajax uploads, and more features.",
|
||||
"repository" : {
|
||||
"type": "git",
|
||||
"url": "https://github.com/kartik-v/bootstrap-fileinput.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/kartik-v/bootstrap-fileinput/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"bootstrap",
|
||||
"file",
|
||||
"input",
|
||||
"preview",
|
||||
"image",
|
||||
"upload",
|
||||
"ajax",
|
||||
"multiple",
|
||||
"delete",
|
||||
"progress",
|
||||
"gallery"
|
||||
],
|
||||
"main": "./js/fileinput.js",
|
||||
"style": "./css/fileinput.css",
|
||||
"peerDependencies": {
|
||||
"jquery": ">= 1.9.0",
|
||||
"bootstrap": "~3"
|
||||
},
|
||||
"license": "BSD-3-Clause"
|
||||
}
|
||||
490
js/file/sass/fileinput.scss
Normal file
490
js/file/sass/fileinput.scss
Normal file
@@ -0,0 +1,490 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee default styling for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
// Default Variables
|
||||
// --------------------------
|
||||
|
||||
$bootstrap-fileinput-img-path: "../img" !default;
|
||||
|
||||
// COMMON STYLES
|
||||
// --------------------------
|
||||
|
||||
.file-loading {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
font-size: 999px;
|
||||
text-align: right;
|
||||
color: #fff;
|
||||
background: transparent url('#{$bootstrap-fileinput-img-path}/loading.gif') top left no-repeat;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.file-object {
|
||||
margin: 0 0 -5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.btn-file {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
input[type=file] {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
text-align: right;
|
||||
opacity: 0;
|
||||
background: none repeat scroll 0 0 transparent;
|
||||
cursor: inherit;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.file-caption-name {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
height: 20px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.input-group-lg .file-caption-name {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.file-error-message {
|
||||
color: #a94442;
|
||||
background-color: #f2dede;
|
||||
margin: 5px;
|
||||
border: 1px solid #ebccd1;
|
||||
border-radius: 4px;
|
||||
padding: 15px;
|
||||
|
||||
pre, ul {
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.file-caption-disabled {
|
||||
background-color: #EEEEEE;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.file-preview {
|
||||
border-radius: 5px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.krajee-default {
|
||||
&.file-preview-frame {
|
||||
position: relative;
|
||||
display: table;
|
||||
margin: 8px;
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: 1px 1px 5px 0 #a2958a;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
|
||||
&:not(.file-preview-error):hover {
|
||||
box-shadow: 3px 3px 5px 0 #333;
|
||||
}
|
||||
|
||||
.kv-file-content {
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.file-thumbnail-footer {
|
||||
height: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-preview-image {
|
||||
vertical-align: middle;
|
||||
font: 40px Impact, Charcoal, sans-serif;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.file-preview-text {
|
||||
display: block;
|
||||
color: #428bca;
|
||||
border: 1px solid #ddd;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
outline: none;
|
||||
padding: 8px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.file-preview-html {
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
&[data-template="audio"] .file-preview-audio {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 170px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.file-preview-audio audio {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.file-zoom-dialog .file-preview-text {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.file-preview-other {
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 10px;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
.file-actions, .file-other-error {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.file-other-icon {
|
||||
font-size: 8em;
|
||||
}
|
||||
|
||||
.file-actions {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.file-footer-buttons {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.file-footer-caption {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 160px;
|
||||
text-align: center;
|
||||
padding-top: 4px;
|
||||
font-size: 11px;
|
||||
color: #777;
|
||||
margin: 5px auto;
|
||||
}
|
||||
|
||||
.file-preview-error {
|
||||
opacity: 0.65;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.file-preview-frame:not(.file-preview-error) .file-footer-caption:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.file-drag-handle, .file-upload-indicator {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
bottom: -6px;
|
||||
left: -6px;
|
||||
padding: 8px 8px 1px 3px;
|
||||
border-left: none;
|
||||
border-bottom: none;
|
||||
border-right: 1px solid #8a6d3b;
|
||||
border-top: 1px solid #8a6d3b;
|
||||
border-top-right-radius: 24px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.file-drag-handle {
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
.file-upload-indicator {
|
||||
font-size: 13px;
|
||||
background-color: #fcf8e3;
|
||||
border-color: #faebcc;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
&.file-preview-error .file-upload-indicator {
|
||||
background-color: #f2dede;
|
||||
border-color: #ebccd1;
|
||||
}
|
||||
|
||||
&.file-preview-success .file-upload-indicator {
|
||||
background-color: #dff0d8;
|
||||
border-color: #d6e9c6;
|
||||
}
|
||||
|
||||
&.file-preview-loading .file-upload-indicator {
|
||||
background-color: #e5e5e5;
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
.file-thumb-progress {
|
||||
height: 10px;
|
||||
|
||||
.progress, .progress-bar {
|
||||
height: 10px;
|
||||
font-size: 9px;
|
||||
line-height: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-thumbnail-footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.file-thumb-progress {
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
&.kvsortable-ghost {
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
}
|
||||
|
||||
/* noinspection CssOverwrittenProperties */
|
||||
|
||||
.file-zoom-dialog .file-other-icon {
|
||||
font-size: 8em;
|
||||
font-size: 65vmin;
|
||||
}
|
||||
|
||||
.file-input-new {
|
||||
.file-preview, .close, .glyphicon-file, .fileinput-remove-button, .fileinput-upload-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.file-input-ajax-new {
|
||||
.fileinput-remove-button, .fileinput-upload-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.file-caption-main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.file-input-ajax-new .no-browse .input-group-btn, .file-input-new .no-browse .input-group-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-input-ajax-new .no-browse .form-control, .file-input-new .no-browse .form-control {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.file-thumb-loading {
|
||||
background: transparent url('#{$bootstrap-fileinput-img-path}/loading.gif') no-repeat scroll center center content-box !important;
|
||||
}
|
||||
|
||||
.file-sortable .file-drag-handle {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
opacity: 1;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
.file-drop-zone {
|
||||
border: 1px dashed #aaa;
|
||||
border-radius: 4px;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
margin: 12px 15px 12px 12px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.file-drop-zone-title {
|
||||
color: #aaa;
|
||||
font-size: 1.6em;
|
||||
padding: 85px 10px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.file-preview .clickable, .clickable .file-drop-zone-title {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-drop-zone {
|
||||
&.clickable {
|
||||
&:hover {
|
||||
border: 2px dashed #999;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border: 2px solid #5acde2;
|
||||
}
|
||||
}
|
||||
|
||||
.file-preview-thumbnails {
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
.file-highlighted {
|
||||
border: 2px dashed #999 !important;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.file-uploading {
|
||||
background: url('#{$bootstrap-fileinput-img-path}/loading-sm.gif') no-repeat center bottom 10px;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen {
|
||||
&.modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
position: fixed;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.file-zoom-dialog {
|
||||
.modal-body {
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.btn-navigate {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
opacity: 0.7;
|
||||
top: 45%;
|
||||
font-size: 4em;
|
||||
color: #1c94c4;
|
||||
}
|
||||
|
||||
.floating-buttons {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.floating-buttons {
|
||||
z-index: 3000;
|
||||
|
||||
.btn {
|
||||
z-index: 3000;
|
||||
}
|
||||
}
|
||||
|
||||
.file-zoom-dialog .kv-zoom-actions .btn, .floating-buttons .btn {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.file-zoom-dialog {
|
||||
.btn-navigate {
|
||||
&:not([disabled]) {
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
&[disabled] {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-prev {
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
.btn-next {
|
||||
right: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-zoom-content {
|
||||
height: 480px;
|
||||
text-align: center;
|
||||
|
||||
.file-preview-image {
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.file-preview- .file-zoom-content .file-preview-video {
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.file-preview-initial.sortable-chosen {
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
|
||||
/* IE 10 fix */
|
||||
|
||||
.btn-file ::-ms-browse {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
214
js/file/themes/explorer-fa/theme.css
Normal file
214
js/file/themes/explorer-fa/theme.css
Normal file
@@ -0,0 +1,214 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer Font Awesome theme style for bootstrap-fileinput.
|
||||
* Load this theme file after loading `fileinput.css`. Ensure that
|
||||
* font awesome assets and CSS are loaded on the page as well.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
.theme-explorer-fa .file-preview .table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-frame td {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.explorer-frame .file-preview-text {
|
||||
display: inline-block;
|
||||
color: #428bca;
|
||||
border: 1px solid #ddd;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
outline: none;
|
||||
padding: 8px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.explorer-frame .file-preview-html {
|
||||
display: inline-block;
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.explorer-frame .file-preview-other {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.explorer-frame .file-other-icon {
|
||||
font-size: 4.2em;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-frame .kv-file-content {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions-cell {
|
||||
width: 100px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-thumb-progress .progress {
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .file-thumb-progress .progress-bar {
|
||||
height: 13px;
|
||||
font-size: 11px;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions-cell {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding-left: 5px;
|
||||
padding-right: 2px;
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
border-left: 1px solid #8a6d3b;
|
||||
border-bottom: 1px solid #8a6d3b;
|
||||
border-bottom-left-radius: 11px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-caption {
|
||||
display: block;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .kvsortable-ghost {
|
||||
opacity: 0.6;
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-upload-indicator {
|
||||
font-size: 13px;
|
||||
padding-left: 6px;
|
||||
background-color: #fcf8e3;
|
||||
border-color: #faebcc;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-drag-handle {
|
||||
right: -2px;
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-preview-error .file-upload-indicator {
|
||||
background-color: #f2dede;
|
||||
border-color: #ebccd1;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-preview-success .file-upload-indicator {
|
||||
background-color: #dff0d8;
|
||||
border-color: #d6e9c6;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-preview-loading .file-upload-indicator {
|
||||
background-color: #e5e5e5;
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-error-message ul {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-error-message .close {
|
||||
margin-top: -5px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* mobile responsive styling
|
||||
*/
|
||||
@media only screen and (max-width: 500px) {
|
||||
.theme-explorer-fa .table, .theme-explorer-fa .table tbody, .theme-explorer-fa .table tr, .theme-explorer-fa .table td {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table tr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table tr:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table .kv-file-content {
|
||||
border-bottom: none;
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .table .kv-file-content .file-preview-image {
|
||||
max-width: 100%;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-details-cell {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions-cell {
|
||||
border-top: none;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .explorer-frame .explorer-caption {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-top-left-radius: 40px;
|
||||
border-bottom-left-radius: 0;
|
||||
padding: 12px 3px 0 6px;
|
||||
}
|
||||
|
||||
.theme-explorer-fa .file-actions-cell .btn-xs {
|
||||
font-size: 0.9em;
|
||||
padding: 2px 7px;
|
||||
margin-right: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
85
js/file/themes/explorer-fa/theme.js
Normal file
85
js/file/themes/explorer-fa/theme.js
Normal file
@@ -0,0 +1,85 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput.
|
||||
* Load this theme file after loading `fileinput.js`. Ensure that
|
||||
* font awesome assets and CSS are loaded on the page as well.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
var teTagBef = '<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
|
||||
' data-template="{template}"', teContent = '<td class="kv-file-content">\n';
|
||||
$.fn.fileinputThemes['explorer-fa'] = {
|
||||
layoutTemplates: {
|
||||
preview: '<div class="file-preview {class}">\n' +
|
||||
' {close}' +
|
||||
' <div class="{dropClass}">\n' +
|
||||
' <table class="table table-bordered table-hover"><tbody class="file-preview-thumbnails">\n' +
|
||||
' </tbody></table>\n' +
|
||||
' <div class="clearfix"></div>' +
|
||||
' <div class="file-preview-status text-center text-success"></div>\n' +
|
||||
' <div class="kv-fileinput-error"></div>\n' +
|
||||
' </div>\n' +
|
||||
'</div>',
|
||||
footer: '<td class="file-details-cell"><div class="explorer-caption" title="{caption}">{caption}</div> ' +
|
||||
'{size}{progress}</td><td class="file-actions-cell">{indicator} {actions}</td>',
|
||||
actions: '{drag}\n' +
|
||||
'<div class="file-actions">\n' +
|
||||
' <div class="file-footer-buttons">\n' +
|
||||
' {upload} {delete} {zoom} {other} ' +
|
||||
' </div>\n' +
|
||||
'</div>',
|
||||
zoomCache: '<tr style="display:none" class="kv-zoom-cache-theme"><td>' +
|
||||
'<table class="kv-zoom-cache">{zoomContent}</table></td></tr>',
|
||||
fileIcon: '<i class="fa fa-file kv-caption-icon"></i> '
|
||||
},
|
||||
previewMarkupTags: {
|
||||
tagBefore1: teTagBef + '>' + teContent,
|
||||
tagBefore2: teTagBef + ' title="{caption}">' + teContent,
|
||||
tagAfter: '</td>\n{footer}</tr>\n'
|
||||
},
|
||||
previewSettings: {
|
||||
image: {height: "60px"},
|
||||
html: {width: "100px", height: "60px"},
|
||||
text: {width: "100px", height: "60px"},
|
||||
video: {width: "auto", height: "60px"},
|
||||
audio: {width: "auto", height: "60px"},
|
||||
flash: {width: "100%", height: "60px"},
|
||||
object: {width: "100%", height: "60px"},
|
||||
pdf: {width: "100px", height: "60px"},
|
||||
other: {width: "100%", height: "60px"}
|
||||
},
|
||||
frameClass: 'explorer-frame',
|
||||
fileActionSettings: {
|
||||
removeIcon: '<i class="fa fa-trash text-danger"></i>',
|
||||
uploadIcon: '<i class="fa fa-upload text-info"></i>',
|
||||
zoomIcon: '<i class="fa fa-search-plus"></i>',
|
||||
dragIcon: '<i class="fa fa-bars"></i>',
|
||||
indicatorNew: '<i class="fa fa-hand-o-down text-warning"></i>',
|
||||
indicatorSuccess: '<i class="fa fa-check-circle text-success"></i>',
|
||||
indicatorError: '<i class="fa fa-exclamation-circle text-danger"></i>',
|
||||
indicatorLoading: '<i class="fa fa-hand-o-up text-muted"></i>'
|
||||
},
|
||||
previewZoomButtonIcons: {
|
||||
prev: '<i class="fa fa-caret-left fa-lg"></i>',
|
||||
next: '<i class="fa fa-caret-right fa-lg"></i>',
|
||||
toggleheader: '<i class="fa fa-arrows-v"></i>',
|
||||
fullscreen: '<i class="fa fa-arrows-alt"></i>',
|
||||
borderless: '<i class="fa fa-external-link"></i>',
|
||||
close: '<i class="fa fa-remove"></i>'
|
||||
},
|
||||
previewFileIcon: '<i class="fa fa-file"></i>',
|
||||
browseIcon: '<i class="fa fa-folder-open"></i>',
|
||||
removeIcon: '<i class="fa fa-trash"></i>',
|
||||
cancelIcon: '<i class="fa fa-ban"></i>',
|
||||
uploadIcon: '<i class="fa fa-upload"></i>',
|
||||
msgValidationErrorIcon: '<i class="fa fa-exclamation-circle"></i> '
|
||||
};
|
||||
})(window.jQuery);
|
||||
14
js/file/themes/explorer-fa/theme.min.css
vendored
Normal file
14
js/file/themes/explorer-fa/theme.min.css
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer Font Awesome theme style for bootstrap-fileinput.
|
||||
* Load this theme file after loading `fileinput.css`. Ensure that
|
||||
* font awesome assets and CSS are loaded on the page as well.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/.theme-explorer-fa .file-preview .table{margin:0}.theme-explorer-fa .explorer-frame td{vertical-align:middle;text-align:left}.explorer-frame .file-preview-text{display:inline-block;color:#428bca;border:1px solid #ddd;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;outline:0;padding:8px;resize:none}.explorer-frame .file-preview-html{display:inline-block;border:1px solid #ddd;padding:8px;overflow:auto}.explorer-frame .file-preview-other{text-align:center}.explorer-frame .file-other-icon{font-size:4.2em}.theme-explorer-fa .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px;text-align:center}.theme-explorer-fa .file-actions-cell{width:100px;padding:0;position:relative}.theme-explorer-fa .file-thumb-progress .progress{display:block;margin-top:5px}.theme-explorer-fa .file-thumb-progress .progress,.theme-explorer-fa .file-thumb-progress .progress-bar{height:13px;font-size:11px;line-height:13px}.theme-explorer-fa .file-drag-handle,.theme-explorer-fa .file-upload-indicator{position:absolute;text-align:center;top:0;right:0;padding-left:5px;padding-right:2px;border-right:none;border-top:none;border-left:1px solid #8a6d3b;border-bottom:1px solid #8a6d3b;border-bottom-left-radius:11px;font-size:12px}.theme-explorer-fa .explorer-caption{display:block;color:#777}.theme-explorer-fa .file-actions{text-align:center}.theme-explorer-fa .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer-fa .file-upload-indicator{font-size:13px;padding-left:6px;background-color:#fcf8e3;border-color:#faebcc}.theme-explorer-fa .file-drag-handle{right:-2px;background-color:#d9edf7;border-color:#bce8f1}.theme-explorer-fa .file-preview-error .file-upload-indicator{background-color:#f2dede;border-color:#ebccd1}.theme-explorer-fa .file-preview-success .file-upload-indicator{background-color:#dff0d8;border-color:#d6e9c6}.theme-explorer-fa .file-preview-loading .file-upload-indicator{background-color:#e5e5e5;border-color:#777}.theme-explorer-fa .file-error-message ul{padding-left:15px}.theme-explorer-fa .file-error-message .close{margin-top:-5px;margin-right:-5px}@media only screen and (max-width:500px){.theme-explorer-fa .table,.theme-explorer-fa .table tbody,.theme-explorer-fa .table td,.theme-explorer-fa .table tr{display:block;width:100%!important}.theme-explorer-fa .table{border:none}.theme-explorer-fa .table tr{margin-top:5px}.theme-explorer-fa .table tr:first-child{margin-top:0}.theme-explorer-fa .table td{text-align:center}.theme-explorer-fa .table .kv-file-content{border-bottom:none;padding:4px;margin:0}.theme-explorer-fa .table .kv-file-content .file-preview-image{max-width:100%;font-size:20px}.theme-explorer-fa .file-details-cell{border-top:none;border-bottom:none;padding-top:0;margin:0}.theme-explorer-fa .file-actions-cell{border-top:none;padding-bottom:4px}.theme-explorer-fa .explorer-frame .explorer-caption{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;left:0;right:0;margin:auto}.theme-explorer-fa .file-drag-handle,.theme-explorer-fa .file-upload-indicator{right:0;bottom:0;border-top-left-radius:40px;border-bottom-left-radius:0;padding:12px 3px 0 6px}.theme-explorer-fa .file-actions-cell .btn-xs{font-size:.9em;padding:2px 7px;margin-right:3px;cursor:pointer}}
|
||||
14
js/file/themes/explorer-fa/theme.min.js
vendored
Normal file
14
js/file/themes/explorer-fa/theme.min.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput.
|
||||
* Load this theme file after loading `fileinput.js`. Ensure that
|
||||
* font awesome assets and CSS are loaded on the page as well.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/!function(a){"use strict";var e='<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}"',i='<td class="kv-file-content">\n';a.fn.fileinputThemes["explorer-fa"]={layoutTemplates:{preview:'<div class="file-preview {class}">\n {close} <div class="{dropClass}">\n <table class="table table-bordered table-hover"><tbody class="file-preview-thumbnails">\n </tbody></table>\n <div class="clearfix"></div> <div class="file-preview-status text-center text-success"></div>\n <div class="kv-fileinput-error"></div>\n </div>\n</div>',footer:'<td class="file-details-cell"><div class="explorer-caption" title="{caption}">{caption}</div> {size}{progress}</td><td class="file-actions-cell">{indicator} {actions}</td>',actions:'{drag}\n<div class="file-actions">\n <div class="file-footer-buttons">\n {upload} {delete} {zoom} {other} </div>\n</div>',zoomCache:'<tr style="display:none" class="kv-zoom-cache-theme"><td><table class="kv-zoom-cache">{zoomContent}</table></td></tr>',fileIcon:'<i class="fa fa-file kv-caption-icon"></i> '},previewMarkupTags:{tagBefore1:e+">"+i,tagBefore2:e+' title="{caption}">'+i,tagAfter:"</td>\n{footer}</tr>\n"},previewSettings:{image:{height:"60px"},html:{width:"100px",height:"60px"},text:{width:"100px",height:"60px"},video:{width:"auto",height:"60px"},audio:{width:"auto",height:"60px"},flash:{width:"100%",height:"60px"},object:{width:"100%",height:"60px"},pdf:{width:"100px",height:"60px"},other:{width:"100%",height:"60px"}},frameClass:"explorer-frame",fileActionSettings:{removeIcon:'<i class="fa fa-trash text-danger"></i>',uploadIcon:'<i class="fa fa-upload text-info"></i>',zoomIcon:'<i class="fa fa-search-plus"></i>',dragIcon:'<i class="fa fa-bars"></i>',indicatorNew:'<i class="fa fa-hand-o-down text-warning"></i>',indicatorSuccess:'<i class="fa fa-check-circle text-success"></i>',indicatorError:'<i class="fa fa-exclamation-circle text-danger"></i>',indicatorLoading:'<i class="fa fa-hand-o-up text-muted"></i>'},previewZoomButtonIcons:{prev:'<i class="fa fa-caret-left fa-lg"></i>',next:'<i class="fa fa-caret-right fa-lg"></i>',toggleheader:'<i class="fa fa-arrows-v"></i>',fullscreen:'<i class="fa fa-arrows-alt"></i>',borderless:'<i class="fa fa-external-link"></i>',close:'<i class="fa fa-remove"></i>'},previewFileIcon:'<i class="fa fa-file"></i>',browseIcon:'<i class="fa fa-folder-open"></i>',removeIcon:'<i class="fa fa-trash"></i>',cancelIcon:'<i class="fa fa-ban"></i>',uploadIcon:'<i class="fa fa-upload"></i>',msgValidationErrorIcon:'<i class="fa fa-exclamation-circle"></i> '}}(window.jQuery);
|
||||
212
js/file/themes/explorer/theme.css
Normal file
212
js/file/themes/explorer/theme.css
Normal file
@@ -0,0 +1,212 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
.theme-explorer .file-preview .table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame td {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.explorer-frame .file-preview-text {
|
||||
display: inline-block;
|
||||
color: #428bca;
|
||||
border: 1px solid #ddd;
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
outline: none;
|
||||
padding: 8px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.explorer-frame .file-preview-html {
|
||||
display: inline-block;
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.explorer-frame .file-preview-other {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.explorer-frame .file-other-icon {
|
||||
font-size: 4.2em;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame .kv-file-content {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
width: 100px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress {
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-thumb-progress .progress, .theme-explorer .file-thumb-progress .progress-bar {
|
||||
height: 13px;
|
||||
font-size: 11px;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding-left: 5px;
|
||||
padding-right: 2px;
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
border-left: 1px solid #8a6d3b;
|
||||
border-bottom: 1px solid #8a6d3b;
|
||||
border-bottom-left-radius: 11px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-caption {
|
||||
display: block;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .kvsortable-ghost {
|
||||
opacity: 0.6;
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.theme-explorer .file-upload-indicator {
|
||||
font-size: 13px;
|
||||
padding-left: 6px;
|
||||
background-color: #fcf8e3;
|
||||
border-color: #faebcc;
|
||||
}
|
||||
|
||||
.theme-explorer .file-drag-handle {
|
||||
right: -2px;
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
.theme-explorer .file-preview-error .file-upload-indicator {
|
||||
background-color: #f2dede;
|
||||
border-color: #ebccd1;
|
||||
}
|
||||
|
||||
.theme-explorer .file-preview-success .file-upload-indicator {
|
||||
background-color: #dff0d8;
|
||||
border-color: #d6e9c6;
|
||||
}
|
||||
|
||||
.theme-explorer .file-preview-loading .file-upload-indicator {
|
||||
background-color: #e5e5e5;
|
||||
border-color: #777;
|
||||
}
|
||||
|
||||
.theme-explorer .file-error-message ul {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-error-message .close {
|
||||
margin-top: -5px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* mobile responsive styling
|
||||
*/
|
||||
@media only screen and (max-width: 500px) {
|
||||
.theme-explorer .table, .theme-explorer .table tbody, .theme-explorer .table tr, .theme-explorer .table td {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.theme-explorer .table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-explorer .table tr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.theme-explorer .table tr:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .table td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.theme-explorer .table .kv-file-content {
|
||||
border-bottom: none;
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .table .kv-file-content .file-preview-image {
|
||||
max-width: 100%;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-details-cell {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell {
|
||||
border-top: none;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.theme-explorer .explorer-frame .explorer-caption {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-top-left-radius: 40px;
|
||||
border-bottom-left-radius: 0;
|
||||
padding: 12px 3px 0 6px;
|
||||
}
|
||||
|
||||
.theme-explorer .file-actions-cell .btn-xs {
|
||||
font-size: 0.9em;
|
||||
padding: 2px 7px;
|
||||
margin-right: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
58
js/file/themes/explorer/theme.js
Normal file
58
js/file/themes/explorer/theme.js
Normal file
@@ -0,0 +1,58 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
var teTagBef = '<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
|
||||
' data-template="{template}"', teContent = '<td class="kv-file-content">\n';
|
||||
$.fn.fileinputThemes.explorer = {
|
||||
layoutTemplates: {
|
||||
preview: '<div class="file-preview {class}">\n' +
|
||||
' {close}' +
|
||||
' <div class="{dropClass}">\n' +
|
||||
' <table class="table table-bordered table-hover"><tbody class="file-preview-thumbnails">\n' +
|
||||
' </tbody></table>\n' +
|
||||
' <div class="clearfix"></div>' +
|
||||
' <div class="file-preview-status text-center text-success"></div>\n' +
|
||||
' <div class="kv-fileinput-error"></div>\n' +
|
||||
' </div>\n' +
|
||||
'</div>',
|
||||
footer: '<td class="file-details-cell"><div class="explorer-caption" title="{caption}">{caption}</div> ' +
|
||||
'{size}{progress}</td><td class="file-actions-cell">{indicator} {actions}</td>',
|
||||
actions: '{drag}\n' +
|
||||
'<div class="file-actions">\n' +
|
||||
' <div class="file-footer-buttons">\n' +
|
||||
' {upload} {delete} {zoom} {other} ' +
|
||||
' </div>\n' +
|
||||
'</div>',
|
||||
zoomCache: '<tr style="display:none" class="kv-zoom-cache-theme"><td>' +
|
||||
'<table class="kv-zoom-cache">{zoomContent}</table></td></tr>'
|
||||
},
|
||||
previewMarkupTags: {
|
||||
tagBefore1: teTagBef + '>' + teContent,
|
||||
tagBefore2: teTagBef + ' title="{caption}">' + teContent,
|
||||
tagAfter: '</td>\n{footer}</tr>\n'
|
||||
},
|
||||
previewSettings: {
|
||||
image: {height: "60px"},
|
||||
html: {width: "100px", height: "60px"},
|
||||
text: {width: "100px", height: "60px"},
|
||||
video: {width: "auto", height: "60px"},
|
||||
audio: {width: "auto", height: "60px"},
|
||||
flash: {width: "100%", height: "60px"},
|
||||
object: {width: "100%", height: "60px"},
|
||||
pdf: {width: "100px", height: "60px"},
|
||||
other: {width: "100%", height: "60px"}
|
||||
},
|
||||
frameClass: 'explorer-frame'
|
||||
};
|
||||
})(window.jQuery);
|
||||
12
js/file/themes/explorer/theme.min.css
vendored
Normal file
12
js/file/themes/explorer/theme.min.css
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/.theme-explorer .file-preview .table{margin:0}.theme-explorer .explorer-frame td{vertical-align:middle;text-align:left}.explorer-frame .file-preview-text{display:inline-block;color:#428bca;border:1px solid #ddd;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;outline:0;padding:8px;resize:none}.explorer-frame .file-preview-html{display:inline-block;border:1px solid #ddd;padding:8px;overflow:auto}.explorer-frame .file-preview-other{text-align:center}.explorer-frame .file-other-icon{font-size:4.2em}.theme-explorer .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px;text-align:center}.theme-explorer .file-actions-cell{width:100px;padding:0;position:relative}.theme-explorer .file-thumb-progress .progress{display:block;margin-top:5px}.theme-explorer .file-thumb-progress .progress,.theme-explorer .file-thumb-progress .progress-bar{height:13px;font-size:11px;line-height:13px}.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{position:absolute;text-align:center;top:0;right:0;padding-left:5px;padding-right:2px;border-right:none;border-top:none;border-left:1px solid #8a6d3b;border-bottom:1px solid #8a6d3b;border-bottom-left-radius:11px;font-size:12px}.theme-explorer .explorer-caption{display:block;color:#777}.theme-explorer .file-actions{text-align:center}.theme-explorer .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer .file-upload-indicator{font-size:13px;padding-left:6px;background-color:#fcf8e3;border-color:#faebcc}.theme-explorer .file-drag-handle{right:-2px;background-color:#d9edf7;border-color:#bce8f1}.theme-explorer .file-preview-error .file-upload-indicator{background-color:#f2dede;border-color:#ebccd1}.theme-explorer .file-preview-success .file-upload-indicator{background-color:#dff0d8;border-color:#d6e9c6}.theme-explorer .file-preview-loading .file-upload-indicator{background-color:#e5e5e5;border-color:#777}.theme-explorer .file-error-message ul{padding-left:15px}.theme-explorer .file-error-message .close{margin-top:-5px;margin-right:-5px}@media only screen and (max-width:500px){.theme-explorer .table,.theme-explorer .table tbody,.theme-explorer .table td,.theme-explorer .table tr{display:block;width:100%!important}.theme-explorer .table{border:none}.theme-explorer .table tr{margin-top:5px}.theme-explorer .table tr:first-child{margin-top:0}.theme-explorer .table td{text-align:center}.theme-explorer .table .kv-file-content{border-bottom:none;padding:4px;margin:0}.theme-explorer .table .kv-file-content .file-preview-image{max-width:100%;font-size:20px}.theme-explorer .file-details-cell{border-top:none;border-bottom:none;padding-top:0;margin:0}.theme-explorer .file-actions-cell{border-top:none;padding-bottom:4px}.theme-explorer .explorer-frame .explorer-caption{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;left:0;right:0;margin:auto}.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{right:0;bottom:0;border-top-left-radius:40px;border-bottom-left-radius:0;padding:12px 3px 0 6px}.theme-explorer .file-actions-cell .btn-xs{font-size:.9em;padding:2px 7px;margin-right:3px;cursor:pointer}}
|
||||
12
js/file/themes/explorer/theme.min.js
vendored
Normal file
12
js/file/themes/explorer/theme.min.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/!function(e){"use strict";var t='<tr class="file-preview-frame {frameClass}" id="{previewId}" data-fileindex="{fileindex}" data-template="{template}"',i='<td class="kv-file-content">\n';e.fn.fileinputThemes.explorer={layoutTemplates:{preview:'<div class="file-preview {class}">\n {close} <div class="{dropClass}">\n <table class="table table-bordered table-hover"><tbody class="file-preview-thumbnails">\n </tbody></table>\n <div class="clearfix"></div> <div class="file-preview-status text-center text-success"></div>\n <div class="kv-fileinput-error"></div>\n </div>\n</div>',footer:'<td class="file-details-cell"><div class="explorer-caption" title="{caption}">{caption}</div> {size}{progress}</td><td class="file-actions-cell">{indicator} {actions}</td>',actions:'{drag}\n<div class="file-actions">\n <div class="file-footer-buttons">\n {upload} {delete} {zoom} {other} </div>\n</div>',zoomCache:'<tr style="display:none" class="kv-zoom-cache-theme"><td><table class="kv-zoom-cache">{zoomContent}</table></td></tr>'},previewMarkupTags:{tagBefore1:t+">"+i,tagBefore2:t+' title="{caption}">'+i,tagAfter:"</td>\n{footer}</tr>\n"},previewSettings:{image:{height:"60px"},html:{width:"100px",height:"60px"},text:{width:"100px",height:"60px"},video:{width:"auto",height:"60px"},audio:{width:"auto",height:"60px"},flash:{width:"100%",height:"60px"},object:{width:"100%",height:"60px"},pdf:{width:"100px",height:"60px"},other:{width:"100%",height:"60px"}},frameClass:"explorer-frame"}}(window.jQuery);
|
||||
45
js/file/themes/fa/theme.js
Normal file
45
js/file/themes/fa/theme.js
Normal file
@@ -0,0 +1,45 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputThemes.fa = {
|
||||
fileActionSettings: {
|
||||
removeIcon: '<i class="fa fa-trash text-danger"></i>',
|
||||
uploadIcon: '<i class="fa fa-upload text-info"></i>',
|
||||
zoomIcon: '<i class="fa fa-search-plus"></i>',
|
||||
dragIcon: '<i class="fa fa-bars"></i>',
|
||||
indicatorNew: '<i class="fa fa-hand-o-down text-warning"></i>',
|
||||
indicatorSuccess: '<i class="fa fa-check-circle text-success"></i>',
|
||||
indicatorError: '<i class="fa fa-exclamation-circle text-danger"></i>',
|
||||
indicatorLoading: '<i class="fa fa-hand-o-up text-muted"></i>'
|
||||
},
|
||||
layoutTemplates: {
|
||||
fileIcon: '<i class="fa fa-file kv-caption-icon"></i> '
|
||||
},
|
||||
previewZoomButtonIcons: {
|
||||
prev: '<i class="fa fa-caret-left fa-lg"></i>',
|
||||
next: '<i class="fa fa-caret-right fa-lg"></i>',
|
||||
toggleheader: '<i class="fa fa-arrows-v"></i>',
|
||||
fullscreen: '<i class="fa fa-arrows-alt"></i>',
|
||||
borderless: '<i class="fa fa-external-link"></i>',
|
||||
close: '<i class="fa fa-remove"></i>'
|
||||
},
|
||||
previewFileIcon: '<i class="fa fa-file"></i>',
|
||||
browseIcon: '<i class="fa fa-folder-open"></i>',
|
||||
removeIcon: '<i class="fa fa-trash"></i>',
|
||||
cancelIcon: '<i class="fa fa-ban"></i>',
|
||||
uploadIcon: '<i class="fa fa-upload"></i>',
|
||||
msgValidationErrorIcon: '<i class="fa fa-exclamation-circle"></i> '
|
||||
};
|
||||
})(window.jQuery);
|
||||
12
js/file/themes/fa/theme.min.js
vendored
Normal file
12
js/file/themes/fa/theme.min.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/!function(a){"use strict";a.fn.fileinputThemes.fa={fileActionSettings:{removeIcon:'<i class="fa fa-trash text-danger"></i>',uploadIcon:'<i class="fa fa-upload text-info"></i>',zoomIcon:'<i class="fa fa-search-plus"></i>',dragIcon:'<i class="fa fa-bars"></i>',indicatorNew:'<i class="fa fa-hand-o-down text-warning"></i>',indicatorSuccess:'<i class="fa fa-check-circle text-success"></i>',indicatorError:'<i class="fa fa-exclamation-circle text-danger"></i>',indicatorLoading:'<i class="fa fa-hand-o-up text-muted"></i>'},layoutTemplates:{fileIcon:'<i class="fa fa-file kv-caption-icon"></i> '},previewZoomButtonIcons:{prev:'<i class="fa fa-caret-left fa-lg"></i>',next:'<i class="fa fa-caret-right fa-lg"></i>',toggleheader:'<i class="fa fa-arrows-v"></i>',fullscreen:'<i class="fa fa-arrows-alt"></i>',borderless:'<i class="fa fa-external-link"></i>',close:'<i class="fa fa-remove"></i>'},previewFileIcon:'<i class="fa fa-file"></i>',browseIcon:'<i class="fa fa-folder-open"></i>',removeIcon:'<i class="fa fa-trash"></i>',cancelIcon:'<i class="fa fa-ban"></i>',uploadIcon:'<i class="fa fa-upload"></i>',msgValidationErrorIcon:'<i class="fa fa-exclamation-circle"></i> '}}(window.jQuery);
|
||||
45
js/file/themes/gly/theme.js
Normal file
45
js/file/themes/gly/theme.js
Normal file
@@ -0,0 +1,45 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Glyphicon (default) theme configuration for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.fileinputThemes.gly = {
|
||||
fileActionSettings: {
|
||||
removeIcon: '<i class="glyphicon glyphicon-trash text-danger"></i>',
|
||||
uploadIcon: '<i class="glyphicon glyphicon-upload text-info"></i>',
|
||||
zoomIcon: '<i class="glyphicon glyphicon-zoom-in"></i>',
|
||||
dragIcon: '<i class="glyphicon glyphicon-menu-hamburger"></i>',
|
||||
indicatorNew: '<i class="glyphicon glyphicon-hand-down text-warning"></i>',
|
||||
indicatorSuccess: '<i class="glyphicon glyphicon-ok-sign text-success"></i>',
|
||||
indicatorError: '<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',
|
||||
indicatorLoading: '<i class="glyphicon glyphicon-hand-up text-muted"></i>'
|
||||
},
|
||||
layoutTemplates: {
|
||||
fileIcon: '<i class="glyphicon glyphicon-file kv-caption-icon"></i>'
|
||||
},
|
||||
previewZoomButtonIcons: {
|
||||
prev: '<i class="glyphicon glyphicon-triangle-left"></i>',
|
||||
next: '<i class="glyphicon glyphicon-triangle-right"></i>',
|
||||
toggleheader: '<i class="glyphicon glyphicon-resize-vertical"></i>',
|
||||
fullscreen: '<i class="glyphicon glyphicon-fullscreen"></i>',
|
||||
borderless: '<i class="glyphicon glyphicon-resize-full"></i>',
|
||||
close: '<i class="glyphicon glyphicon-remove"></i>'
|
||||
},
|
||||
previewFileIcon: '<i class="glyphicon glyphicon-file"></i>',
|
||||
browseIcon: '<i class="glyphicon glyphicon-folder-open"></i> ',
|
||||
removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
|
||||
cancelIcon: '<i class="glyphicon glyphicon-ban-circle"></i>',
|
||||
uploadIcon: '<i class="glyphicon glyphicon-upload"></i>',
|
||||
msgValidationErrorIcon: '<i class="glyphicon glyphicon-exclamation-sign"></i> '
|
||||
};
|
||||
})(window.jQuery);
|
||||
12
js/file/themes/gly/theme.min.js
vendored
Normal file
12
js/file/themes/gly/theme.min.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* bootstrap-fileinput v4.4.3
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Glyphicon (default) theme configuration for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/!function(i){"use strict";i.fn.fileinputThemes.gly={fileActionSettings:{removeIcon:'<i class="glyphicon glyphicon-trash text-danger"></i>',uploadIcon:'<i class="glyphicon glyphicon-upload text-info"></i>',zoomIcon:'<i class="glyphicon glyphicon-zoom-in"></i>',dragIcon:'<i class="glyphicon glyphicon-menu-hamburger"></i>',indicatorNew:'<i class="glyphicon glyphicon-hand-down text-warning"></i>',indicatorSuccess:'<i class="glyphicon glyphicon-ok-sign text-success"></i>',indicatorError:'<i class="glyphicon glyphicon-exclamation-sign text-danger"></i>',indicatorLoading:'<i class="glyphicon glyphicon-hand-up text-muted"></i>'},layoutTemplates:{fileIcon:'<i class="glyphicon glyphicon-file kv-caption-icon"></i>'},previewZoomButtonIcons:{prev:'<i class="glyphicon glyphicon-triangle-left"></i>',next:'<i class="glyphicon glyphicon-triangle-right"></i>',toggleheader:'<i class="glyphicon glyphicon-resize-vertical"></i>',fullscreen:'<i class="glyphicon glyphicon-fullscreen"></i>',borderless:'<i class="glyphicon glyphicon-resize-full"></i>',close:'<i class="glyphicon glyphicon-remove"></i>'},previewFileIcon:'<i class="glyphicon glyphicon-file"></i>',browseIcon:'<i class="glyphicon glyphicon-folder-open"></i> ',removeIcon:'<i class="glyphicon glyphicon-trash"></i>',cancelIcon:'<i class="glyphicon glyphicon-ban-circle"></i>',uploadIcon:'<i class="glyphicon glyphicon-upload"></i>',msgValidationErrorIcon:'<i class="glyphicon glyphicon-exclamation-sign"></i> '}}(window.jQuery);
|
||||
Reference in New Issue
Block a user