├── gitbook ├── GLOSSARY.md ├── README.md ├── ch1 │ └── README.md ├── _book │ ├── ch1 │ │ └── README.md │ ├── gitbook │ │ ├── images │ │ │ ├── favicon.ico │ │ │ └── apple-touch-icon-precomposed-152.png │ │ ├── fonts │ │ │ └── fontawesome │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ ├── gitbook-plugin-livereload │ │ │ └── plugin.js │ │ ├── gitbook-plugin-search │ │ │ ├── search.css │ │ │ └── search-engine.js │ │ ├── gitbook-plugin-lunr │ │ │ └── search-lunr.js │ │ ├── gitbook-plugin-sharing │ │ │ └── buttons.js │ │ └── gitbook-plugin-highlight │ │ │ └── ebook.css │ └── search_index.json ├── SUMMARY.md └── book.json ├── ES6 ├── README.md ├── common.js ├── demo2.html └── demo1.html ├── css-center ├── menhera.jpg ├── 水平 │ ├── text-align2.html │ ├── margin.html │ └── text-align1.html └── 水平垂直居中 │ ├── transform.html │ ├── position.html │ ├── position-auto.1.html │ ├── position-auto.html │ ├── flex.html │ ├── table-cell.html │ ├── grid.html │ └── vertical.html ├── loading ├── img │ └── loading.gif ├── readme.md ├── demo1.html ├── demo2.html ├── demo3.html ├── demo4.html └── demo5.html ├── snow └── 3D雪花效果 │ ├── images │ ├── bg.jpg │ └── ParticleSmoke.png │ ├── js │ └── Snow.js │ └── index.html ├── radio ├── README.md └── demo.html ├── download └── a_href │ ├── download │ ├── bg5.zip │ └── bg5.jpeg │ └── download.html ├── upload └── demo1 │ ├── bootstrap-fileinput │ ├── .gitignore │ ├── img │ │ ├── loading.gif │ │ └── loading-sm.gif │ ├── composer.json │ ├── nuget │ │ ├── Package.nuspec │ │ └── build.bat │ ├── bower.json │ ├── package.json │ ├── LICENSE.md │ ├── themes │ │ ├── fa │ │ │ ├── theme.min.js │ │ │ └── theme.js │ │ ├── gly │ │ │ ├── theme.min.js │ │ │ └── theme.js │ │ ├── explorer │ │ │ ├── theme.min.js │ │ │ ├── theme.min.css │ │ │ ├── theme.js │ │ │ └── theme.css │ │ └── explorer-fa │ │ │ ├── theme.min.css │ │ │ ├── theme.min.js │ │ │ ├── theme.css │ │ │ └── theme.js │ ├── css │ │ ├── fileinput-rtl.min.css │ │ └── fileinput-rtl.css │ ├── scss │ │ └── fileinput-rtl.scss │ └── js │ │ └── locales │ │ ├── zh.js │ │ ├── kz.js │ │ ├── zh-TW.js │ │ ├── fi.js │ │ ├── kr.js │ │ ├── et.js │ │ ├── sl.js │ │ ├── pl.js │ │ ├── ar.js │ │ ├── sv.js │ │ ├── no.js │ │ ├── th.js │ │ ├── ja.js │ │ ├── LANG.js │ │ ├── vi.js │ │ ├── da.js │ │ ├── fa.js │ │ ├── bg.js │ │ ├── uk.js │ │ └── cs.js │ └── demo.html ├── README.md ├── rules └── css-rules │ └── rules.md ├── .gitattributes ├── algorithm ├── index.html └── reverseString.js ├── .gitignore ├── city ├── index.html └── citychange.js ├── click └── clicklove.js ├── json ├── demo1.html └── demo2.html └── form └── demo1.html /gitbook/GLOSSARY.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ES6/README.md: -------------------------------------------------------------------------------- 1 | # ES6 学习笔记 2 | -------------------------------------------------------------------------------- /gitbook/README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | -------------------------------------------------------------------------------- /gitbook/ch1/README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | -------------------------------------------------------------------------------- /gitbook/_book/ch1/README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | -------------------------------------------------------------------------------- /css-center/menhera.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/css-center/menhera.jpg -------------------------------------------------------------------------------- /loading/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/loading/img/loading.gif -------------------------------------------------------------------------------- /snow/3D雪花效果/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/snow/3D雪花效果/images/bg.jpg -------------------------------------------------------------------------------- /radio/README.md: -------------------------------------------------------------------------------- 1 | # jquery prop 和 attr 用法的区别展示 2 | [预览](https://calamus0427.github.io/commonJS/radio/demo.html) 3 | -------------------------------------------------------------------------------- /download/a_href/download/bg5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/download/a_href/download/bg5.zip -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/.gitignore: -------------------------------------------------------------------------------- 1 | nuget/content/ 2 | nuget/bootstrap-fileinput.*.nupkg 3 | .DS_Store 4 | .idea -------------------------------------------------------------------------------- /download/a_href/download/bg5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/download/a_href/download/bg5.jpeg -------------------------------------------------------------------------------- /snow/3D雪花效果/images/ParticleSmoke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/snow/3D雪花效果/images/ParticleSmoke.png -------------------------------------------------------------------------------- /gitbook/_book/gitbook/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/images/favicon.ico -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/upload/demo1/bootstrap-fileinput/img/loading.gif -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/img/loading-sm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/upload/demo1/bootstrap-fileinput/img/loading-sm.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 常用JS代码 2 | - 代码规范 3 | - css 规范 4 | - 上传 5 | - 下载 6 | - 一些特效 7 | - 3D雪花特效 8 | - 特效点击事件 9 | - 鼠标点击爱心特效 10 | - 一些算法 11 | - 城市联动 city 12 | 13 | -------------------------------------------------------------------------------- /gitbook/_book/gitbook/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /gitbook/_book/gitbook/images/apple-touch-icon-precomposed-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calamus0427/commonJS/master/gitbook/_book/gitbook/images/apple-touch-icon-precomposed-152.png -------------------------------------------------------------------------------- /rules/css-rules/rules.md: -------------------------------------------------------------------------------- 1 | css规范 2 | 网易的NEC规范 3 | http://nec.netease.com/standard/css-name.html 4 | 其他: 5 | https://github.com/fex-team/styleguide/blob/master/css.md#21-%E6%96%87%E4%BB%B6 6 | http://alloyteam.github.io/CodeGuide/ 7 | 8 | -------------------------------------------------------------------------------- /gitbook/SUMMARY.md: -------------------------------------------------------------------------------- 1 | # Summary 2 | 3 | * [Part I](README.md) 4 | * [Writing is nice](part1/writing.md) 5 | * [GitBook is nice](part1/gitbook.md) 6 | 7 | ---- 8 | 9 | * [Part II](part2/README.md) 10 | * [We love feedback](part2/feedback_please.md) 11 | * [Better tools for authors](part2/better_tools.md) -------------------------------------------------------------------------------- /ES6/common.js: -------------------------------------------------------------------------------- 1 | //正则表达式是否支持u修饰符 2 | function hasRegExpU() { 3 | try { 4 | var pattern = new RegExp(".", "u"); 5 | return true; 6 | } catch (ex) { 7 | return false 8 | } 9 | } 10 | //正则表达式是否支持y修饰符 11 | function hasRegExpY() { 12 | try { 13 | var pattern = new RegExp(".", "y"); 14 | return true; 15 | } catch (ex) { 16 | return false 17 | } 18 | } -------------------------------------------------------------------------------- /gitbook/_book/gitbook/gitbook-plugin-livereload/plugin.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var newEl = document.createElement('script'), 3 | firstScriptTag = document.getElementsByTagName('script')[0]; 4 | 5 | if (firstScriptTag) { 6 | newEl.async = 1; 7 | newEl.src = '//' + window.location.hostname + ':35729/livereload.js'; 8 | firstScriptTag.parentNode.insertBefore(newEl, firstScriptTag); 9 | } 10 | 11 | })(); 12 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /algorithm/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Document 10 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /loading/readme.md: -------------------------------------------------------------------------------- 1 | # 页面数据加载时的缓存loading页面 2 | 图片比较少,加载还是很快,看效果建议把html内容扩充更多一点 3 | ## demo1 4 | 动态事件的进度条 5 | 6 | 可以动态根据页面数据的加载情况动态展示loading效果 7 | 8 | ## demo2 9 | 定时器的进度条 10 | 11 | 简单的设置一个定时器,按时加载loading 12 | 13 | ## demo3 14 | 头部加载的进度条 15 | 16 | 根据页面DOM的渲染情况,在页面头部加载的动态loading进度条 17 | 18 | ## demo4 19 | 动态事件的进度条 20 | 21 | CSS3写的动态的简单loading动画,也是根据数据渲染情况动态展示loading页面 22 | 23 | ## demo5 24 | 实时加载的进度条 25 | 26 | 根据记载情况读取百分比,将加载过程以数字的形式加载出来 27 | 28 | ## 待补充: 29 | 最近在学习VUE,用VUE加载可以直接通过钩子函数来控制 -------------------------------------------------------------------------------- /css-center/水平/text-align2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | text-align 实现水平居中 9 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ES6/demo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | hasRegExpU 9 | 10 | 11 | 12 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /css-center/水平/margin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Margin 实现水平居中 9 | 22 | 23 | 24 | 25 |
26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /ES6/demo1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | var | let | const 9 | 10 | 11 | 12 | 13 | 14 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /gitbook/_book/search_index.json: -------------------------------------------------------------------------------- 1 | {"index":{"version":"0.5.12","fields":[{"name":"title","boost":10},{"name":"keywords","boost":15},{"name":"body","boost":1}],"ref":"url","documentStore":{"store":{"./":["introduct","part"],"GLOSSARY.html":[]},"length":2},"tokenStore":{"root":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"d":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{"./":{"ref":"./","tf":1}}}}}}}}}}},"p":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"./":{"ref":"./","tf":10}}}}}}},"length":2},"corpusTokens":["introduct","part"],"pipeline":["stopWordFilter","stemmer"]},"store":{"./":{"url":"./","title":"Part I","keywords":"","body":"Introduction\n"},"GLOSSARY.html":{"url":"GLOSSARY.html","keywords":"","body":""}}} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | # Directories potentially created on remote AFP share 39 | .AppleDB 40 | .AppleDesktop 41 | Network Trash Folder 42 | Temporary Items 43 | .apdisk 44 | .history -------------------------------------------------------------------------------- /city/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 城市三级联动 6 | 7 | 8 | 9 |
10 | 13 | 16 | 19 |
20 | 21 | 22 | 23 | 24 | 27 | 28 | -------------------------------------------------------------------------------- /css-center/水平/text-align1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | text-align 实现水平居中 9 | 26 | 27 | 28 | 29 |
30 |
31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/transform.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/position.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/position-auto.1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/position-auto.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "kartik-v/bootstrap-fileinput", 3 | "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.", 4 | "keywords": ["bootstrap", "jquery", "file", "input", "preview", "upload", "image", "multiple", "ajax", "delete", "progress"], 5 | "homepage": "https://github.com/kartik-v/bootstrap-fileinput", 6 | "license": "BSD-3-Clause", 7 | "authors": [ 8 | { 9 | "name": "Kartik Visweswaran", 10 | "email": "kartikv2@gmail.com", 11 | "homepage": "http://www.krajee.com/" 12 | } 13 | ], 14 | "autoload": { 15 | "psr-4": { 16 | "kartik\\plugins\\fileinput\\": "" 17 | } 18 | }, 19 | "extra": { 20 | "branch-alias": { 21 | "dev-master": "4.4.x-dev" 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /loading/demo1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 动态事件的进度条 6 | 7 | 27 | 28 | 29 |
30 | 31 | 32 | 33 | 34 | 35 | 43 | 44 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/flex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 32 | 33 | 34 | 35 |
36 | 37 | 38 |
39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/nuget/Package.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | bootstrap-fileinput 5 | bootstrap-fileinput 6 | 4.4.7 7 | Kartik Visweswaran 8 | Kartik Visweswaran 9 | https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 10 | https://github.com/kartik-v/bootstrap-fileinput 11 | http://getbootstrap.com/favicon.ico 12 | false 13 | An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more. 14 | https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md 15 | Copyright 2014 - 2017 16 | bootstrap bootstrap-fileinput 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/table-cell.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 33 | 34 | 35 | 36 |
37 |
38 | 39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /css-center/水平垂直居中/grid.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | grid 9 | 34 | 35 | 36 | 37 |
38 |
39 | 40 |
41 | 42 | 43 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-fileinput", 3 | "version": "4.4.7", 4 | "homepage": "https://github.com/kartik-v/bootstrap-fileinput", 5 | "authors": [ 6 | "Kartik Visweswaran " 7 | ], 8 | "description": "An enhanced HTML 5 file input for Bootstrap 3.x with file preview, multiple selection, ajax uploads, and more features.", 9 | "main": [ 10 | "./css/fileinput.min.css", 11 | "./js/fileinput.min.js" 12 | ], 13 | "keywords": [ 14 | "bootstrap", 15 | "file", 16 | "input", 17 | "preview", 18 | "image", 19 | "upload", 20 | "ajax", 21 | "multiple", 22 | "delete", 23 | "progress", 24 | "gallery" 25 | ], 26 | "dependencies": { 27 | "jquery": ">= 1.9.0", 28 | "bootstrap": ">= 3.0.0" 29 | }, 30 | "license": "BSD-3-Clause", 31 | "ignore": [ 32 | "**/.*", 33 | "node_modules", 34 | "composer.json", 35 | "examples", 36 | "bower_components", 37 | "test", 38 | "tests" 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /gitbook/_book/gitbook/gitbook-plugin-search/search.css: -------------------------------------------------------------------------------- 1 | /* 2 | This CSS only styled the search results section, not the search input 3 | It defines the basic interraction to hide content when displaying results, etc 4 | */ 5 | #book-search-results .search-results { 6 | display: none; 7 | } 8 | #book-search-results .search-results ul.search-results-list { 9 | list-style-type: none; 10 | padding-left: 0; 11 | } 12 | #book-search-results .search-results ul.search-results-list li { 13 | margin-bottom: 1.5rem; 14 | padding-bottom: 0.5rem; 15 | /* Highlight results */ 16 | } 17 | #book-search-results .search-results ul.search-results-list li p em { 18 | background-color: rgba(255, 220, 0, 0.4); 19 | font-style: normal; 20 | } 21 | #book-search-results .search-results .no-results { 22 | display: none; 23 | } 24 | #book-search-results.open .search-results { 25 | display: block; 26 | } 27 | #book-search-results.open .search-noresults { 28 | display: none; 29 | } 30 | #book-search-results.no-results .search-results .has-results { 31 | display: none; 32 | } 33 | #book-search-results.no-results .search-results .no-results { 34 | display: block; 35 | } 36 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/nuget/build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | NuGet Update -self 4 | REM remove package content folder 5 | rmdir /s /q content 6 | 7 | REM create new package content folder 8 | mkdir content 9 | 10 | REM create sub folder for js files 11 | mkdir content\Scripts 12 | 13 | REM create sub folders for css and img files 14 | mkdir content\Content 15 | mkdir content\Content\bootstrap-fileinput 16 | 17 | REM delete the previous package versions 18 | REM del bootstrap-fileinput.* 19 | 20 | REM copy the content to the destination folders 21 | xcopy ..\js content\Scripts /D /E /C /R /I /K /Y 22 | xcopy ..\css content\Content\bootstrap-fileinput\css /D /E /C /R /I /K /Y 23 | xcopy ..\img content\Content\bootstrap-fileinput\img /D /E /C /R /I /K /Y 24 | xcopy ..\themes content\Content\bootstrap-fileinput\themes /D /E /C /R /I /K /Y 25 | xcopy ..\sass content\Content\bootstrap-fileinput\sass /D /E /C /R /I /K /Y 26 | 27 | REM create a new package 28 | NuGet Pack Package.nuspec -Exclude NuGet.exe;build.bat 29 | 30 | REM Upload the new package 31 | REM for %%f in (content\Content\bootstrap-fileinput.*) do ( 32 | REM NuGet Push %%f 33 | REM rmdir /s /q content 34 | REM del %%f 35 | REM ) 36 | -------------------------------------------------------------------------------- /gitbook/book.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Calamus ", 3 | "description": "calamus's book", 4 | "extension": null, 5 | "generator": "site", 6 | "isbn": "", 7 | "links": { 8 | "sharing": { 9 | "all": null, 10 | "facebook": null, 11 | "google": null, 12 | "twitter": null, 13 | "weibo": null 14 | }, 15 | "sidebar": { 16 | "Calamus": "http://www.chengweiyang.cn" 17 | } 18 | }, 19 | "styles": { 20 | "website": "styles/website.css", 21 | "ebook": "styles/ebook.css", 22 | "pdf": "styles/pdf.css", 23 | "mobi": "styles/mobi.css", 24 | "epub": "styles/epub.css" 25 | }, 26 | "output": null, 27 | "pdf": { 28 | "fontSize": 12, 29 | "footerTemplate": null, 30 | "headerTemplate": null, 31 | "margin": { 32 | "bottom": 36, 33 | "left": 62, 34 | "right": 62, 35 | "top": 36 36 | }, 37 | "pageNumbers": false, 38 | "paperSize": "a4" 39 | }, 40 | "plugins": [], 41 | "title": "Sample GitBook", 42 | "variables": {} 43 | } -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-fileinput", 3 | "version": "4.4.7", 4 | "homepage": "https://github.com/kartik-v/bootstrap-fileinput", 5 | "authors": [ 6 | "Kartik Visweswaran " 7 | ], 8 | "description": "An enhanced HTML 5 file input for Bootstrap 3.x with file preview, multiple selection, ajax uploads, and more features.", 9 | "repository" : { 10 | "type": "git", 11 | "url": "https://github.com/kartik-v/bootstrap-fileinput.git" 12 | }, 13 | "bugs": { 14 | "url": "https://github.com/kartik-v/bootstrap-fileinput/issues" 15 | }, 16 | "keywords": [ 17 | "file", 18 | "input", 19 | "preview", 20 | "image", 21 | "upload", 22 | "ajax", 23 | "multiple", 24 | "delete", 25 | "progress", 26 | "gallery" 27 | ], 28 | "dependencies": { 29 | "jquery": ">= 1.9.0", 30 | "bootstrap": ">= 3.0.0" 31 | }, 32 | "main": "./js/fileinput.js", 33 | "style": "./css/fileinput.css", 34 | "peerDependencies": { 35 | "jquery": ">= 1.9.0", 36 | "bootstrap": ">= 3.0.0" 37 | }, 38 | "license": "BSD-3-Clause" 39 | } 40 | -------------------------------------------------------------------------------- /snow/3D雪花效果/js/Snow.js: -------------------------------------------------------------------------------- 1 | Particle3D=function(material){THREE.Particle.call(this,material);this.velocity=new THREE.Vector3(0,-8,0);this.velocity.rotateX(randomRange(-45,45));this.velocity.rotateY(randomRange(0,360));this.gravity=new THREE.Vector3(0,0,0);this.drag=1;};Particle3D.prototype=new THREE.Particle();Particle3D.prototype.constructor=Particle3D;Particle3D.prototype.updatePhysics=function(){this.velocity.multiplyScalar(this.drag);this.velocity.addSelf(this.gravity);this.position.addSelf(this.velocity);} 2 | var TO_RADIANS=Math.PI/180;THREE.Vector3.prototype.rotateY=function(angle){cosRY=Math.cos(angle*TO_RADIANS);sinRY=Math.sin(angle*TO_RADIANS);var tempz=this.z;;var tempx=this.x;this.x=(tempx*cosRY)+(tempz*sinRY);this.z=(tempx*-sinRY)+(tempz*cosRY);} 3 | THREE.Vector3.prototype.rotateX=function(angle){cosRY=Math.cos(angle*TO_RADIANS);sinRY=Math.sin(angle*TO_RADIANS);var tempz=this.z;;var tempy=this.y;this.y=(tempy*cosRY)+(tempz*sinRY);this.z=(tempy*-sinRY)+(tempz*cosRY);} 4 | THREE.Vector3.prototype.rotateZ=function(angle){cosRY=Math.cos(angle*TO_RADIANS);sinRY=Math.sin(angle*TO_RADIANS);var tempx=this.x;;var tempy=this.y;this.y=(tempy*cosRY)+(tempx*sinRY);this.x=(tempy*-sinRY)+(tempx*cosRY);} 5 | function randomRange(min,max) 6 | {return((Math.random()*(max-min))+ min);} -------------------------------------------------------------------------------- /css-center/水平垂直居中/vertical.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 绝对定位的元素的margin减去宽高的一半 9 | 38 | 39 | 40 | 41 |
42 | 43 |
44 | 宽高不定
垂直水平居中 45 |
46 |
47 | 48 | 49 | -------------------------------------------------------------------------------- /loading/demo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 定时器的进度条 6 | 7 | 27 | 28 | 29 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 49 | 50 | -------------------------------------------------------------------------------- /gitbook/_book/gitbook/gitbook-plugin-search/search-engine.js: -------------------------------------------------------------------------------- 1 | require([ 2 | 'gitbook', 3 | 'jquery' 4 | ], function(gitbook, $) { 5 | // Global search objects 6 | var engine = null; 7 | var initialized = false; 8 | 9 | // Set a new search engine 10 | function setEngine(Engine, config) { 11 | initialized = false; 12 | engine = new Engine(config); 13 | 14 | init(config); 15 | } 16 | 17 | // Initialize search engine with config 18 | function init(config) { 19 | if (!engine) throw new Error('No engine set for research. Set an engine using gitbook.research.setEngine(Engine).'); 20 | 21 | return engine.init(config) 22 | .then(function() { 23 | initialized = true; 24 | gitbook.events.trigger('search.ready'); 25 | }); 26 | } 27 | 28 | // Launch search for query q 29 | function query(q, offset, length) { 30 | if (!initialized) throw new Error('Search has not been initialized'); 31 | return engine.search(q, offset, length); 32 | } 33 | 34 | // Get stats about search 35 | function getEngine() { 36 | return engine? engine.name : null; 37 | } 38 | 39 | function isInitialized() { 40 | return initialized; 41 | } 42 | 43 | // Initialize gitbook.search 44 | gitbook.search = { 45 | setEngine: setEngine, 46 | getEngine: getEngine, 47 | query: query, 48 | isInitialized: isInitialized 49 | }; 50 | }); -------------------------------------------------------------------------------- /click/clicklove.js: -------------------------------------------------------------------------------- 1 | !function(e,t,a){function n(){c(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),o(),r()}function r(){for(var e=0;e',uploadIcon:'',uploadRetryIcon:'',zoomIcon:'',dragIcon:'',indicatorNew:'',indicatorSuccess:'',indicatorError:'',indicatorLoading:''},layoutTemplates:{fileIcon:' '},previewZoomButtonIcons:{prev:'',next:'',toggleheader:'',fullscreen:'',borderless:'',close:''},previewFileIcon:'',browseIcon:'',removeIcon:'',cancelIcon:'',uploadIcon:'',msgValidationErrorIcon:' '}}(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/css/fileinput-rtl.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee RTL (Right To Left) default styling for bootstrap-fileinput. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */.kv-rtl .close,.kv-rtl .krajee-default .file-actions,.kv-rtl .krajee-default .file-other-error{float:left}.kv-rtl .krajee-default .file-drag-handle,.kv-rtl .krajee-default .file-upload-indicator,.kv-rtl .krajee-default.file-preview-frame{float:right}.kv-rtl .file-error-message pre,.kv-rtl .file-error-message ul,.kv-rtl .file-zoom-dialog{text-align:right}.kv-rtl{direction:rtl}.kv-rtl .floating-buttons{left:10px;right:auto}.kv-rtl .floating-buttons .btn-kv{margin-left:0;margin-right:3px}.kv-rtl .file-caption-icon{left:auto;right:8px}.kv-rtl .file-drop-zone{margin:12px 12px 12px 15px}.kv-rtl .btn-prev{right:1px;left:auto}.kv-rtl .btn-next{left:1px;right:auto}.kv-rtl .float-right,.kv-rtl .pull-right{float:left!important}.kv-rtl .float-left,.kv-rtl .pull-left{float:right!important}.kv-rtl .kv-zoom-title{direction:ltr}.kv-rtl .krajee-default.file-preview-frame{box-shadow:-1px 1px 5px 0 #a2958a}.kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover{box-shadow:-3px 3px 5px 0 #333}.kv-rtl .kv-zoom-actions .btn-kv{margin-left:0;margin-right:3px}.kv-rtl .file-caption.icon-visible .file-caption-name{padding-left:0;padding-right:15px}.kv-rtl .input-group-btn:last-child>.btn{border-radius:4px 0 0 4px}.kv-rtl .input-group .form-control:first-child{border-radius:0 4px 4px 0}.kv-rtl .btn-file input[type=file]{right:auto;left:0;text-align:left;background:100% 0 none} -------------------------------------------------------------------------------- /json/demo1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 删除json空子项 9 | 34 | 35 | 36 | 37 | 38 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /download/a_href/download.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Document 9 | 10 | 11 | 12 | 13 | 14 | 下载 15 | 16 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /city/citychange.js: -------------------------------------------------------------------------------- 1 | /*城市三级联动 2 | 3 | * @method cityChange 4 | 5 | * @param allProvince,allCity,allDistrict 6 | 7 | */ 8 | 9 | 10 | function cityChange(provinceN,cityN,districtN){ 11 | var all_province=""; 12 | for(var i=0;i'+allCity.province[i].name+''; }; 14 | 15 | $('#'+provinceN).append(all_province); 16 | 17 | 18 | $('#'+provinceN).change(function () { 19 | var provinceId = $('#'+provinceN).val(); 20 | $('#'+cityN).find("option:gt(0)").remove(); 21 | $('#'+districtN).find("option:gt(0)").remove(); 22 | var all_city=""; 23 | if( provinceId!=99999){ 24 | for(var j=0;j'+allCity.city[provinceId][j].name+''; 26 | } } ; 27 | $('#'+cityN).append(all_city); 28 | }); 29 | 30 | $('#'+cityN).change(function () { 31 | var cityId = $(this).val(); 32 | var all_district=""; 33 | for(var k=0;k'+allCity.district[cityId][k].name+''; 35 | } ; 36 | $('#'+districtN).append(all_district); 37 | }); 38 | } -------------------------------------------------------------------------------- /form/demo1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 点击变成input 6 | 7 | 8 |

9 | 10 | aaaaaaaaaaa 11 |

12 |

13 | 14 | bbbbbbbbbbbb 15 |

16 |

17 | 18 | cccccccccccc 19 |

20 | 21 | 22 | 23 | 24 | 25 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/gly/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Glyphicon (default) theme configuration for bootstrap-fileinput. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */!function(i){"use strict";i.fn.fileinputThemes.gly={fileActionSettings:{removeIcon:'',uploadIcon:'',zoomIcon:'',dragIcon:'',indicatorNew:'',indicatorSuccess:'',indicatorError:'',indicatorLoading:''},layoutTemplates:{fileIcon:''},previewZoomButtonIcons:{prev:'',next:'',toggleheader:'',fullscreen:'',borderless:'',close:''},previewFileIcon:'',browseIcon:' ',removeIcon:'',cancelIcon:'',uploadIcon:'',msgValidationErrorIcon:' '}}(window.jQuery); -------------------------------------------------------------------------------- /gitbook/_book/gitbook/gitbook-plugin-lunr/search-lunr.js: -------------------------------------------------------------------------------- 1 | require([ 2 | 'gitbook', 3 | 'jquery' 4 | ], function(gitbook, $) { 5 | // Define global search engine 6 | function LunrSearchEngine() { 7 | this.index = null; 8 | this.store = {}; 9 | this.name = 'LunrSearchEngine'; 10 | } 11 | 12 | // Initialize lunr by fetching the search index 13 | LunrSearchEngine.prototype.init = function() { 14 | var that = this; 15 | var d = $.Deferred(); 16 | 17 | $.getJSON(gitbook.state.basePath+'/search_index.json') 18 | .then(function(data) { 19 | // eslint-disable-next-line no-undef 20 | that.index = lunr.Index.load(data.index); 21 | that.store = data.store; 22 | d.resolve(); 23 | }); 24 | 25 | return d.promise(); 26 | }; 27 | 28 | // Search for a term and return results 29 | LunrSearchEngine.prototype.search = function(q, offset, length) { 30 | var that = this; 31 | var results = []; 32 | 33 | if (this.index) { 34 | results = $.map(this.index.search(q), function(result) { 35 | var doc = that.store[result.ref]; 36 | 37 | return { 38 | title: doc.title, 39 | url: doc.url, 40 | body: doc.summary || doc.body 41 | }; 42 | }); 43 | } 44 | 45 | return $.Deferred().resolve({ 46 | query: q, 47 | results: results.slice(0, length), 48 | count: results.length 49 | }).promise(); 50 | }; 51 | 52 | // Set gitbook research 53 | gitbook.events.bind('start', function(e, config) { 54 | var engine = gitbook.search.getEngine(); 55 | if (!engine) { 56 | gitbook.search.setEngine(LunrSearchEngine, config); 57 | } 58 | }); 59 | }); 60 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */!function(e){"use strict";var t='\n {close}
\n \n
\n
\n
\n
\n',footer:'
{caption}
{size}{progress}{indicator} {actions}',actions:'{drag}\n
\n \n
',zoomCache:'{zoomContent}
'},previewMarkupTags:{tagBefore1:t+">"+i,tagBefore2:t+' title="{caption}">'+i,tagAfter:"\n{footer}\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); 13 | -------------------------------------------------------------------------------- /radio/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | radio_demo 6 | 11 | 12 | 13 |
14 |
15 |

Prop方式修改checked

16 |
17 |             $("#checkPropDemo1").click(function(){$("#prop1").prop("checked",true);});
18 |         
19 | demo1 20 | demo2 21 | demo3 22 | demo4 23 | demo5 24 |
25 | 26 |
27 | 28 |
29 |

Attr方式修改checked

30 |
31 |             $("#checkAttrDemo1").click(function(){$("#attr1").attr("checked",true);});
32 |         
33 | demo1 34 | demo2 35 | demo3 36 | demo4 37 | demo5 38 |
39 | 40 |
41 |
42 | 43 | 44 | 52 | 53 | -------------------------------------------------------------------------------- /loading/demo3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 头部加载的进度条 6 | 24 | 25 | 26 |
27 |
28 | 29 |
30 |
31 |
32 | 33 |
34 | 37 |
38 | 39 |
40 | 43 |
44 | 45 |
46 | 49 |
50 | 51 |
52 | 55 |
56 | 57 |
58 | 61 |
62 | 63 |
64 | 65 | 66 | 71 | 72 | -------------------------------------------------------------------------------- /loading/demo4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 动态事件的进度条 6 | 7 | 55 | 56 | 57 |
58 |
59 | 60 | 61 | 62 | 63 | 64 |
65 |
66 | 67 | 68 | 69 | 70 | 71 | 79 | 80 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/fa/theme.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | (function ($) { 14 | "use strict"; 15 | 16 | $.fn.fileinputThemes.fa = { 17 | fileActionSettings: { 18 | removeIcon: '', 19 | uploadIcon: '', 20 | uploadRetryIcon: '', 21 | zoomIcon: '', 22 | dragIcon: '', 23 | indicatorNew: '', 24 | indicatorSuccess: '', 25 | indicatorError: '', 26 | indicatorLoading: '' 27 | }, 28 | layoutTemplates: { 29 | fileIcon: ' ' 30 | }, 31 | previewZoomButtonIcons: { 32 | prev: '', 33 | next: '', 34 | toggleheader: '', 35 | fullscreen: '', 36 | borderless: '', 37 | close: '' 38 | }, 39 | previewFileIcon: '', 40 | browseIcon: '', 41 | removeIcon: '', 42 | cancelIcon: '', 43 | uploadIcon: '', 44 | msgValidationErrorIcon: ' ' 45 | }; 46 | })(window.jQuery); 47 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/gly/theme.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Glyphicon (default) theme configuration for bootstrap-fileinput. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | (function ($) { 14 | "use strict"; 15 | 16 | $.fn.fileinputThemes.gly = { 17 | fileActionSettings: { 18 | removeIcon: '', 19 | uploadIcon: '', 20 | zoomIcon: '', 21 | dragIcon: '', 22 | indicatorNew: '', 23 | indicatorSuccess: '', 24 | indicatorError: '', 25 | indicatorLoading: '' 26 | }, 27 | layoutTemplates: { 28 | fileIcon: '' 29 | }, 30 | previewZoomButtonIcons: { 31 | prev: '', 32 | next: '', 33 | toggleheader: '', 34 | fullscreen: '', 35 | borderless: '', 36 | close: '' 37 | }, 38 | previewFileIcon: '', 39 | browseIcon: ' ', 40 | removeIcon: '', 41 | cancelIcon: '', 42 | uploadIcon: '', 43 | msgValidationErrorIcon: ' ' 44 | }; 45 | })(window.jQuery); 46 | -------------------------------------------------------------------------------- /algorithm/reverseString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 字符串反转输出 3 | * @param {*} str 4 | */ 5 | function reverseString(str) { 6 | str = str 7 | .split("") 8 | .reverse() 9 | .join(""); 10 | return str; 11 | } 12 | 13 | /** 14 | * 回文算法 15 | * @param {*} str 16 | */ 17 | function palindrome(str) { 18 | str = str.replace(/[^a-zA-Z\d]/g, ""); 19 | return str.toLowerCase() == str 20 | .split("") 21 | .reverse() 22 | .join("") 23 | .toLowerCase(); 24 | } 25 | 26 | /** 27 | * 返回提供的句子中最长的单词的长度 28 | * @param {*} str 29 | */ 30 | function findLongestWord(str) { 31 | str = str.split(" "); 32 | let len = str[0].length; 33 | for (let i = 0; i < str.length; i++) { 34 | if (len <= str[i].length) { 35 | len = str[i].length; 36 | } 37 | } 38 | return len; 39 | } 40 | 41 | /** 42 | * 返回一个字符串,确保字符串的每个单词首字母都大写,其余部分小写 43 | * @param {*} str 44 | */ 45 | function titleCase(str) { 46 | str = str.split(" "); 47 | for (let i = 0; i < str.length; i++) { 48 | str[i] = 49 | str[i].substring(0, 1).toUpperCase() + str[i].substring(1).toLowerCase(); 50 | } 51 | str = str.join(" "); 52 | return str; 53 | } 54 | 55 | /** 56 | * 在右边的大数组中包含了4个小数组,请分别找到每个小数组中的最大值,然后把它们串联起来,形成一个新的数组。 57 | * @param {*} arr 58 | */ 59 | function largestOfFour(arr) { 60 | let newArr = []; 61 | for (let i = 0; i < arr.length; i++) { 62 | let max = arr[i][0]; 63 | for (let j = 0; j < arr[i].length; j++) { 64 | if (max <= arr[i][j]) { 65 | max = arr[i][j]; 66 | } 67 | } 68 | newArr.push(max); 69 | } 70 | return newArr; 71 | } 72 | 73 | /** 74 | * 把一个数组arr按照指定的数组大小size分割成若干个数组块 75 | * @param {*} arr 76 | * @param {*} size 77 | */ 78 | function chunk(arr, size) { 79 | var index = 0; 80 | var newArray = []; 81 | 82 | while (index < arr.length) { 83 | newArray.push(arr.slice(index, (index += size))); 84 | } 85 | 86 | return newArray; 87 | } 88 | 89 | /** 90 | * 删除数组中的所有假值 91 | * @param {*} arr 92 | */ 93 | function bouncer(arr) { 94 | return arr.filter(params => Boolean(params)); 95 | } 96 | 97 | /** 98 | * 去除数组中任意多个值 99 | * @param {*} arr 100 | */ 101 | function destroyer(arr) { 102 | var args = []; 103 | for (var i = 1; i < arguments.length; i++) { 104 | //将待摧毁的值放入一个数组中,赋值给变量args 105 | args.push(arguments[i]); 106 | } 107 | var newArr = arr.filter(function(item) { 108 | //两个数组去重; 109 | return args.indexOf(item) === -1; 110 | }); 111 | return newArr; 112 | } -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/css/fileinput-rtl.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee RTL (Right To Left) default styling for bootstrap-fileinput. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | .kv-rtl .close, .kv-rtl .krajee-default .file-actions, .kv-rtl .krajee-default .file-other-error { 14 | float: left; 15 | } 16 | 17 | .kv-rtl .krajee-default.file-preview-frame, .kv-rtl .krajee-default .file-drag-handle, .kv-rtl .krajee-default .file-upload-indicator { 18 | float: right; 19 | } 20 | 21 | .kv-rtl .file-zoom-dialog, .kv-rtl .file-error-message pre, .kv-rtl .file-error-message ul { 22 | text-align: right; 23 | } 24 | 25 | .kv-rtl { 26 | direction: rtl; 27 | } 28 | 29 | .kv-rtl .floating-buttons { 30 | left: 10px; 31 | right: auto; 32 | } 33 | 34 | .kv-rtl .floating-buttons .btn-kv { 35 | margin-left: 0; 36 | margin-right: 3px; 37 | } 38 | 39 | .kv-rtl .file-caption-icon { 40 | left: auto; 41 | right: 8px; 42 | } 43 | 44 | .kv-rtl .file-drop-zone { 45 | margin: 12px 12px 12px 15px; 46 | } 47 | 48 | .kv-rtl .btn-prev { 49 | right: 1px; 50 | left: auto; 51 | } 52 | 53 | .kv-rtl .btn-next { 54 | left: 1px; 55 | right: auto; 56 | } 57 | 58 | .kv-rtl .pull-right, .kv-rtl .float-right { 59 | float: left !important; 60 | } 61 | 62 | .kv-rtl .pull-left, .kv-rtl .float-left { 63 | float: right !important; 64 | } 65 | 66 | .kv-rtl .kv-zoom-title { 67 | direction: ltr; 68 | } 69 | 70 | .kv-rtl .krajee-default.file-preview-frame { 71 | box-shadow: -1px 1px 5px 0 #a2958a; 72 | } 73 | 74 | .kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover { 75 | box-shadow: -3px 3px 5px 0 #333; 76 | } 77 | 78 | .kv-rtl .kv-zoom-actions .btn-kv { 79 | margin-left: 0; 80 | margin-right: 3px; 81 | } 82 | 83 | .kv-rtl .file-caption.icon-visible .file-caption-name { 84 | padding-left: 0; 85 | padding-right: 15px; 86 | } 87 | 88 | .kv-rtl .input-group-btn:last-child > .btn { 89 | border-radius: 4px 0 0 4px; 90 | } 91 | 92 | .kv-rtl .input-group .form-control:first-child { 93 | border-radius: 0 4px 4px 0; 94 | } 95 | 96 | .kv-rtl .btn-file input[type=file] { 97 | right: auto; 98 | left: 0; 99 | text-align: left; 100 | background: none repeat scroll 100% 0 transparent; 101 | } -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer/theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */.explorer-frame .file-preview-other,.theme-explorer .explorer-frame .kv-file-content,.theme-explorer .file-actions,.theme-explorer .file-drag-handle,.theme-explorer .file-upload-indicator{text-align:center}.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;display:inline-block;top:0;right:3px;width:16px;height:16px;font-size:16px}.theme-explorer .explorer-caption,.theme-explorer .file-thumb-progress .progress{display:block}.theme-explorer .explorer-frame td{vertical-align:middle;text-align:left}.theme-explorer .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px}.theme-explorer .file-actions-cell{position:relative;width:120px;padding:0}.theme-explorer .file-thumb-progress .progress{margin-top:5px}.theme-explorer .explorer-caption{color:#777}.theme-explorer .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer .file-preview .table{margin:0}.theme-explorer .file-error-message ul{padding:5px 0 0 20px}.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-other-icon{font-size:2.6em}@media only screen and (max-width:767px){.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}}.file-zoom-dialog .explorer-frame .file-other-icon{font-size:22em;font-size:50vmin} -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer/theme.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer theme configuration for bootstrap-fileinput. Load this theme file after loading `fileinput.js`. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | (function ($) { 14 | "use strict"; 15 | var teTagBef = '\n' + 20 | ' {close}' + 21 | '
\n' + 22 | ' \n' + 23 | '
\n' + 24 | '
' + 25 | '
\n' + 26 | '
\n' + 27 | '
\n' + 28 | '', 29 | footer: '
{caption}
' + 30 | '{size}{progress}{indicator} {actions}', 31 | actions: '{drag}\n' + 32 | '
\n' + 33 | ' \n' + 36 | '
', 37 | zoomCache: '' + 38 | '{zoomContent}
' 39 | }, 40 | previewMarkupTags: { 41 | tagBefore1: teTagBef + '>' + teContent, 42 | tagBefore2: teTagBef + ' title="{caption}">' + teContent, 43 | tagAfter: '\n{footer}\n' 44 | }, 45 | previewSettings: { 46 | image: {height: "60px"}, 47 | html: {width: "100px", height: "60px"}, 48 | text: {width: "100px", height: "60px"}, 49 | video: {width: "auto", height: "60px"}, 50 | audio: {width: "auto", height: "60px"}, 51 | flash: {width: "100%", height: "60px"}, 52 | object: {width: "100%", height: "60px"}, 53 | pdf: {width: "100px", height: "60px"}, 54 | other: {width: "100%", height: "60px"} 55 | }, 56 | frameClass: 'explorer-frame' 57 | }; 58 | })(window.jQuery); 59 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer-fa/theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer Font Awesome theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */.explorer-frame .file-preview-other,.theme-explorer-fa .explorer-frame .kv-file-content,.theme-explorer-fa .file-actions,.theme-explorer-fa .file-drag-handle,.theme-explorer-fa .file-upload-indicator{text-align:center}.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;display:inline-block;top:0;right:3px;width:16px;height:16px;font-size:16px}.theme-explorer-fa .explorer-caption,.theme-explorer-fa .file-thumb-progress .progress{display:block}.theme-explorer-fa .explorer-frame td{vertical-align:middle;text-align:left}.theme-explorer-fa .explorer-frame .kv-file-content{width:80px;height:80px;padding:5px}.theme-explorer-fa .file-actions-cell{position:relative;width:120px;padding:0}.theme-explorer-fa .file-thumb-progress .progress{margin-top:5px}.theme-explorer-fa .explorer-caption{color:#777}.theme-explorer-fa .kvsortable-ghost{opacity:.6;background:#e1edf7;border:2px solid #a1abff}.theme-explorer-fa .file-preview .table{margin:0}.theme-explorer-fa .file-error-message ul{padding:5px 0 0 20px}.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-other-icon{font-size:2.6em}@media only screen and (max-width:767px){.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}}.file-zoom-dialog .explorer-frame .file-other-icon{font-size:22em;font-size:50vmin} -------------------------------------------------------------------------------- /json/demo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Document 9 | 10 | 11 | 12 | 13 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer-fa/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput. 6 | * Load this theme file after loading `fileinput.js`. Ensure that 7 | * font awesome assets and CSS are loaded on the page as well. 8 | * 9 | * Author: Kartik Visweswaran 10 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 11 | * 12 | * Licensed under the BSD 3-Clause 13 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 14 | */!function(a){"use strict";var e='\n {close}
\n \n
\n
\n
\n
\n',footer:'
{caption}
{size}{progress}{indicator} {actions}',actions:'{drag}\n
\n \n
',zoomCache:'{zoomContent}
',fileIcon:' '},previewMarkupTags:{tagBefore1:e+">"+i,tagBefore2:e+' title="{caption}">'+i,tagAfter:"\n{footer}\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:'',uploadIcon:'',uploadRetryIcon:'',zoomIcon:'',dragIcon:'',indicatorNew:'',indicatorSuccess:'',indicatorError:'',indicatorLoading:''},previewZoomButtonIcons:{prev:'',next:'',toggleheader:'',fullscreen:'',borderless:'',close:''},previewFileIcon:'',browseIcon:'',removeIcon:'',cancelIcon:'',uploadIcon:'',msgValidationErrorIcon:' '}}(window.jQuery); -------------------------------------------------------------------------------- /gitbook/_book/gitbook/gitbook-plugin-sharing/buttons.js: -------------------------------------------------------------------------------- 1 | require(['gitbook', 'jquery'], function(gitbook, $) { 2 | var SITES = { 3 | 'facebook': { 4 | 'label': 'Facebook', 5 | 'icon': 'fa fa-facebook', 6 | 'onClick': function(e) { 7 | e.preventDefault(); 8 | window.open('http://www.facebook.com/sharer/sharer.php?s=100&p[url]='+encodeURIComponent(location.href)); 9 | } 10 | }, 11 | 'twitter': { 12 | 'label': 'Twitter', 13 | 'icon': 'fa fa-twitter', 14 | 'onClick': function(e) { 15 | e.preventDefault(); 16 | window.open('http://twitter.com/home?status='+encodeURIComponent(document.title+' '+location.href)); 17 | } 18 | }, 19 | 'google': { 20 | 'label': 'Google+', 21 | 'icon': 'fa fa-google-plus', 22 | 'onClick': function(e) { 23 | e.preventDefault(); 24 | window.open('https://plus.google.com/share?url='+encodeURIComponent(location.href)); 25 | } 26 | }, 27 | 'weibo': { 28 | 'label': 'Weibo', 29 | 'icon': 'fa fa-weibo', 30 | 'onClick': function(e) { 31 | e.preventDefault(); 32 | window.open('http://service.weibo.com/share/share.php?content=utf-8&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)); 33 | } 34 | }, 35 | 'instapaper': { 36 | 'label': 'Instapaper', 37 | 'icon': 'fa fa-instapaper', 38 | 'onClick': function(e) { 39 | e.preventDefault(); 40 | window.open('http://www.instapaper.com/text?u='+encodeURIComponent(location.href)); 41 | } 42 | }, 43 | 'vk': { 44 | 'label': 'VK', 45 | 'icon': 'fa fa-vk', 46 | 'onClick': function(e) { 47 | e.preventDefault(); 48 | window.open('http://vkontakte.ru/share.php?url='+encodeURIComponent(location.href)); 49 | } 50 | } 51 | }; 52 | 53 | 54 | 55 | gitbook.events.bind('start', function(e, config) { 56 | var opts = config.sharing; 57 | 58 | // Create dropdown menu 59 | var menu = $.map(opts.all, function(id) { 60 | var site = SITES[id]; 61 | 62 | return { 63 | text: site.label, 64 | onClick: site.onClick 65 | }; 66 | }); 67 | 68 | // Create main button with dropdown 69 | if (menu.length > 0) { 70 | gitbook.toolbar.createButton({ 71 | icon: 'fa fa-share-alt', 72 | label: 'Share', 73 | position: 'right', 74 | dropdown: [menu] 75 | }); 76 | } 77 | 78 | // Direct actions to share 79 | $.each(SITES, function(sideId, site) { 80 | if (!opts[sideId]) return; 81 | 82 | gitbook.toolbar.createButton({ 83 | icon: site.icon, 84 | label: site.text, 85 | position: 'right', 86 | onClick: site.onClick 87 | }); 88 | }); 89 | }); 90 | }); 91 | -------------------------------------------------------------------------------- /upload/demo1/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Document 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 22 | 32 | 33 | 82 | 83 | -------------------------------------------------------------------------------- /gitbook/_book/gitbook/gitbook-plugin-highlight/ebook.css: -------------------------------------------------------------------------------- 1 | pre, 2 | code { 3 | /* http://jmblog.github.io/color-themes-for-highlightjs */ 4 | /* Tomorrow Comment */ 5 | /* Tomorrow Red */ 6 | /* Tomorrow Orange */ 7 | /* Tomorrow Yellow */ 8 | /* Tomorrow Green */ 9 | /* Tomorrow Aqua */ 10 | /* Tomorrow Blue */ 11 | /* Tomorrow Purple */ 12 | } 13 | pre .hljs-comment, 14 | code .hljs-comment, 15 | pre .hljs-title, 16 | code .hljs-title { 17 | color: #8e908c; 18 | } 19 | pre .hljs-variable, 20 | code .hljs-variable, 21 | pre .hljs-attribute, 22 | code .hljs-attribute, 23 | pre .hljs-tag, 24 | code .hljs-tag, 25 | pre .hljs-regexp, 26 | code .hljs-regexp, 27 | pre .hljs-deletion, 28 | code .hljs-deletion, 29 | pre .ruby .hljs-constant, 30 | code .ruby .hljs-constant, 31 | pre .xml .hljs-tag .hljs-title, 32 | code .xml .hljs-tag .hljs-title, 33 | pre .xml .hljs-pi, 34 | code .xml .hljs-pi, 35 | pre .xml .hljs-doctype, 36 | code .xml .hljs-doctype, 37 | pre .html .hljs-doctype, 38 | code .html .hljs-doctype, 39 | pre .css .hljs-id, 40 | code .css .hljs-id, 41 | pre .css .hljs-class, 42 | code .css .hljs-class, 43 | pre .css .hljs-pseudo, 44 | code .css .hljs-pseudo { 45 | color: #c82829; 46 | } 47 | pre .hljs-number, 48 | code .hljs-number, 49 | pre .hljs-preprocessor, 50 | code .hljs-preprocessor, 51 | pre .hljs-pragma, 52 | code .hljs-pragma, 53 | pre .hljs-built_in, 54 | code .hljs-built_in, 55 | pre .hljs-literal, 56 | code .hljs-literal, 57 | pre .hljs-params, 58 | code .hljs-params, 59 | pre .hljs-constant, 60 | code .hljs-constant { 61 | color: #f5871f; 62 | } 63 | pre .ruby .hljs-class .hljs-title, 64 | code .ruby .hljs-class .hljs-title, 65 | pre .css .hljs-rules .hljs-attribute, 66 | code .css .hljs-rules .hljs-attribute { 67 | color: #eab700; 68 | } 69 | pre .hljs-string, 70 | code .hljs-string, 71 | pre .hljs-value, 72 | code .hljs-value, 73 | pre .hljs-inheritance, 74 | code .hljs-inheritance, 75 | pre .hljs-header, 76 | code .hljs-header, 77 | pre .hljs-addition, 78 | code .hljs-addition, 79 | pre .ruby .hljs-symbol, 80 | code .ruby .hljs-symbol, 81 | pre .xml .hljs-cdata, 82 | code .xml .hljs-cdata { 83 | color: #718c00; 84 | } 85 | pre .css .hljs-hexcolor, 86 | code .css .hljs-hexcolor { 87 | color: #3e999f; 88 | } 89 | pre .hljs-function, 90 | code .hljs-function, 91 | pre .python .hljs-decorator, 92 | code .python .hljs-decorator, 93 | pre .python .hljs-title, 94 | code .python .hljs-title, 95 | pre .ruby .hljs-function .hljs-title, 96 | code .ruby .hljs-function .hljs-title, 97 | pre .ruby .hljs-title .hljs-keyword, 98 | code .ruby .hljs-title .hljs-keyword, 99 | pre .perl .hljs-sub, 100 | code .perl .hljs-sub, 101 | pre .javascript .hljs-title, 102 | code .javascript .hljs-title, 103 | pre .coffeescript .hljs-title, 104 | code .coffeescript .hljs-title { 105 | color: #4271ae; 106 | } 107 | pre .hljs-keyword, 108 | code .hljs-keyword, 109 | pre .javascript .hljs-function, 110 | code .javascript .hljs-function { 111 | color: #8959a8; 112 | } 113 | pre .hljs, 114 | code .hljs { 115 | display: block; 116 | background: white; 117 | color: #4d4d4c; 118 | padding: 0.5em; 119 | } 120 | pre .coffeescript .javascript, 121 | code .coffeescript .javascript, 122 | pre .javascript .xml, 123 | code .javascript .xml, 124 | pre .tex .hljs-formula, 125 | code .tex .hljs-formula, 126 | pre .xml .javascript, 127 | code .xml .javascript, 128 | pre .xml .vbscript, 129 | code .xml .vbscript, 130 | pre .xml .css, 131 | code .xml .css, 132 | pre .xml .hljs-cdata, 133 | code .xml .hljs-cdata { 134 | opacity: 0.5; 135 | } 136 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/scss/fileinput-rtl.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee RTL (Right To Left) default styling for bootstrap-fileinput. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | 14 | //colors 15 | $zorba: #a2958a !default; 16 | $mine-shaft: #333 !default; 17 | 18 | //standard measures 19 | $radius: 4px !default; 20 | $pad: 5px !default; 21 | $border: 1px !default; 22 | 23 | //operations 24 | @function multiply($pixels, $multiplier) { 25 | @return $pixels * $multiplier; 26 | } 27 | 28 | //@extend-elements 29 | %set_float_left { 30 | float: left; 31 | } 32 | 33 | %set_float_right { 34 | float: right; 35 | } 36 | 37 | %set_text_right { 38 | text-align: right; 39 | } 40 | 41 | .kv-rtl { 42 | direction: rtl; 43 | .floating-buttons { 44 | left: multiply($pad, 2); 45 | right: auto; 46 | .btn-kv { 47 | margin-left: 0; 48 | margin-right: multiply($pad, 0.6); 49 | } 50 | } 51 | .file-caption-icon { 52 | left: auto; 53 | right: multiply($pad, 1.6); 54 | } 55 | .close { 56 | @extend %set_float_left; 57 | } 58 | .file-zoom-dialog { 59 | @extend %set_text_right; 60 | } 61 | .file-error-message { 62 | pre { 63 | @extend %set_text_right; 64 | } 65 | ul { 66 | @extend %set_text_right; 67 | } 68 | } 69 | .file-drop-zone { 70 | margin: multiply($pad, 2.4) multiply($pad, 2.4) multiply($pad, 2.4) multiply($pad, 3); 71 | } 72 | .btn-prev { 73 | right: multiply($pad, 0.2); 74 | left: auto; 75 | } 76 | .btn-next { 77 | left: multiply($pad, 0.2); 78 | right: auto; 79 | } 80 | .pull-right { 81 | float: left !important; 82 | } 83 | .pull-left { 84 | float: right !important; 85 | } 86 | .float-right { 87 | @extend .pull-right; 88 | } 89 | .float-left { 90 | @extend .pull-left; 91 | } 92 | .kv-zoom-title { 93 | direction: ltr; 94 | } 95 | .krajee-default { 96 | &.file-preview-frame { 97 | @extend %set_float_right; 98 | box-shadow: (-$border) $border multiply($border, 5) 0 $zorba; 99 | &:not(.file-preview-error):hover { 100 | box-shadow: multiply($border, -3) multiply($border, 3) multiply($border, 5) 0 $mine-shaft; 101 | } 102 | } 103 | .file-actions { 104 | @extend %set_float_left; 105 | } 106 | .file-other-error { 107 | @extend %set_float_left; 108 | } 109 | .file-drag-handle { 110 | @extend %set_float_right; 111 | } 112 | .file-upload-indicator { 113 | @extend %set_float_right; 114 | } 115 | } 116 | .kv-zoom-actions .btn-kv { 117 | margin-left: 0; 118 | margin-right: multiply($pad, 0.6); 119 | } 120 | .file-caption.icon-visible .file-caption-name { 121 | padding-left: 0; 122 | padding-right: multiply($pad, 3); 123 | } 124 | .input-group-btn:last-child > .btn { 125 | border-radius: $radius 0 0 $radius; 126 | } 127 | .input-group .form-control:first-child { 128 | border-radius: 0 $radius $radius 0; 129 | } 130 | .btn-file input[type=file] { 131 | right: auto; 132 | left: 0; 133 | text-align: left; 134 | background: none repeat scroll 100% 0 transparent; 135 | } 136 | } -------------------------------------------------------------------------------- /loading/demo5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 实时加载的进度条 5 | 50 | 51 | 77 | 78 | 79 |
80 |
81 | 82 | 0% 83 |
84 |
85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/zh.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Chinese Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author kangqf 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['zh'] = { 16 | fileSingle: '文件', 17 | filePlural: '个文件', 18 | browseLabel: '选择 …', 19 | removeLabel: '移除', 20 | removeTitle: '清除选中文件', 21 | cancelLabel: '取消', 22 | cancelTitle: '取消进行中的上传', 23 | uploadLabel: '上传', 24 | uploadTitle: '上传选中文件', 25 | msgNo: '没有', 26 | msgNoFilesSelected: '', 27 | msgCancelled: '取消', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: '详细预览', 30 | msgFileRequired: '必须选择一个文件上传.', 31 | msgSizeTooSmall: '文件 "{name}" ({size} KB) 必须大于限定大小 {minSize} KB.', 32 | msgSizeTooLarge: '文件 "{name}" ({size} KB) 超过了允许大小 {maxSize} KB.', 33 | msgFilesTooLess: '你必须选择最少 {n} {files} 来上传. ', 34 | msgFilesTooMany: '选择的上传文件个数 ({n}) 超出最大文件的限制个数 {m}.', 35 | msgFileNotFound: '文件 "{name}" 未找到!', 36 | msgFileSecured: '安全限制,为了防止读取文件 "{name}".', 37 | msgFileNotReadable: '文件 "{name}" 不可读.', 38 | msgFilePreviewAborted: '取消 "{name}" 的预览.', 39 | msgFilePreviewError: '读取 "{name}" 时出现了一个错误.', 40 | msgInvalidFileName: '文件名 "{name}" 包含非法字符.', 41 | msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.', 42 | msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.', 43 | msgFileTypes: { 44 | 'image': 'image', 45 | 'html': 'HTML', 46 | 'text': 'text', 47 | 'video': 'video', 48 | 'audio': 'audio', 49 | 'flash': 'flash', 50 | 'pdf': 'PDF', 51 | 'object': 'object' 52 | }, 53 | msgUploadAborted: '该文件上传被中止', 54 | msgUploadThreshold: '处理中...', 55 | msgUploadBegin: '正在初始化...', 56 | msgUploadEnd: '完成', 57 | msgUploadEmpty: '无效的文件上传.', 58 | msgUploadError: 'Error', 59 | msgValidationError: '验证错误', 60 | msgLoading: '加载第 {index} 文件 共 {files} …', 61 | msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.', 62 | msgSelected: '{n} {files} 选中', 63 | msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.', 64 | msgImageWidthSmall: '图像文件的"{name}"的宽度必须是至少{size}像素.', 65 | msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.', 66 | msgImageWidthLarge: '图像文件"{name}"的宽度不能超过{size}像素.', 67 | msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.', 68 | msgImageResizeError: '无法获取的图像尺寸调整。', 69 | msgImageResizeException: '调整图像大小时发生错误。
{errors}
', 70 | msgAjaxError: '{operation} 发生错误. 请重试!', 71 | msgAjaxProgressError: '{operation} 失败', 72 | ajaxOperations: { 73 | deleteThumb: '删除文件', 74 | uploadThumb: '上传文件', 75 | uploadBatch: '批量上传', 76 | uploadExtra: '表单数据上传' 77 | }, 78 | dropZoneTitle: '拖拽文件到这里 …
支持多文件同时上传', 79 | dropZoneClickTitle: '
(或点击{files}按钮选择文件)', 80 | fileActionSettings: { 81 | removeTitle: '删除文件', 82 | uploadTitle: '上传文件', 83 | uploadRetryTitle: 'Retry upload', 84 | zoomTitle: '查看详情', 85 | dragTitle: '移动 / 重置', 86 | indicatorNewTitle: '没有上传', 87 | indicatorSuccessTitle: '上传', 88 | indicatorErrorTitle: '上传错误', 89 | indicatorLoadingTitle: '上传 ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: '预览上一个文件', 93 | next: '预览下一个文件', 94 | toggleheader: '缩放', 95 | fullscreen: '全屏', 96 | borderless: '无边界模式', 97 | close: '关闭当前预览' 98 | } 99 | }; 100 | })(window.jQuery); 101 | -------------------------------------------------------------------------------- /snow/3D雪花效果/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 3d立体逼真的雪花效果 5 | 6 | 7 | 18 | 19 | 20 | 21 | 22 | 143 |
144 |

适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。

145 |
146 | 147 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer/theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | .theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle, .theme-explorer .explorer-frame .kv-file-content, .theme-explorer .file-actions, .explorer-frame .file-preview-other { 14 | text-align: center; 15 | } 16 | 17 | .theme-explorer .file-thumb-progress .progress, .theme-explorer .file-thumb-progress .progress-bar { 18 | height: 13px; 19 | font-size: 11px; 20 | line-height: 13px; 21 | } 22 | 23 | .theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle { 24 | position: absolute; 25 | display: inline-block; 26 | top: 0; 27 | right: 3px; 28 | width: 16px; 29 | height: 16px; 30 | font-size: 16px; 31 | } 32 | 33 | .theme-explorer .file-thumb-progress .progress, .theme-explorer .explorer-caption { 34 | display: block; 35 | } 36 | 37 | .theme-explorer .explorer-frame td { 38 | vertical-align: middle; 39 | text-align: left; 40 | } 41 | 42 | .theme-explorer .explorer-frame .kv-file-content { 43 | width: 80px; 44 | height: 80px; 45 | padding: 5px; 46 | } 47 | 48 | .theme-explorer .file-actions-cell { 49 | position: relative; 50 | width: 120px; 51 | padding: 0; 52 | } 53 | 54 | .theme-explorer .file-thumb-progress .progress { 55 | margin-top: 5px; 56 | } 57 | 58 | .theme-explorer .explorer-caption { 59 | color: #777; 60 | } 61 | 62 | .theme-explorer .kvsortable-ghost { 63 | opacity: 0.6; 64 | background: #e1edf7; 65 | border: 2px solid #a1abff; 66 | } 67 | 68 | .theme-explorer .file-preview .table { 69 | margin: 0; 70 | } 71 | 72 | .theme-explorer .file-error-message ul { 73 | padding: 5px 0 0 20px; 74 | } 75 | 76 | .explorer-frame .file-preview-text { 77 | display: inline-block; 78 | color: #428bca; 79 | border: 1px solid #ddd; 80 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; 81 | outline: none; 82 | padding: 8px; 83 | resize: none; 84 | } 85 | 86 | .explorer-frame .file-preview-html { 87 | display: inline-block; 88 | border: 1px solid #ddd; 89 | padding: 8px; 90 | overflow: auto; 91 | } 92 | 93 | .explorer-frame .file-other-icon { 94 | font-size: 2.6em; 95 | } 96 | 97 | @media only screen and (max-width: 767px) { 98 | .theme-explorer .table, .theme-explorer .table tbody, .theme-explorer .table tr, .theme-explorer .table td { 99 | display: block; 100 | width: 100% !important; 101 | } 102 | 103 | .theme-explorer .table { 104 | border: none; 105 | } 106 | 107 | .theme-explorer .table tr { 108 | margin-top: 5px; 109 | } 110 | 111 | .theme-explorer .table tr:first-child { 112 | margin-top: 0; 113 | } 114 | 115 | .theme-explorer .table td { 116 | text-align: center; 117 | } 118 | 119 | .theme-explorer .table .kv-file-content { 120 | border-bottom: none; 121 | padding: 4px; 122 | margin: 0; 123 | } 124 | 125 | .theme-explorer .table .kv-file-content .file-preview-image { 126 | max-width: 100%; 127 | font-size: 20px; 128 | } 129 | 130 | .theme-explorer .file-details-cell { 131 | border-top: none; 132 | border-bottom: none; 133 | padding-top: 0; 134 | margin: 0; 135 | } 136 | 137 | .theme-explorer .file-actions-cell { 138 | border-top: none; 139 | padding-bottom: 4px; 140 | } 141 | 142 | .theme-explorer .explorer-frame .explorer-caption { 143 | white-space: nowrap; 144 | text-overflow: ellipsis; 145 | overflow: hidden; 146 | left: 0; 147 | right: 0; 148 | margin: auto; 149 | } 150 | } 151 | 152 | /*noinspection CssOverwrittenProperties*/ 153 | .file-zoom-dialog .explorer-frame .file-other-icon { 154 | font-size: 22em; 155 | font-size: 50vmin; 156 | } 157 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer-fa/theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer Font Awesome theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`. 6 | * 7 | * Author: Kartik Visweswaran 8 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 9 | * 10 | * Licensed under the BSD 3-Clause 11 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 12 | */ 13 | .theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle, .theme-explorer-fa .explorer-frame .kv-file-content, .theme-explorer-fa .file-actions, .explorer-frame .file-preview-other { 14 | text-align: center; 15 | } 16 | 17 | .theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .file-thumb-progress .progress-bar { 18 | height: 13px; 19 | font-size: 11px; 20 | line-height: 13px; 21 | } 22 | 23 | .theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle { 24 | position: absolute; 25 | display: inline-block; 26 | top: 0; 27 | right: 3px; 28 | width: 16px; 29 | height: 16px; 30 | font-size: 16px; 31 | } 32 | 33 | .theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .explorer-caption { 34 | display: block; 35 | } 36 | 37 | .theme-explorer-fa .explorer-frame td { 38 | vertical-align: middle; 39 | text-align: left; 40 | } 41 | 42 | .theme-explorer-fa .explorer-frame .kv-file-content { 43 | width: 80px; 44 | height: 80px; 45 | padding: 5px; 46 | } 47 | 48 | .theme-explorer-fa .file-actions-cell { 49 | position: relative; 50 | width: 120px; 51 | padding: 0; 52 | } 53 | 54 | .theme-explorer-fa .file-thumb-progress .progress { 55 | margin-top: 5px; 56 | } 57 | 58 | .theme-explorer-fa .explorer-caption { 59 | color: #777; 60 | } 61 | 62 | .theme-explorer-fa .kvsortable-ghost { 63 | opacity: 0.6; 64 | background: #e1edf7; 65 | border: 2px solid #a1abff; 66 | } 67 | 68 | .theme-explorer-fa .file-preview .table { 69 | margin: 0; 70 | } 71 | 72 | .theme-explorer-fa .file-error-message ul { 73 | padding: 5px 0 0 20px; 74 | } 75 | 76 | .explorer-frame .file-preview-text { 77 | display: inline-block; 78 | color: #428bca; 79 | border: 1px solid #ddd; 80 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; 81 | outline: none; 82 | padding: 8px; 83 | resize: none; 84 | } 85 | 86 | .explorer-frame .file-preview-html { 87 | display: inline-block; 88 | border: 1px solid #ddd; 89 | padding: 8px; 90 | overflow: auto; 91 | } 92 | 93 | .explorer-frame .file-other-icon { 94 | font-size: 2.6em; 95 | } 96 | 97 | @media only screen and (max-width: 767px) { 98 | .theme-explorer-fa .table, .theme-explorer-fa .table tbody, .theme-explorer-fa .table tr, .theme-explorer-fa .table td { 99 | display: block; 100 | width: 100% !important; 101 | } 102 | 103 | .theme-explorer-fa .table { 104 | border: none; 105 | } 106 | 107 | .theme-explorer-fa .table tr { 108 | margin-top: 5px; 109 | } 110 | 111 | .theme-explorer-fa .table tr:first-child { 112 | margin-top: 0; 113 | } 114 | 115 | .theme-explorer-fa .table td { 116 | text-align: center; 117 | } 118 | 119 | .theme-explorer-fa .table .kv-file-content { 120 | border-bottom: none; 121 | padding: 4px; 122 | margin: 0; 123 | } 124 | 125 | .theme-explorer-fa .table .kv-file-content .file-preview-image { 126 | max-width: 100%; 127 | font-size: 20px; 128 | } 129 | 130 | .theme-explorer-fa .file-details-cell { 131 | border-top: none; 132 | border-bottom: none; 133 | padding-top: 0; 134 | margin: 0; 135 | } 136 | 137 | .theme-explorer-fa .file-actions-cell { 138 | border-top: none; 139 | padding-bottom: 4px; 140 | } 141 | 142 | .theme-explorer-fa .explorer-frame .explorer-caption { 143 | white-space: nowrap; 144 | text-overflow: ellipsis; 145 | overflow: hidden; 146 | left: 0; 147 | right: 0; 148 | margin: auto; 149 | } 150 | } 151 | 152 | /*noinspection CssOverwrittenProperties*/ 153 | .file-zoom-dialog .explorer-frame .file-other-icon { 154 | font-size: 22em; 155 | font-size: 50vmin; 156 | } -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/themes/explorer-fa/theme.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-fileinput v4.4.7 3 | * http://plugins.krajee.com/file-input 4 | * 5 | * Krajee Explorer Font Awesome theme configuration for bootstrap-fileinput. 6 | * Load this theme file after loading `fileinput.js`. Ensure that 7 | * font awesome assets and CSS are loaded on the page as well. 8 | * 9 | * Author: Kartik Visweswaran 10 | * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com 11 | * 12 | * Licensed under the BSD 3-Clause 13 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md 14 | */ 15 | (function ($) { 16 | "use strict"; 17 | var teTagBef = '\n' + 22 | ' {close}' + 23 | '
\n' + 24 | ' \n' + 25 | '
\n' + 26 | '
' + 27 | '
\n' + 28 | '
\n' + 29 | '
\n' + 30 | '', 31 | footer: '
{caption}
' + 32 | '{size}{progress}{indicator} {actions}', 33 | actions: '{drag}\n' + 34 | '
\n' + 35 | ' \n' + 38 | '
', 39 | zoomCache: '' + 40 | '{zoomContent}
', 41 | fileIcon: ' ' 42 | }, 43 | previewMarkupTags: { 44 | tagBefore1: teTagBef + '>' + teContent, 45 | tagBefore2: teTagBef + ' title="{caption}">' + teContent, 46 | tagAfter: '\n{footer}\n' 47 | }, 48 | previewSettings: { 49 | image: {height: "60px"}, 50 | html: {width: "100px", height: "60px"}, 51 | text: {width: "100px", height: "60px"}, 52 | video: {width: "auto", height: "60px"}, 53 | audio: {width: "auto", height: "60px"}, 54 | flash: {width: "100%", height: "60px"}, 55 | object: {width: "100%", height: "60px"}, 56 | pdf: {width: "100px", height: "60px"}, 57 | other: {width: "100%", height: "60px"} 58 | }, 59 | frameClass: 'explorer-frame', 60 | fileActionSettings: { 61 | removeIcon: '', 62 | uploadIcon: '', 63 | uploadRetryIcon: '', 64 | zoomIcon: '', 65 | dragIcon: '', 66 | indicatorNew: '', 67 | indicatorSuccess: '', 68 | indicatorError: '', 69 | indicatorLoading: '' 70 | }, 71 | previewZoomButtonIcons: { 72 | prev: '', 73 | next: '', 74 | toggleheader: '', 75 | fullscreen: '', 76 | borderless: '', 77 | close: '' 78 | }, 79 | previewFileIcon: '', 80 | browseIcon: '', 81 | removeIcon: '', 82 | cancelIcon: '', 83 | uploadIcon: '', 84 | msgValidationErrorIcon: ' ' 85 | }; 86 | })(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/kz.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Kazakh Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author Kali Toleugazy 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['kz'] = { 16 | fileSingle: 'файл', 17 | filePlural: 'файлдар', 18 | browseLabel: 'Таңдау …', 19 | removeLabel: 'Жою', 20 | removeTitle: 'Таңдалған файлдарды жою', 21 | cancelLabel: 'Күшін жою', 22 | cancelTitle: 'Ағымдағы жүктеуді болдырмау', 23 | uploadLabel: 'Жүктеу', 24 | uploadTitle: 'Таңдалған файлдарды жүктеу', 25 | msgNo: 'жоқ', 26 | msgNoFilesSelected: 'Файл таңдалмады', 27 | msgCancelled: 'Күші жойылған', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: 'Алдын ала толық көру', 30 | msgSizeTooLarge: 'Файл "{name}" ({size} KB) ең үлкен {maxSize} KB өлшемінен асады.', 31 | msgFilesTooLess: 'Жүктеу үшіy кемінде {n} {files} таңдау керек.', 32 | msgFilesTooMany: 'Таңдалған ({n}) файлдардың саны берілген {m} саннан асып кетті.', 33 | msgFileNotFound: 'Файл "{name}" табылмады!', 34 | msgFileSecured: 'Шектеу қауіпсіздігі "{name}" файлын оқуға тыйым салады.', 35 | msgFileNotReadable: '"{name}" файлды оқу мүмкін емес.', 36 | msgFilePreviewAborted: '"{name}" файл үшін алдын ала қарап көру тыйым салынған.', 37 | msgFilePreviewError: '"{name}" файлды оқығанда қате пайда болды.', 38 | msgInvalidFileType: '"{name}" тыйым салынған файл түрі. Тек мынаналарға рұқсат етілген: "{types}"', 39 | msgInvalidFileExtension: '"{name}" тыйым салынған файл кеңейтімі. Тек "{extensions}" рұқсат.', 40 | msgUploadAborted: 'Файлды жүктеу доғарылды', 41 | msgUploadThreshold: 'Өңдеу...', 42 | msgUploadBegin: 'Initializing...', 43 | msgUploadEnd: 'Done', 44 | msgUploadEmpty: 'No valid data available for upload.', 45 | msgUploadError: 'Error', 46 | msgValidationError: 'Тексеру қатесі', 47 | msgLoading: '{index} файлды {files} … жүктеу', 48 | msgProgress: '{index} файлды {files} - {name} - {percent}% жүктеу аяқталды.', 49 | msgSelected: 'Таңдалған файлдар саны: {n}', 50 | msgFoldersNotAllowed: 'Тек файлдарды сүйреу рұқсат! {n} папка өткізілген.', 51 | msgImageWidthSmall: '{name} суреттің ені {size} px. аз болмау керек', 52 | msgImageHeightSmall: '{name} суреттің биіктігі {size} px. аз болмау керек', 53 | msgImageWidthLarge: '"{name}" суреттің ені {size} px. аспау керек', 54 | msgImageHeightLarge: '"{name}" суреттің биіктігі {size} px. аспау керек', 55 | msgImageResizeError: 'Суреттің өлшемін өзгерту үшін, мөлшері алынбады', 56 | msgImageResizeException: 'Суреттің мөлшерлерін өзгерткен кезде қателік пайда болды.
{errors}
', 57 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 58 | msgAjaxProgressError: '{operation} failed', 59 | ajaxOperations: { 60 | deleteThumb: 'file delete', 61 | uploadThumb: 'file upload', 62 | uploadBatch: 'batch file upload', 63 | uploadExtra: 'form data upload' 64 | }, 65 | dropZoneTitle: 'Файлдарды осында сүйреу …', 66 | dropZoneClickTitle: '
(or click to select {files})', 67 | fileActionSettings: { 68 | removeTitle: 'Файлды өшіру', 69 | uploadTitle: 'Файлды жүктеу', 70 | uploadRetryTitle: 'Retry upload', 71 | downloadTitle: 'Download file', 72 | zoomTitle: 'мәліметтерді көру', 73 | dragTitle: 'Орнын ауыстыру', 74 | indicatorNewTitle: 'Жүктелген жоқ', 75 | indicatorSuccessTitle: 'Жүктелген', 76 | indicatorErrorTitle: 'Жүктелу қатесі ', 77 | indicatorLoadingTitle: 'Жүктелу ...' 78 | }, 79 | previewZoomButtonTitles: { 80 | prev: 'Алдыңғы файлды қарау', 81 | next: 'Келесі файлды қарау', 82 | toggleheader: 'Тақырыпты ауыстыру', 83 | fullscreen: 'Толық экран режимін қосу', 84 | borderless: 'Жиексіз режиміне ауысу', 85 | close: 'Толық көрінісін жабу' 86 | } 87 | }; 88 | })(window.jQuery); 89 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/zh-TW.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Chinese Traditional Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author kangqf 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['zh-TW'] = { 16 | fileSingle: '單一檔案', 17 | filePlural: '複選檔案', 18 | browseLabel: '瀏覽 …', 19 | removeLabel: '移除', 20 | removeTitle: '清除選取檔案', 21 | cancelLabel: '取消', 22 | cancelTitle: '取消上傳中檔案', 23 | uploadLabel: '上傳', 24 | uploadTitle: '上傳選取檔案', 25 | msgNo: '沒有', 26 | msgNoFilesSelected: '', 27 | msgCancelled: '取消', 28 | zoomTitle: '詳細資料', 29 | msgPlaceholder: 'Select {files}...', 30 | msgZoomModalHeading: '內容預覽', 31 | msgFileRequired: 'You must select a file to upload.', 32 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 33 | msgSizeTooLarge: '檔案 "{name}" ({size} KB) 大小超過上限 {maxSize} KB.', 34 | msgFilesTooLess: '最少必須選擇 {n} {files} 來上傳. ', 35 | msgFilesTooMany: '上傳的檔案數量 ({n}) 超過最大檔案上傳限制 {m}.', 36 | msgFileNotFound: '檔案 "{name}" 未發現!', 37 | msgFileSecured: '安全限制,禁止讀取檔案 "{name}".', 38 | msgFileNotReadable: '文件 "{name}" 不可讀取.', 39 | msgFilePreviewAborted: '檔案 "{name}" 預覽中止.', 40 | msgFilePreviewError: '讀取 "{name}" 發生錯誤.', 41 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 42 | msgInvalidFileType: '檔案類型錯誤 "{name}". 只能使用 "{types}" 類型的檔案.', 43 | msgInvalidFileExtension: '附檔名錯誤 "{name}". 只能使用 "{extensions}" 的檔案.', 44 | msgFileTypes: { 45 | 'image': 'image', 46 | 'html': 'HTML', 47 | 'text': 'text', 48 | 'video': 'video', 49 | 'audio': 'audio', 50 | 'flash': 'flash', 51 | 'pdf': 'PDF', 52 | 'object': 'object' 53 | }, 54 | msgUploadAborted: '該文件上傳被中止', 55 | msgUploadThreshold: 'Processing...', 56 | msgUploadBegin: 'Initializing...', 57 | msgUploadEnd: 'Done', 58 | msgUploadEmpty: 'No valid data available for upload.', 59 | msgUploadError: 'Error', 60 | msgValidationError: '驗證錯誤', 61 | msgLoading: '載入第 {index} 個檔案,共 {files} …', 62 | msgProgress: '載入第 {index} 個檔案,共 {files} - {name} - {percent}% 成功.', 63 | msgSelected: '{n} {files} 選取', 64 | msgFoldersNotAllowed: '只支援單檔拖曳! 無法使用 {n} 拖拽的資料夹.', 65 | msgImageWidthSmall: '圖檔寬度"{name}"必須至少為{size}像素(px).', 66 | msgImageHeightSmall: '圖檔高度"{name}"必須至少為{size}像素(px).', 67 | msgImageWidthLarge: '圖檔寬度"{name}"不能超過{size}像素(px).', 68 | msgImageHeightLarge: '圖檔高度"{name}"不能超過{size}像素(px).', 69 | msgImageResizeError: '無法獲取的圖像尺寸調整。', 70 | msgImageResizeException: '錯誤而調整圖像大小。
{errors}
', 71 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 72 | msgAjaxProgressError: '{operation} failed', 73 | ajaxOperations: { 74 | deleteThumb: 'file delete', 75 | uploadThumb: 'file upload', 76 | uploadBatch: 'batch file upload', 77 | uploadExtra: 'form data upload' 78 | }, 79 | dropZoneTitle: '拖曳檔案至此 …', 80 | dropZoneClickTitle: '
(or click to select {files})', 81 | fileActionSettings: { 82 | removeTitle: '刪除檔案', 83 | uploadTitle: '上傳檔案', 84 | uploadRetryTitle: 'Retry upload', 85 | downloadTitle: 'Download file', 86 | zoomTitle: '詳細資料', 87 | dragTitle: 'Move / Rearrange', 88 | indicatorNewTitle: '尚未上傳', 89 | indicatorSuccessTitle: '上傳成功', 90 | indicatorErrorTitle: '上傳失敗', 91 | indicatorLoadingTitle: '上傳中 ...' 92 | }, 93 | previewZoomButtonTitles: { 94 | prev: 'View previous file', 95 | next: 'View next file', 96 | toggleheader: 'Toggle header', 97 | fullscreen: 'Toggle full screen', 98 | borderless: 'Toggle borderless mode', 99 | close: 'Close detailed preview' 100 | } 101 | }; 102 | })(window.jQuery); 103 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/fi.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Finnish Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales.fi = { 15 | fileSingle: 'tiedosto', 16 | filePlural: 'tiedostot', 17 | browseLabel: 'Selaa …', 18 | removeLabel: 'Poista', 19 | removeTitle: 'Tyhjännä valitut tiedostot', 20 | cancelLabel: 'Peruuta', 21 | cancelTitle: 'Peruuta lataus', 22 | uploadLabel: 'Lataa', 23 | uploadTitle: 'Lataa valitut tiedostot', 24 | msgNoFilesSelected: '', 25 | msgFileRequired: 'You must select a file to upload.', 26 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 27 | msgSizeTooLarge: 'Tiedosto "{name}" ({size} Kt) ylittää suurimman sallitun tiedoston koon, joka on {maxSize} Kt. Yritä uudelleen!', 28 | msgFilesTooLess: 'Vähintään {n} {files} tiedostoa on valittava ladattavaksi. Ole hyvä ja yritä uudelleen!', 29 | msgFilesTooMany: 'Valittujen tiedostojen lukumäärä ({n}) ylittää suurimman sallitun määrän {m}. Ole hyvä ja yritä uudelleen!', 30 | msgFileNotFound: 'Tiedostoa "{name}" ei löydy!', 31 | msgFileSecured: 'Tietoturvarajoitukset estävät tiedoston "{name}" lukemisen.', 32 | msgFileNotReadable: 'Tiedosto "{name}" ei ole luettavissa.', 33 | msgFilePreviewAborted: 'Tiedoston "{name}" esikatselu keskeytetty.', 34 | msgFilePreviewError: 'Virhe on tapahtunut luettaessa tiedostoa "{name}".', 35 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 36 | msgInvalidFileType: 'Tiedosto "{name}" on väärän tyyppinen. Ainoastaan tiedostot tyyppiä "{types}" ovat tuettuja.', 37 | msgInvalidFileExtension: 'Tiedoston "{name}" tarkenne on epäkelpo. Ainoastaan tarkenteet "{extensions}" ovat tuettuja.', 38 | msgFileTypes: { 39 | 'image': 'Kuva', 40 | 'html': 'HTML', 41 | 'text': 'Teksti', 42 | 'video': 'Video', 43 | 'audio': 'Ääni', 44 | 'flash': 'Flash', 45 | 'pdf': 'PDF', 46 | 'object': 'Olio' 47 | }, 48 | msgUploadThreshold: 'Käsitellään...', 49 | msgUploadBegin: 'Initializing...', 50 | msgUploadEnd: 'Done', 51 | msgUploadEmpty: 'Ei ladattavaa dataa.', 52 | msgUploadError: 'Error', 53 | msgValidationError: 'Tiedoston latausvirhe', 54 | msgLoading: 'Ladataan tiedostoa {index} / {files} …', 55 | msgProgress: 'Ladataan tiedostoa {index} / {files} - {name} - {percent}% valmistunut.', 56 | msgSelected: '{n} tiedostoa valittu', 57 | msgFoldersNotAllowed: 'Raahaa ja pudota ainoastaan tiedostoja! Ohitettu {n} raahattua kansiota.', 58 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 59 | msgAjaxProgressError: '{operation} failed', 60 | ajaxOperations: { 61 | deleteThumb: 'file delete', 62 | uploadThumb: 'file upload', 63 | uploadBatch: 'batch file upload', 64 | uploadExtra: 'form data upload' 65 | }, 66 | dropZoneTitle: 'Raahaa ja pudota tiedostot tähän …', 67 | dropZoneClickTitle: '
(tai valitse hiirellä {files})', 68 | fileActionSettings: { 69 | removeTitle: 'Poista tiedosto', 70 | uploadTitle: 'Upload file', 71 | uploadRetryTitle: 'Retry upload', 72 | downloadTitle: 'Download file', 73 | zoomTitle: 'Yksityiskohdat', 74 | dragTitle: 'Siirrä / Järjestele', 75 | indicatorNewTitle: 'Ei ladattu', 76 | indicatorSuccessTitle: 'Ladattu', 77 | indicatorErrorTitle: 'Lataus epäonnistui', 78 | indicatorLoadingTitle: 'Ladataan ...' 79 | }, 80 | previewZoomButtonTitles: { 81 | prev: 'Seuraava tiedosto', 82 | next: 'Edellinen tiedosto', 83 | toggleheader: 'Näytä otsikko', 84 | fullscreen: 'Kokonäytön tila', 85 | borderless: 'Rajaton tila', 86 | close: 'Sulje esikatselu' 87 | } 88 | }; 89 | 90 | $.extend($.fn.fileinput.defaults, $.fn.fileinputLocales.fi); 91 | })(window.jQuery); 92 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/kr.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Korean Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['kr'] = { 15 | fileSingle: '파일', 16 | filePlural: '파일들', 17 | browseLabel: '찾기 …', 18 | removeLabel: '지우기', 19 | removeTitle: '선택한 파일들 지우기', 20 | cancelLabel: '취소', 21 | cancelTitle: '업로드 중단하기', 22 | uploadLabel: '업로드', 23 | uploadTitle: '선택한 파일 업로드하기', 24 | msgNo: '아니요', 25 | msgNoFilesSelected: '선택한 파일이 없습니다.', 26 | msgCancelled: '취소되었습니다.', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: '자세한 미리보기', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: '파일 "{name}" ({size} KB)이 너무 작습니다. {minSize} KB보다 용량이 커야 합니다..', 31 | msgSizeTooLarge: '파일 "{name}" ({size} KB)이 너무 큽니다. 허용 파일 사이즈는 {maxSize} KB.입니다.', 32 | msgFilesTooLess: '업로드하기 위해 최소 {n} {files}개의 파일을 선택해야 합니다.', 33 | msgFilesTooMany: '선택한 파일의 수 ({n})가 업로드 허용 최고치인 {m}를 넘었습니다..', 34 | msgFileNotFound: '파일 "{name}"을 찾을 수 없습니다.!', 35 | msgFileSecured: '보안상의 이유로 파일 "{name}"을/를 읽을 수 없습니다..', 36 | msgFileNotReadable: '파일 "{name}"은/는 읽을 수 없습니다.', 37 | msgFilePreviewAborted: '파일 "{name}"의 미리보기가 중단되었습니다.', 38 | msgFilePreviewError: '파일 "{name}"을/를 읽다가 에러가 발생했습니다.', 39 | msgInvalidFileName: '파일 "{name}" 중 지원 불가능한 문자가 포함되어 있습니다.', 40 | msgInvalidFileType: '파일 "{name}"의 타입은 지원하지 않습니다. "{types}" 타입의 파일을 선택해 주십시요.', 41 | msgInvalidFileExtension: '파일 "{name}"의 익스텐션은 지원하지 않습니다. "{extensions}" 타입의 익스텐션을 선택해 주십시요.', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: '파일 업로드가 중단되었습니다.', 53 | msgUploadThreshold: '업로드 중...', 54 | msgUploadBegin: 'Initializing...', 55 | msgUploadEnd: 'Done', 56 | msgUploadEmpty: '업로드 가능 데이터가 존재하지 않습니다.', 57 | msgUploadError: 'Error', 58 | msgValidationError: '유효성 오류', 59 | msgLoading: '파일 {files} 중 {index}번째를 로딩하고 있습니다. …', 60 | msgProgress: '파일 {files}의 {name}이 {percent}% 로딩되었습니다. ', 61 | msgSelected: '{n} {files}이 선택 되었습니다.', 62 | msgFoldersNotAllowed: '드래그 앤 드랍 파일만 가능합니다! 드랍한 {n}번째 폴더를 건너 뛰었습니다.', 63 | msgImageWidthSmall: '이미지 파일 "{name}"의 가로는 최소 {size} px가 되어야 합니다.', 64 | msgImageHeightSmall: '이미지 파일 "{name}"의 세로는 최소 {size} px가 되어야 합니다.', 65 | msgImageWidthLarge: '이미지 파일 "{name}"의 가로는 최대 {size} px를 넘을수 없습니다.', 66 | msgImageHeightLarge: '이미지 파일 "{name}"의 세로는 최대 {size} px를 넘을수 없습니다.', 67 | msgImageResizeError: '이미지의 사이즈를 재조정을 위한 이미지 사이즈를 가져올 수 없습니다.', 68 | msgImageResizeException: '이미지 사이즈 재조정이 다음 이유로 실패했습니다.
{errors}
', 69 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 70 | msgAjaxProgressError: '{operation} failed', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: '파일을 여기에 드래그인 드랍을 하십시요 …', 78 | dropZoneClickTitle: '
(또는 {files} 선택을 위해 클릭하십시요)', 79 | fileActionSettings: { 80 | removeTitle: '파일 지우기', 81 | uploadTitle: '파일 업로드 하기', 82 | uploadRetryTitle: 'Retry upload', 83 | downloadTitle: 'Download file', 84 | zoomTitle: '세부 정보 보기', 85 | dragTitle: '옭기기 / 재배열하기', 86 | indicatorNewTitle: '아직 업로드가 안되었습니다.', 87 | indicatorSuccessTitle: '업로드가 성공하였습니다.', 88 | indicatorErrorTitle: '업로드 중 에러가 발행했습니다.', 89 | indicatorLoadingTitle: '업로드 중 ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: '전 파일 보기', 93 | next: '다음 파일 보기', 94 | toggleheader: '머릿글 토글하기', 95 | fullscreen: '전채화면 토글하기', 96 | borderless: '무 테두리 토글하기', 97 | close: '세부 정보 미리보기 토글하기' 98 | } 99 | }; 100 | })(window.jQuery); 101 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/et.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Estonian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['et'] = { 15 | fileSingle: 'fail', 16 | filePlural: 'failid', 17 | browseLabel: 'Sirvi …', 18 | removeLabel: 'Eemalda', 19 | removeTitle: 'Clear selected files', 20 | cancelLabel: 'Tühista', 21 | cancelTitle: 'Abort ongoing upload', 22 | uploadLabel: 'Salvesta', 23 | uploadTitle: 'Salvesta valitud failid', 24 | msgNo: 'No', 25 | msgNoFilesSelected: 'No files selected', 26 | msgCancelled: 'Cancelled', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'Detailed Preview', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 31 | msgSizeTooLarge: 'Fail "{name}" ({size} KB) ületab lubatu suuruse {maxSize} KB.', 32 | msgFilesTooLess: 'You must select at least {n} {files} to upload.', 33 | msgFilesTooMany: 'Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}.', 34 | msgFileNotFound: 'File "{name}" not found!', 35 | msgFileSecured: 'Security restrictions prevent reading the file "{name}".', 36 | msgFileNotReadable: 'File "{name}" is not readable.', 37 | msgFilePreviewAborted: 'File preview aborted for "{name}".', 38 | msgFilePreviewError: 'An error occurred while reading the file "{name}".', 39 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 40 | msgInvalidFileType: '"{name}" on vale tüüpi. Ainult "{types}" on lubatud.', 41 | msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'The file upload was aborted', 53 | msgUploadThreshold: 'Processing...', 54 | msgUploadBegin: 'Initializing...', 55 | msgUploadEnd: 'Done', 56 | msgUploadEmpty: 'No valid data available for upload.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'Validation Error', 59 | msgLoading: 'Loading file {index} of {files} …', 60 | msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.', 61 | msgSelected: '{n} {files} selected', 62 | msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).', 63 | msgImageWidthSmall: 'Pildi laius peab olema vähemalt {size} px.', 64 | msgImageHeightSmall: 'Pildi kõrgus peab olema vähemalt {size} px.', 65 | msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.', 66 | msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.', 67 | msgImageResizeError: 'Could not get the image dimensions to resize.', 68 | msgImageResizeException: 'Error while resizing the image.
{errors}
', 69 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 70 | msgAjaxProgressError: '{operation} failed', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Lohista failid siia …', 78 | dropZoneClickTitle: '
(or click to select {files})', 79 | fileActionSettings: { 80 | removeTitle: 'Eemalda fail', 81 | uploadTitle: 'Salvesta fail', 82 | uploadRetryTitle: 'Retry upload', 83 | zoomTitle: 'Vaata detaile', 84 | dragTitle: 'Liiguta / Korralda', 85 | indicatorNewTitle: 'Pole veel salvestatud', 86 | indicatorSuccessTitle: 'Uploaded', 87 | indicatorErrorTitle: 'Salvestamise viga', 88 | indicatorLoadingTitle: 'Salvestan ...' 89 | }, 90 | previewZoomButtonTitles: { 91 | prev: 'View previous file', 92 | next: 'View next file', 93 | toggleheader: 'Toggle header', 94 | fullscreen: 'Toggle full screen', 95 | borderless: 'Toggle borderless mode', 96 | close: 'Close detailed preview' 97 | } 98 | }; 99 | })(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/sl.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Slovenian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author kv1dr 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['sl'] = { 16 | fileSingle: 'datoteka', 17 | filePlural: 'datotek', 18 | browseLabel: 'Prebrskaj …', 19 | removeLabel: 'Odstrani', 20 | removeTitle: 'Počisti izbrane datoteke', 21 | cancelLabel: 'Prekliči', 22 | cancelTitle: 'Prekliči nalaganje', 23 | uploadLabel: 'Naloži', 24 | uploadTitle: 'Naloži izbrane datoteke', 25 | msgNo: 'Ne', 26 | msgNoFilesSelected: 'Nobena datoteka ni izbrana', 27 | msgCancelled: 'Preklicano', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: 'Podroben predogled', 30 | msgSizeTooLarge: 'Datoteka "{name}" ({size} KB) presega največjo dovoljeno velikost za nalaganje {maxSize} KB.', 31 | msgFilesTooLess: 'Za nalaganje morate izbrati vsaj {n} {files}.', 32 | msgFilesTooMany: 'Število datotek, izbranih za nalaganje ({n}) je prekoračilo največjo dovoljeno število {m}.', 33 | msgFileNotFound: 'Datoteka "{name}" ni bila najdena!', 34 | msgFileSecured: 'Zaradi varnostnih omejitev nisem mogel prebrati datoteko "{name}".', 35 | msgFileNotReadable: 'Datoteka "{name}" ni berljiva.', 36 | msgFilePreviewAborted: 'Predogled datoteke "{name}" preklican.', 37 | msgFilePreviewError: 'Pri branju datoteke "{name}" je prišlo do napake.', 38 | msgInvalidFileType: 'Napačen tip datoteke "{name}". Samo "{types}" datoteke so podprte.', 39 | msgInvalidFileExtension: 'Napačna končnica datoteke "{name}". Samo "{extensions}" datoteke so podprte.', 40 | msgFileTypes: { 41 | 'image': 'image', 42 | 'html': 'HTML', 43 | 'text': 'text', 44 | 'video': 'video', 45 | 'audio': 'audio', 46 | 'flash': 'flash', 47 | 'pdf': 'PDF', 48 | 'object': 'object' 49 | }, 50 | msgUploadAborted: 'Nalaganje datoteke je bilo preklicano', 51 | msgUploadThreshold: 'Procesiram...', 52 | msgUploadBegin: 'Initializing...', 53 | msgUploadEnd: 'Done', 54 | msgUploadEmpty: 'No valid data available for upload.', 55 | msgUploadError: 'Error', 56 | msgValidationError: 'Napaki pri validiranju', 57 | msgLoading: 'Nalaganje datoteke {index} od {files} …', 58 | msgProgress: 'Nalaganje datoteke {index} od {files} - {name} - {percent}% dokončano.', 59 | msgSelected: '{n} {files} izbrano', 60 | msgFoldersNotAllowed: 'Povlecite in spustite samo datoteke! Izpuščenih je bilo {n} map.', 61 | msgImageWidthSmall: 'Širina slike "{name}" mora biti vsaj {size} px.', 62 | msgImageHeightSmall: 'Višina slike "{name}" mora biti vsaj {size} px.', 63 | msgImageWidthLarge: 'Širina slike "{name}" ne sme preseči {size} px.', 64 | msgImageHeightLarge: 'Višina slike "{name}" ne sme preseči {size} px.', 65 | msgImageResizeError: 'Nisem mogel pridobiti dimenzij slike za spreminjanje velikosti.', 66 | msgImageResizeException: 'Napaka pri spreminjanju velikosti slike.
{errors}
', 67 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 68 | msgAjaxProgressError: '{operation} failed', 69 | ajaxOperations: { 70 | deleteThumb: 'file delete', 71 | uploadThumb: 'file upload', 72 | uploadBatch: 'batch file upload', 73 | uploadExtra: 'form data upload' 74 | }, 75 | dropZoneTitle: 'Povlecite in spustite datoteke sem …', 76 | dropZoneClickTitle: '
(ali kliknite sem za izbiro {files})', 77 | fileActionSettings: { 78 | removeTitle: 'Odstrani datoteko', 79 | uploadTitle: 'Naloži datoteko', 80 | uploadRetryTitle: 'Retry upload', 81 | downloadTitle: 'Download file', 82 | zoomTitle: 'Poglej podrobnosti', 83 | dragTitle: 'Premaki / Razporedi', 84 | indicatorNewTitle: 'Še ni naloženo', 85 | indicatorSuccessTitle: 'Naloženo', 86 | indicatorErrorTitle: 'Napaka pri nalaganju', 87 | indicatorLoadingTitle: 'Nalagam ...' 88 | }, 89 | previewZoomButtonTitles: { 90 | prev: 'Poglej prejšno datoteko', 91 | next: 'Poglej naslednjo datoteko', 92 | toggleheader: 'Preklopi glavo', 93 | fullscreen: 'Preklopi celozaslonski način', 94 | borderless: 'Preklopi način brez robov', 95 | close: 'Zapri predogled podrobnosti' 96 | } 97 | }; 98 | })(window.jQuery); 99 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/pl.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Polish Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['pl'] = { 15 | fileSingle: 'plik', 16 | filePlural: 'pliki', 17 | browseLabel: 'Przeglądaj …', 18 | removeLabel: 'Usuń', 19 | removeTitle: 'Usuń zaznaczone pliki', 20 | cancelLabel: 'Przerwij', 21 | cancelTitle: 'Anuluj wysyłanie', 22 | uploadLabel: 'Wgraj', 23 | uploadTitle: 'Wgraj zaznaczone pliki', 24 | msgNo: 'Nie', 25 | msgNoFilesSelected: 'Brak zaznaczonych plików', 26 | msgCancelled: 'Odwołany', 27 | msgPlaceholder: 'Wybierz {files}...', 28 | msgZoomModalHeading: 'Szczegółowy podgląd', 29 | msgFileRequired: 'Musisz wybrać plik do wgrania.', 30 | msgSizeTooSmall: 'Plik "{name}" ({size} KB) jest zbyt mały i musi być większy niż {minSize} KB.', 31 | msgSizeTooLarge: 'Plik o nazwie "{name}" ({size} KB) przekroczył maksymalną dopuszczalną wielkość pliku wynoszącą {maxSize} KB.', 32 | msgFilesTooLess: 'Minimalna liczba plików do wgrania: {n}.', 33 | msgFilesTooMany: 'Liczba plików wybranych do wgrania w liczbie ({n}), przekracza maksymalny dozwolony limit wynoszący {m}.', 34 | msgFileNotFound: 'Plik "{name}" nie istnieje!', 35 | msgFileSecured: 'Ustawienia zabezpieczeń uniemożliwiają odczyt pliku "{name}".', 36 | msgFileNotReadable: 'Plik "{name}" nie jest plikiem do odczytu.', 37 | msgFilePreviewAborted: 'Podgląd pliku "{name}" został przerwany.', 38 | msgFilePreviewError: 'Wystąpił błąd w czasie odczytu pliku "{name}".', 39 | msgInvalidFileName: 'Nieprawidłowe lub nieobsługiwane znaki w nazwie pliku "{name}".', 40 | msgInvalidFileType: 'Nieznany typ pliku "{name}". Tylko następujące rodzaje plików są dozwolone: "{types}".', 41 | msgInvalidFileExtension: 'Złe rozszerzenie dla pliku "{name}". Tylko następujące rozszerzenia plików są dozwolone: "{extensions}".', 42 | msgUploadAborted: 'Przesyłanie pliku zostało przerwane', 43 | msgUploadThreshold: 'Przetwarzanie...', 44 | msgUploadBegin: 'Rozpoczynanie...', 45 | msgUploadEnd: 'Gotowe!', 46 | msgUploadEmpty: 'Brak poprawnych danych do przesłania.', 47 | msgUploadError: 'Błąd', 48 | msgValidationError: 'Błąd walidacji', 49 | msgLoading: 'Wczytywanie pliku {index} z {files} …', 50 | msgProgress: 'Wczytywanie pliku {index} z {files} - {name} - {percent}% zakończone.', 51 | msgSelected: '{n} Plików zaznaczonych', 52 | msgFoldersNotAllowed: 'Metodą przeciągnij i upuść, można przenosić tylko pliki. Pominięto {n} katalogów.', 53 | msgImageWidthSmall: 'Szerokość pliku obrazu "{name}" musi być co najmniej {size} px.', 54 | msgImageHeightSmall: 'Wysokość pliku obrazu "{name}" musi być co najmniej {size} px.', 55 | msgImageWidthLarge: 'Szerokość pliku obrazu "{name}" nie może przekraczać {size} px.', 56 | msgImageHeightLarge: 'Wysokość pliku obrazu "{name}" nie może przekraczać {size} px.', 57 | msgImageResizeError: 'Nie udało się uzyskać wymiaru obrazu, aby zmienić rozmiar.', 58 | msgImageResizeException: 'Błąd podczas zmiany rozmiaru obrazu.
{errors}
', 59 | msgAjaxError: 'Coś poczło nie tak podczas {operation}. Spróbuj ponownie!', 60 | msgAjaxProgressError: '{operation} nie powiodło się', 61 | ajaxOperations: { 62 | deleteThumb: 'usuwanie pliku', 63 | uploadThumb: 'przesyłanie pliku', 64 | uploadBatch: 'masowe przesyłanie plików', 65 | uploadExtra: 'przesyłanie danych formularza' 66 | }, 67 | dropZoneTitle: 'Przeciągnij i upuść pliki tutaj …', 68 | dropZoneClickTitle: '
(lub kliknij tutaj i wybierz {files} z komputera)', 69 | fileActionSettings: { 70 | removeTitle: 'Usuń plik', 71 | uploadTitle: 'Przesyłanie pliku', 72 | uploadRetryTitle: 'Ponów', 73 | downloadTitle: 'Pobierz plik', 74 | zoomTitle: 'Pokaż szczegóły', 75 | dragTitle: 'Przenies / Ponownie zaaranżuj', 76 | indicatorNewTitle: 'Jeszcze nie przesłany', 77 | indicatorSuccessTitle: 'Dodane', 78 | indicatorErrorTitle: 'Błąd', 79 | indicatorLoadingTitle: 'Przesyłanie ...' 80 | }, 81 | previewZoomButtonTitles: { 82 | prev: 'Pokaż poprzedni plik', 83 | next: 'Pokaż następny plik', 84 | toggleheader: 'Włącz / wyłącz nagłówek', 85 | fullscreen: 'Włącz / wyłącz pełny ekran', 86 | borderless: 'Włącz / wyłącz tryb bez ramek', 87 | close: 'Zamknij szczegółowy widok' 88 | } 89 | }; 90 | })(window.jQuery); 91 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/ar.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Arabic Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author Yasser Lotfy 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['ar'] = { 16 | fileSingle: 'ملف', 17 | filePlural: 'ملفات', 18 | browseLabel: 'تصفح …', 19 | removeLabel: 'إزالة', 20 | removeTitle: 'إزالة الملفات المختارة', 21 | cancelLabel: 'إلغاء', 22 | cancelTitle: 'إنهاء الرفع الحالي', 23 | uploadLabel: 'رفع', 24 | uploadTitle: 'رفع الملفات المختارة', 25 | msgNo: 'لا', 26 | msgNoFilesSelected: '', 27 | msgCancelled: 'ألغيت', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: 'معاينة تفصيلية', 30 | msgFileRequired: 'You must select a file to upload.', 31 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 32 | msgSizeTooLarge: 'الملف "{name}" ({size} ك.ب) تعدى الحد الأقصى المسموح للرفع {maxSize} ك.ب.', 33 | msgFilesTooLess: 'يجب عليك اختيار {n} {files} على الأقل للرفع.', 34 | msgFilesTooMany: 'عدد الملفات المختارة للرفع ({n}) تعدت الحد الأقصى المسموح به لعدد {m}.', 35 | msgFileNotFound: 'الملف "{name}" غير موجود!', 36 | msgFileSecured: 'قيود أمنية تمنع قراءة الملف "{name}".', 37 | msgFileNotReadable: 'الملف "{name}" غير قابل للقراءة.', 38 | msgFilePreviewAborted: 'تم إلغاء معاينة الملف "{name}".', 39 | msgFilePreviewError: 'حدث خطأ أثناء قراءة الملف "{name}".', 40 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 41 | msgInvalidFileType: 'نوعية غير صالحة للملف "{name}". فقط هذه النوعيات مدعومة "{types}".', 42 | msgInvalidFileExtension: 'امتداد غير صالح للملف "{name}". فقط هذه الملفات مدعومة "{extensions}".', 43 | msgFileTypes: { 44 | 'image': 'image', 45 | 'html': 'HTML', 46 | 'text': 'text', 47 | 'video': 'video', 48 | 'audio': 'audio', 49 | 'flash': 'flash', 50 | 'pdf': 'PDF', 51 | 'object': 'object' 52 | }, 53 | msgUploadAborted: 'تم إلغاء رفع الملف', 54 | msgUploadThreshold: 'Processing...', 55 | msgUploadBegin: 'Initializing...', 56 | msgUploadEnd: 'Done', 57 | msgUploadEmpty: 'No valid data available for upload.', 58 | msgUploadError: 'Error', 59 | msgValidationError: 'خطأ التحقق من صحة', 60 | msgLoading: 'تحميل ملف {index} من {files} …', 61 | msgProgress: 'تحميل ملف {index} من {files} - {name} - {percent}% منتهي.', 62 | msgSelected: '{n} {files} مختار(ة)', 63 | msgFoldersNotAllowed: 'اسحب وأفلت الملفات فقط! تم تخطي {n} مجلد(ات).', 64 | msgImageWidthSmall: 'عرض ملف الصورة "{name}" يجب أن يكون على الأقل {size} px.', 65 | msgImageHeightSmall: 'طول ملف الصورة "{name}" يجب أن يكون على الأقل {size} px.', 66 | msgImageWidthLarge: 'عرض ملف الصورة "{name}" لا يمكن أن يتعدى {size} px.', 67 | msgImageHeightLarge: 'طول ملف الصورة "{name}" لا يمكن أن يتعدى {size} px.', 68 | msgImageResizeError: 'لم يتمكن من معرفة أبعاد الصورة لتغييرها.', 69 | msgImageResizeException: 'حدث خطأ أثناء تغيير أبعاد الصورة.
{errors}
', 70 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 71 | msgAjaxProgressError: '{operation} failed', 72 | ajaxOperations: { 73 | deleteThumb: 'file delete', 74 | uploadThumb: 'file upload', 75 | uploadBatch: 'batch file upload', 76 | uploadExtra: 'form data upload' 77 | }, 78 | dropZoneTitle: 'اسحب وأفلت الملفات هنا …', 79 | dropZoneClickTitle: '
(or click to select {files})', 80 | fileActionSettings: { 81 | removeTitle: 'إزالة الملف', 82 | uploadTitle: 'رفع الملف', 83 | uploadRetryTitle: 'Retry upload', 84 | downloadTitle: 'Download file', 85 | zoomTitle: 'مشاهدة التفاصيل', 86 | dragTitle: 'Move / Rearrange', 87 | indicatorNewTitle: 'لم يتم الرفع بعد', 88 | indicatorSuccessTitle: 'تم الرفع', 89 | indicatorErrorTitle: 'خطأ بالرفع', 90 | indicatorLoadingTitle: 'جارٍ الرفع ...' 91 | }, 92 | previewZoomButtonTitles: { 93 | prev: 'View previous file', 94 | next: 'View next file', 95 | toggleheader: 'Toggle header', 96 | fullscreen: 'Toggle full screen', 97 | borderless: 'Toggle borderless mode', 98 | close: 'Close detailed preview' 99 | } 100 | }; 101 | })(window.jQuery); 102 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/sv.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput <_LANG_> Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['sv'] = { 15 | fileSingle: 'fil', 16 | filePlural: 'filer', 17 | browseLabel: 'Bläddra …', 18 | removeLabel: 'Ta bort', 19 | removeTitle: 'Rensa valda filer', 20 | cancelLabel: 'Avbryt', 21 | cancelTitle: 'Avbryt pågående uppladdning', 22 | uploadLabel: 'Ladda upp', 23 | uploadTitle: 'Ladda upp valda filer', 24 | msgNo: 'Nej', 25 | msgNoFilesSelected: 'Inga filer valda', 26 | msgCancelled: 'Avbruten', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'detaljerad förhandsgranskning', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'Filen "{name}" ({size} KB) är för liten och måste vara större än {minSize} KB.', 31 | msgSizeTooLarge: 'File "{name}" ({size} KB) överstiger högsta tillåtna uppladdningsstorlek {maxSize} KB.', 32 | msgFilesTooLess: 'Du måste välja minst {n} {files} för att ladda upp.', 33 | msgFilesTooMany: 'Antal filer valda för uppladdning ({n}) överstiger högsta tillåtna gränsen {m}.', 34 | msgFileNotFound: 'Filen "{name}" kunde inte hittas!', 35 | msgFileSecured: 'Säkerhetsbegränsningar förhindrar att läsa filen "{name}".', 36 | msgFileNotReadable: 'Filen "{name}" är inte läsbar.', 37 | msgFilePreviewAborted: 'Filförhandsvisning avbröts för "{name}".', 38 | msgFilePreviewError: 'Ett fel uppstod vid inläsning av filen "{name}".', 39 | msgInvalidFileName: 'Ogiltiga eller tecken som inte stöds i filnamnet "{name}".', 40 | msgInvalidFileType: 'Ogiltig typ för filen "{name}". Endast "{types}" filtyper stöds.', 41 | msgInvalidFileExtension: 'Ogiltigt filtillägg för filen "{name}". Endast "{extensions}" filer stöds.', 42 | msgFileTypes: { 43 | 'image': 'bild', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'ljud', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'objekt' 51 | }, 52 | msgUploadAborted: 'Filöverföringen avbröts', 53 | msgUploadThreshold: 'Bearbetar...', 54 | msgUploadBegin: 'Påbörjar...', 55 | msgUploadEnd: 'Färdig', 56 | msgUploadEmpty: 'Ingen giltig data tillgänglig för uppladdning.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'Valideringsfel', 59 | msgLoading: 'Laddar fil {index} av {files} …', 60 | msgProgress: 'Laddar fil {index} av {files} - {name} - {percent}% färdig.', 61 | msgSelected: '{n} {files} valda', 62 | msgFoldersNotAllowed: 'Endast drag & släppfiler! Skippade {n} släpta mappar.', 63 | msgImageWidthSmall: 'Bredd på bildfilen "{name}" måste minst vara {size} pixlar.', 64 | msgImageHeightSmall: 'Höjden på bildfilen "{name}" måste minst vara {size} pixlar.', 65 | msgImageWidthLarge: 'Bredd på bildfil "{name}" kan inte överstiga {size} pixlar.', 66 | msgImageHeightLarge: 'Höjden på bildfilen "{name}" kan inte överstiga {size} pixlar.', 67 | msgImageResizeError: 'Det gick inte att hämta bildens dimensioner för att ändra storlek.', 68 | msgImageResizeException: 'Fel vid storleksändring av bilden.
{errors}
', 69 | msgAjaxError: 'Något gick fel med {operation} operationen. Försök igen senare!', 70 | msgAjaxProgressError: '{operation} misslyckades', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Drag & släpp filer här …', 78 | dropZoneClickTitle: '
(eller klicka för att markera {files})', 79 | fileActionSettings: { 80 | removeTitle: 'Ta bort fil', 81 | uploadTitle: 'Ladda upp fil', 82 | uploadRetryTitle: 'Retry upload', 83 | zoomTitle: 'Visa detaljer', 84 | dragTitle: 'Flytta / Ändra ordning', 85 | indicatorNewTitle: 'Inte uppladdat ännu', 86 | indicatorSuccessTitle: 'Uppladdad', 87 | indicatorErrorTitle: 'Uppladdningsfel', 88 | indicatorLoadingTitle: 'Laddar upp...' 89 | }, 90 | previewZoomButtonTitles: { 91 | prev: 'Visa föregående fil', 92 | next: 'Visa nästa fil', 93 | toggleheader: 'Rubrik', 94 | fullscreen: 'Fullskärm', 95 | borderless: 'Gränslös', 96 | close: 'Stäng detaljerad förhandsgranskning' 97 | } 98 | }; 99 | })(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/no.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Norwegian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['no'] = { 15 | fileSingle: 'fil', 16 | filePlural: 'filer', 17 | browseLabel: 'Bla gjennom …', 18 | removeLabel: 'Fjern', 19 | removeTitle: 'Fjern valgte filer', 20 | cancelLabel: 'Avbryt', 21 | cancelTitle: 'Stopp pågående opplastninger', 22 | uploadLabel: 'Last opp', 23 | uploadTitle: 'Last opp valgte filer', 24 | msgNo: 'Nei', 25 | msgNoFilesSelected: 'Ingen filer er valgt', 26 | msgCancelled: 'Avbrutt', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'Detaljert visning', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'Filen "{name}" ({size} KB) er for liten og må være større enn {minSize} KB.', 31 | msgSizeTooLarge: 'Filen "{name}" ({size} KB) er for stor, maksimal filstørrelse er {maxSize} KB.', 32 | msgFilesTooLess: 'Du må velge minst {n} {files} for opplastning.', 33 | msgFilesTooMany: 'For mange filer til opplastning, ({n}) overstiger maksantallet som er {m}.', 34 | msgFileNotFound: 'Fant ikke filen "{name}"!', 35 | msgFileSecured: 'Sikkerhetsrestriksjoner hindrer lesing av filen "{name}".', 36 | msgFileNotReadable: 'Filen "{name}" er ikke lesbar.', 37 | msgFilePreviewAborted: 'Filvisning avbrutt for "{name}".', 38 | msgFilePreviewError: 'En feil oppstod under lesing av filen "{name}".', 39 | msgInvalidFileName: 'Ugyldige tegn i filen "{name}".', 40 | msgInvalidFileType: 'Ugyldig type for filen "{name}". Kun "{types}" filer er tillatt.', 41 | msgInvalidFileExtension: 'Ugyldig endelse for filen "{name}". Kun "{extensions}" filer støttes.', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'Filopplastningen ble avbrutt', 53 | msgUploadThreshold: 'Prosesserer...', 54 | msgUploadBegin: 'Initialiserer...', 55 | msgUploadEnd: 'Ferdig', 56 | msgUploadEmpty: 'Ingen gyldige data tilgjengelig for opplastning.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'Valideringsfeil', 59 | msgLoading: 'Laster fil {index} av {files} …', 60 | msgProgress: 'Laster fil {index} av {files} - {name} - {percent}% fullført.', 61 | msgSelected: '{n} {files} valgt', 62 | msgFoldersNotAllowed: 'Kun Dra & slipp filer! Hoppet over {n} mappe(r).', 63 | msgImageWidthSmall: 'Bredde på bildefilen "{name}" må være minst {size} px.', 64 | msgImageHeightSmall: 'Høyde på bildefilen "{name}" må være minst {size} px.', 65 | msgImageWidthLarge: 'Bredde på bildefilen "{name}" kan ikke overstige {size} px.', 66 | msgImageHeightLarge: 'Høyde på bildefilen "{name}" kan ikke overstige {size} px.', 67 | msgImageResizeError: 'Fant ikke dimensjonene som skulle resizes.', 68 | msgImageResizeException: 'En feil oppstod under endring av størrelse .
{errors}
', 69 | msgAjaxError: 'Noe gikk galt med {operation} operasjonen. Vennligst prøv igjen senere!', 70 | msgAjaxProgressError: '{operation} feilet', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Dra & slipp filer her …', 78 | dropZoneClickTitle: '
(eller klikk for å velge {files})', 79 | fileActionSettings: { 80 | removeTitle: 'Fjern fil', 81 | uploadTitle: 'Last opp fil', 82 | uploadRetryTitle: 'Retry upload', 83 | zoomTitle: 'Vis detaljer', 84 | dragTitle: 'Flytt / endre rekkefølge', 85 | indicatorNewTitle: 'Opplastning ikke fullført', 86 | indicatorSuccessTitle: 'Opplastet', 87 | indicatorErrorTitle: 'Opplastningsfeil', 88 | indicatorLoadingTitle: 'Laster opp ...' 89 | }, 90 | previewZoomButtonTitles: { 91 | prev: 'Vis forrige fil', 92 | next: 'Vis neste fil', 93 | toggleheader: 'Vis header', 94 | fullscreen: 'Åpne fullskjerm', 95 | borderless: 'Åpne uten kanter', 96 | close: 'Lukk detaljer' 97 | } 98 | }; 99 | })(window.jQuery); 100 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/th.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Thai Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['th'] = { 15 | fileSingle: 'ไฟล์', 16 | filePlural: 'ไฟล์', 17 | browseLabel: 'เลือกดู …', 18 | removeLabel: 'ลบทิ้ง', 19 | removeTitle: 'ลบไฟล์ที่เลือกทิ้ง', 20 | cancelLabel: 'ยกเลิก', 21 | cancelTitle: 'ยกเลิกการอัพโหลด', 22 | uploadLabel: 'อัพโหลด', 23 | uploadTitle: 'อัพโหลดไฟล์ที่เลือก', 24 | msgNo: 'ไม่', 25 | msgNoFilesSelected: '', 26 | msgCancelled: 'ยกเลิก', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'ตัวอย่างละเอียด', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 31 | msgSizeTooLarge: 'ไฟล์ "{name}" ({size} KB) มีขนาดเกินที่ระบบอนุญาตที่ {maxSize} KB, กรุณาลองใหม่อีกครั้ง!', 32 | msgFilesTooLess: 'คุณต้องเลือกไฟล์จำนวนอย่างน้อย {n} {files} เพื่ออัพโหลด, กรุณาลองใหม่อีกครั้ง!', 33 | msgFilesTooMany: 'ไฟล์ที่คุณเลือกมีจำนวน ({n}) ซึ่งเกินกว่าที่ระบบอนุญาตที่ {m}, กรุณาลองใหม่อีกครั้ง!', 34 | msgFileNotFound: 'ไม่พบไฟล์ "{name}" !', 35 | msgFileSecured: 'ระบบความปลอดภัยไม่อนุญาตให้อ่านไฟล์ "{name}".', 36 | msgFileNotReadable: 'ไม่สามารถอ่านไฟล์ "{name}" ได้', 37 | msgFilePreviewAborted: 'ไฟล์ "{name}" ไม่อนุญาตให้ดูตัวอย่าง', 38 | msgFilePreviewError: 'พบปัญหาในการดูตัวอย่างไฟล์ "{name}".', 39 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 40 | msgInvalidFileType: 'ไฟล์ "{name}" เป็นประเภทไฟล์ที่ไม่ถูกต้อง, อนุญาตเฉพาะไฟล์ประเภท "{types}"', 41 | msgInvalidFileExtension: 'ไฟล์ "{name}" เป็น extension ที่ไมถูกต้อง, อนุญาตเฉพาะไฟล์ extension "{extensions}"', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'อัปโหลดไฟล์ถูกยกเลิก', 53 | msgUploadThreshold: 'Processing...', 54 | msgUploadBegin: 'Initializing...', 55 | msgUploadEnd: 'Done', 56 | msgUploadEmpty: 'No valid data available for upload.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'ข้อผิดพลาดในการตรวจสอบ', 59 | msgLoading: 'กำลังโหลดไฟล์ {index} จาก {files} …', 60 | msgProgress: 'กำลังโหลดไฟล์ {index} จาก {files} - {name} - {percent}%', 61 | msgSelected: '{n} {files} ถูกเลือก', 62 | msgFoldersNotAllowed: 'Drag & drop เฉพาะไฟล์เท่านั้น! ข้าม dropped folder จำนวน {n}', 63 | msgImageWidthSmall: 'ความกว้างของภาพไฟล์ "{name}" ต้องมีอย่างน้อย {size} px.', 64 | msgImageHeightSmall: 'ความสูงของภาพไฟล์ "{name}" ต้องมีอย่างน้อย {size} px.', 65 | msgImageWidthLarge: 'ความกว้างของภาพไฟล์ "{name}" ไม่เกิน {size} พิกเซล.', 66 | msgImageHeightLarge: 'ความสูงของไฟล์ภาพ "{name}" ไม่เกิน {size} พิกเซล.', 67 | msgImageResizeError: 'ไม่สามารถรับขนาดภาพเพื่อปรับขนาด', 68 | msgImageResizeException: 'ข้อผิดพลาดขณะปรับขนาดภาพ
{errors}
', 69 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 70 | msgAjaxProgressError: '{operation} failed', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Drag & drop ไฟล์ตรงนี้ …', 78 | dropZoneClickTitle: '
(or click to select {files})', 79 | fileActionSettings: { 80 | removeTitle: 'ลบไฟล์', 81 | uploadTitle: 'อัปโหลดไฟล์', 82 | uploadRetryTitle: 'Retry upload', 83 | downloadTitle: 'Download file', 84 | zoomTitle: 'ดูรายละเอียด', 85 | dragTitle: 'Move / Rearrange', 86 | indicatorNewTitle: 'ยังไม่ได้อัปโหลด', 87 | indicatorSuccessTitle: 'อัพโหลด', 88 | indicatorErrorTitle: 'อัปโหลดข้อผิดพลาด', 89 | indicatorLoadingTitle: 'อัพโหลด ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: 'View previous file', 93 | next: 'View next file', 94 | toggleheader: 'Toggle header', 95 | fullscreen: 'Toggle full screen', 96 | borderless: 'Toggle borderless mode', 97 | close: 'Close detailed preview' 98 | } 99 | }; 100 | })(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/ja.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Japanese Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author Yuta Hoshina 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | * slugCallback 12 | * \u4e00-\u9fa5 : Kanji (Chinese characters) 13 | * \u3040-\u309f : Hiragana (Japanese syllabary) 14 | * \u30a0-\u30ff\u31f0-\u31ff : Katakana (including phonetic extension) 15 | * \u3200-\u32ff : Enclosed CJK Letters and Months 16 | * \uff00-\uffef : Halfwidth and Fullwidth Forms 17 | */ 18 | (function ($) { 19 | "use strict"; 20 | 21 | $.fn.fileinputLocales['ja'] = { 22 | fileSingle: 'ファイル', 23 | filePlural: 'ファイル', 24 | browseLabel: 'ファイルを選択…', 25 | removeLabel: '削除', 26 | removeTitle: '選択したファイルを削除', 27 | cancelLabel: 'キャンセル', 28 | cancelTitle: 'アップロードをキャンセル', 29 | uploadLabel: 'アップロード', 30 | uploadTitle: '選択したファイルをアップロード', 31 | msgNo: 'いいえ', 32 | msgNoFilesSelected: 'ファイルが選択されていません', 33 | msgCancelled: 'キャンセル', 34 | msgPlaceholder: 'Select {files}...', 35 | msgZoomModalHeading: 'プレビュー', 36 | msgFileRequired: 'ファイルを選択してください', 37 | msgSizeTooSmall: 'ファイル"{name}" ({size} KB)はアップロード可能な下限容量{minSize} KBより小さいです', 38 | msgSizeTooLarge: 'ファイル"{name}" ({size} KB)はアップロード可能な上限容量{maxSize} KBを超えています', 39 | msgFilesTooLess: '最低{n}個の{files}を選択してください', 40 | msgFilesTooMany: '選択したファイルの数({n}個)はアップロード可能な上限数({m}個)を超えています', 41 | msgFileNotFound: 'ファイル"{name}"はありませんでした', 42 | msgFileSecured: 'ファイル"{name}"は読み取り権限がないため取得できません', 43 | msgFileNotReadable: 'ファイル"{name}"は読み込めません', 44 | msgFilePreviewAborted: 'ファイル"{name}"のプレビューを中止しました', 45 | msgFilePreviewError: 'ファイル"{name}"の読み込み中にエラーが発生しました', 46 | msgInvalidFileName: 'ファイル名に無効な文字が含まれています "{name}".', 47 | msgInvalidFileType: '"{name}"は無効なファイル形式です。"{types}"形式のファイルのみサポートしています', 48 | msgInvalidFileExtension: '"{name}"は無効な拡張子です。拡張子が"{extensions}"のファイルのみサポートしています', 49 | msgFileTypes: { 50 | 'image': 'image', 51 | 'html': 'HTML', 52 | 'text': 'text', 53 | 'video': 'video', 54 | 'audio': 'audio', 55 | 'flash': 'flash', 56 | 'pdf': 'PDF', 57 | 'object': 'object' 58 | }, 59 | msgUploadAborted: 'ファイルのアップロードが中止されました', 60 | msgUploadThreshold: '処理中...', 61 | msgUploadBegin: '初期化中...', 62 | msgUploadEnd: '完了', 63 | msgUploadEmpty: 'アップロードに有効なデータがありません', 64 | msgUploadError: 'エラー', 65 | msgValidationError: '検証エラー', 66 | msgLoading: '{files}個中{index}個目のファイルを読み込み中…', 67 | msgProgress: '{files}個中{index}個のファイルを読み込み中 - {name} - {percent}% 完了', 68 | msgSelected: '{n}個の{files}を選択', 69 | msgFoldersNotAllowed: 'ドラッグ&ドロップが可能なのはファイルのみです。{n}個のフォルダ-は無視されました', 70 | msgImageWidthSmall: '画像ファイル"{name}"の幅が小さすぎます。画像サイズの幅は少なくとも{size}px必要です', 71 | msgImageHeightSmall: '画像ファイル"{name}"の高さが小さすぎます。画像サイズの高さは少なくとも{size}px必要です', 72 | msgImageWidthLarge: '画像ファイル"{name}"の幅がアップロード可能な画像サイズ({size}px)を超えています', 73 | msgImageHeightLarge: '画像ファイル"{name}"の高さがアップロード可能な画像サイズ({size}px)を超えています', 74 | msgImageResizeError: 'リサイズ時に画像サイズが取得できませんでした', 75 | msgImageResizeException: '画像のリサイズ時にエラーが発生しました。
{errors}
', 76 | msgAjaxError: '{operation}実行中にエラーが発生しました。時間をおいてもう一度お試しください。', 77 | msgAjaxProgressError: '{operation} failed', 78 | ajaxOperations: { 79 | deleteThumb: 'ファイル削除', 80 | uploadThumb: 'ファイルアップロード', 81 | uploadBatch: '一括ファイルアップロード', 82 | uploadExtra: 'フォームデータアップロード' 83 | }, 84 | dropZoneTitle: 'ファイルをドラッグ&ドロップ…', 85 | dropZoneClickTitle: '
(または クリックして{files}を選択 )', 86 | slugCallback: function(text) { 87 | return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\u31f0-\u31ff\u3200-\u32ff\uff00-\uffef\-.\\\/ ]+/g, '') : ''; 88 | }, 89 | fileActionSettings: { 90 | removeTitle: 'ファイルを削除', 91 | uploadTitle: 'ファイルをアップロード', 92 | uploadRetryTitle: '再アップロード', 93 | zoomTitle: 'プレビュー', 94 | dragTitle: '移動 / 再配置', 95 | indicatorNewTitle: 'まだアップロードされていません', 96 | indicatorSuccessTitle: 'アップロード済み', 97 | indicatorErrorTitle: 'アップロード失敗', 98 | indicatorLoadingTitle: 'アップロード中...' 99 | }, 100 | previewZoomButtonTitles: { 101 | prev: '前のファイルを表示', 102 | next: '次のファイルを表示', 103 | toggleheader: 'ファイル情報の表示/非表示', 104 | fullscreen: 'フルスクリーン表示の開始/終了', 105 | borderless: 'フルウィンドウ表示の開始/終了', 106 | close: 'プレビューを閉じる' 107 | } 108 | }; 109 | })(window.jQuery); 110 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/LANG.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput <_LANG_> Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['_LANG_'] = { 15 | fileSingle: 'file', 16 | filePlural: 'files', 17 | browseLabel: 'Browse …', 18 | removeLabel: 'Remove', 19 | removeTitle: 'Clear selected files', 20 | cancelLabel: 'Cancel', 21 | cancelTitle: 'Abort ongoing upload', 22 | uploadLabel: 'Upload', 23 | uploadTitle: 'Upload selected files', 24 | msgNo: 'No', 25 | msgNoFilesSelected: 'No files selected', 26 | msgCancelled: 'Cancelled', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'Detailed Preview', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 31 | msgSizeTooLarge: 'File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB.', 32 | msgFilesTooLess: 'You must select at least {n} {files} to upload.', 33 | msgFilesTooMany: 'Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}.', 34 | msgFileNotFound: 'File "{name}" not found!', 35 | msgFileSecured: 'Security restrictions prevent reading the file "{name}".', 36 | msgFileNotReadable: 'File "{name}" is not readable.', 37 | msgFilePreviewAborted: 'File preview aborted for "{name}".', 38 | msgFilePreviewError: 'An error occurred while reading the file "{name}".', 39 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 40 | msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.', 41 | msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'The file upload was aborted', 53 | msgUploadThreshold: 'Processing...', 54 | msgUploadBegin: 'Initializing...', 55 | msgUploadEnd: 'Done', 56 | msgUploadEmpty: 'No valid data available for upload.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'Validation Error', 59 | msgLoading: 'Loading file {index} of {files} …', 60 | msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.', 61 | msgSelected: '{n} {files} selected', 62 | msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).', 63 | msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.', 64 | msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.', 65 | msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.', 66 | msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.', 67 | msgImageResizeError: 'Could not get the image dimensions to resize.', 68 | msgImageResizeException: 'Error while resizing the image.
{errors}
', 69 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 70 | msgAjaxProgressError: '{operation} failed', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Drag & drop files here …', 78 | dropZoneClickTitle: '
(or click to select {files})', 79 | fileActionSettings: { 80 | removeTitle: 'Remove file', 81 | uploadTitle: 'Upload file', 82 | uploadRetryTitle: 'Retry upload', 83 | downloadTitle: 'Download file', 84 | zoomTitle: 'View details', 85 | dragTitle: 'Move / Rearrange', 86 | indicatorNewTitle: 'Not uploaded yet', 87 | indicatorSuccessTitle: 'Uploaded', 88 | indicatorErrorTitle: 'Upload Error', 89 | indicatorLoadingTitle: 'Uploading ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: 'View previous file', 93 | next: 'View next file', 94 | toggleheader: 'Toggle header', 95 | fullscreen: 'Toggle full screen', 96 | borderless: 'Toggle borderless mode', 97 | close: 'Close detailed preview' 98 | } 99 | }; 100 | })(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/vi.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Vietnamese Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['vi'] = { 16 | fileSingle: 'tập tin', 17 | filePlural: 'các tập tin', 18 | browseLabel: 'Duyệt …', 19 | removeLabel: 'Gỡ bỏ', 20 | removeTitle: 'Bỏ tập tin đã chọn', 21 | cancelLabel: 'Hủy', 22 | cancelTitle: 'Hủy upload', 23 | uploadLabel: 'Upload', 24 | uploadTitle: 'Upload tập tin đã chọn', 25 | msgNo: 'Không', 26 | msgNoFilesSelected: 'Không tập tin nào được chọn', 27 | msgCancelled: 'Đã hủy', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: 'Chi tiết xem trước', 30 | msgFileRequired: 'You must select a file to upload.', 31 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 32 | msgSizeTooLarge: 'Tập tin "{name}" ({size} KB) vượt quá kích thước giới hạn cho phép {maxSize} KB.', 33 | msgFilesTooLess: 'Bạn phải chọn ít nhất {n} {files} để upload.', 34 | msgFilesTooMany: 'Số lượng tập tin upload ({n}) vượt quá giới hạn cho phép là {m}.', 35 | msgFileNotFound: 'Không tìm thấy tập tin "{name}"!', 36 | msgFileSecured: 'Các hạn chế về bảo mật không cho phép đọc tập tin "{name}".', 37 | msgFileNotReadable: 'Không đọc được tập tin "{name}".', 38 | msgFilePreviewAborted: 'Đã dừng xem trước tập tin "{name}".', 39 | msgFilePreviewError: 'Đã xảy ra lỗi khi đọc tập tin "{name}".', 40 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 41 | msgInvalidFileType: 'Tập tin "{name}" không hợp lệ. Chỉ hỗ trợ loại tập tin "{types}".', 42 | 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}".', 43 | msgFileTypes: { 44 | 'image': 'image', 45 | 'html': 'HTML', 46 | 'text': 'text', 47 | 'video': 'video', 48 | 'audio': 'audio', 49 | 'flash': 'flash', 50 | 'pdf': 'PDF', 51 | 'object': 'object' 52 | }, 53 | msgUploadAborted: 'Đã dừng upload', 54 | msgUploadThreshold: 'Đang xử lý...', 55 | msgUploadBegin: 'Initializing...', 56 | msgUploadEnd: 'Done', 57 | msgUploadEmpty: 'No valid data available for upload.', 58 | msgUploadError: 'Error', 59 | msgValidationError: 'Lỗi xác nhận', 60 | msgLoading: 'Đang nạp {index} tập tin trong số {files} …', 61 | msgProgress: 'Đang nạp {index} tập tin trong số {files} - {name} - {percent}% hoàn thành.', 62 | msgSelected: '{n} {files} được chọn', 63 | msgFoldersNotAllowed: 'Chỉ kéo thả tập tin! Đã bỏ qua {n} thư mục.', 64 | msgImageWidthSmall: 'Chiều rộng của hình ảnh "{name}" phải tối thiểu là {size} px.', 65 | msgImageHeightSmall: 'Chiều cao của hình ảnh "{name}" phải tối thiểu là {size} px.', 66 | msgImageWidthLarge: 'Chiều rộng của hình ảnh "{name}" không được quá {size} px.', 67 | msgImageHeightLarge: 'Chiều cao của hình ảnh "{name}" không được quá {size} px.', 68 | msgImageResizeError: 'Không lấy được kích thước của hình ảnh để resize.', 69 | msgImageResizeException: 'Resize hình ảnh bị lỗi.
{errors}
', 70 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 71 | msgAjaxProgressError: '{operation} failed', 72 | ajaxOperations: { 73 | deleteThumb: 'file delete', 74 | uploadThumb: 'file upload', 75 | uploadBatch: 'batch file upload', 76 | uploadExtra: 'form data upload' 77 | }, 78 | dropZoneTitle: 'Kéo thả tập tin vào đây …', 79 | dropZoneClickTitle: '
(hoặc click để chọn {files})', 80 | fileActionSettings: { 81 | removeTitle: 'Gỡ bỏ', 82 | uploadTitle: 'Upload tập tin', 83 | uploadRetryTitle: 'Retry upload', 84 | downloadTitle: 'Download file', 85 | zoomTitle: 'Phóng lớn', 86 | dragTitle: 'Di chuyển / Sắp xếp lại', 87 | indicatorNewTitle: 'Chưa được upload', 88 | indicatorSuccessTitle: 'Đã upload', 89 | indicatorErrorTitle: 'Upload bị lỗi', 90 | indicatorLoadingTitle: 'Đang upload ...' 91 | }, 92 | previewZoomButtonTitles: { 93 | prev: 'Xem tập tin phía trước', 94 | next: 'Xem tập tin tiếp theo', 95 | toggleheader: 'Ẩn/hiện tiêu đề', 96 | fullscreen: 'Bật/tắt toàn màn hình', 97 | borderless: 'Bật/tắt chế độ không viền', 98 | close: 'Đóng' 99 | } 100 | }; 101 | })(window.jQuery); 102 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/da.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Danish Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['da'] = { 15 | fileSingle: 'fil', 16 | filePlural: 'filer', 17 | browseLabel: 'Browse …', 18 | removeLabel: 'Fjern', 19 | removeTitle: 'Fjern valgte filer', 20 | cancelLabel: 'Fortryd', 21 | cancelTitle: 'Afbryd nuværende upload', 22 | uploadLabel: 'Upload', 23 | uploadTitle: 'Upload valgte filer', 24 | msgNo: 'Ingen', 25 | msgNoFilesSelected: '', 26 | msgCancelled: 'aflyst', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'Detaljeret visning', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 31 | msgSizeTooLarge: 'Fil "{name}" ({size} KB) er større end de tilladte {maxSize} KB.', 32 | msgFilesTooLess: 'Du skal mindst vælge {n} {files} til upload.', 33 | msgFilesTooMany: '({n}) filer valgt til upload, men maks. {m} er tilladt.', 34 | msgFileNotFound: 'Filen "{name}" blev ikke fundet!', 35 | msgFileSecured: 'Sikkerhedsrestriktioner forhindrer læsning af "{name}".', 36 | msgFileNotReadable: 'Filen "{name}" kan ikke indlæses.', 37 | msgFilePreviewAborted: 'Filpreview annulleret for "{name}".', 38 | msgFilePreviewError: 'Der skete en fejl under læsningen af filen "{name}".', 39 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 40 | msgInvalidFileType: 'Ukendt type for filen "{name}". Kun "{types}" kan bruges.', 41 | msgInvalidFileExtension: 'Ukendt filtype for filen "{name}". Kun "{extensions}" filer kan bruges.', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'Filupload annulleret', 53 | msgUploadThreshold: 'Processing...', 54 | msgUploadBegin: 'Initializing...', 55 | msgUploadEnd: 'Done', 56 | msgUploadEmpty: 'No valid data available for upload.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'Validering Fejl', 59 | msgLoading: 'Henter fil {index} af {files} …', 60 | msgProgress: 'Henter fil {index} af {files} - {name} - {percent}% færdiggjort.', 61 | msgSelected: '{n} {files} valgt', 62 | msgFoldersNotAllowed: 'Drag & drop kun filer! {n} mappe(r) sprunget over.', 63 | msgImageWidthSmall: 'Bredden af billedet "{name}" skal være på mindst {size} px.', 64 | msgImageHeightSmall: 'Højden af billedet "{name}" skal være på mindst {size} px.', 65 | msgImageWidthLarge: 'Bredden af billedet "{name}" må ikke være over {size} px.', 66 | msgImageHeightLarge: 'Højden af billedet "{name}" må ikke være over {size} px.', 67 | msgImageResizeError: 'Kunne ikke få billedets dimensioner for at ændre størrelsen.', 68 | msgImageResizeException: 'Fejl ved at ændre størrelsen på billedet.
{errors}
', 69 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 70 | msgAjaxProgressError: '{operation} failed', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Drag & drop filer her …', 78 | dropZoneClickTitle: '
(or click to select {files})', 79 | fileActionSettings: { 80 | removeTitle: 'Fjern fil', 81 | uploadTitle: 'Upload fil', 82 | uploadRetryTitle: 'Retry upload', 83 | downloadTitle: 'Download file', 84 | zoomTitle: 'Se detaljer', 85 | dragTitle: 'Move / Rearrange', 86 | indicatorNewTitle: 'Ikke uploadet endnu', 87 | indicatorSuccessTitle: 'Uploadet', 88 | indicatorErrorTitle: 'Upload fejl', 89 | indicatorLoadingTitle: 'Uploader ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: 'View previous file', 93 | next: 'View next file', 94 | toggleheader: 'Toggle header', 95 | fullscreen: 'Toggle full screen', 96 | borderless: 'Toggle borderless mode', 97 | close: 'Close detailed preview' 98 | } 99 | }; 100 | })(window.jQuery); -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/fa.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Persian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author Milad Nekofar 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['fa'] = { 16 | fileSingle: 'فایل', 17 | filePlural: 'فایل‌ها', 18 | browseLabel: 'مرور …', 19 | removeLabel: 'حذف', 20 | removeTitle: 'پاکسازی فایل‌های انتخاب شده', 21 | cancelLabel: 'لغو', 22 | cancelTitle: 'لغو بارگزاری جاری', 23 | uploadLabel: 'بارگذاری', 24 | uploadTitle: 'بارگذاری فایل‌های انتخاب شده', 25 | msgNo: 'نه', 26 | msgNoFilesSelected: 'هیچ فایلی انتخاب نشده است', 27 | msgCancelled: 'لغو شد', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: 'نمایش با جزییات', 30 | msgFileRequired: 'You must select a file to upload.', 31 | msgSizeTooSmall: 'فایل "{name}" ({size} کیلوبایت) خیلی کوچک است و باید از {minSize} کیلوبایت بزرگتر باشد.', 32 | msgSizeTooLarge: 'فایل "{name}" ({size} کیلوبایت) از حداکثر مجاز {maxSize} کیلوبایت بزرگتر است.', 33 | msgFilesTooLess: 'شما باید حداقل {n} {files} فایل برای بارگذاری انتخاب کنید.', 34 | msgFilesTooMany: 'تعداد فایل‌های انتخاب شده برای بارگذاری ({n}) از حداکثر مجاز عبور کرده است {m}.', 35 | msgFileNotFound: 'فایل "{name}" یافت نشد!', 36 | msgFileSecured: 'محدودیت های امنیتی مانع خواندن فایل "{name}" است.', 37 | msgFileNotReadable: 'فایل "{name}" قابل نوشتن نیست.', 38 | msgFilePreviewAborted: 'پیش نمایش فایل "{name}". به مشکل خورد', 39 | msgFilePreviewError: 'در هنگام خواندن فایل "{name}" خطایی رخ داد.', 40 | msgInvalidFileName: 'کاراکترهای غیرمجاز و یا ناشناخته در نام فایل "{name}".', 41 | msgInvalidFileType: 'نوع فایل "{name}" معتبر نیست. فقط "{types}" پشیبانی می‌شوند.', 42 | msgInvalidFileExtension: 'پسوند فایل "{name}" معتبر نیست. فقط "{extensions}" پشتیبانی می‌شوند.', 43 | msgFileTypes: { 44 | 'image': 'عکس', 45 | 'html': 'اچ تا ام ال', 46 | 'text': 'متن', 47 | 'video': 'ویدئو', 48 | 'audio': 'صدا', 49 | 'flash': 'فلش', 50 | 'pdf': 'پی دی اف', 51 | 'object': 'دیگر' 52 | }, 53 | msgUploadAborted: 'بارگذاری فایل به مشکل خورد.', 54 | msgUploadThreshold: 'در حال پردازش...', 55 | msgUploadBegin: 'در حال شروع...', 56 | msgUploadEnd: 'انجام شد', 57 | msgUploadEmpty: 'هیچ داده معتبری برای بارگذاری موجود نیست.', 58 | msgUploadError: 'Error', 59 | msgValidationError: 'خطای اعتبار سنجی', 60 | msgLoading: 'بارگیری فایل {index} از {files} …', 61 | msgProgress: 'بارگیری فایل {index} از {files} - {name} - {percent}% تمام شد.', 62 | msgSelected: '{n} {files} انتخاب شده', 63 | msgFoldersNotAllowed: 'فقط فایل‌ها را بکشید و رها کنید! {n} پوشه نادیده گرفته شد.', 64 | msgImageWidthSmall: 'عرض فایل تصویر "{name}" باید حداقل {size} پیکسل باشد.', 65 | msgImageHeightSmall: 'ارتفاع فایل تصویر "{name}" باید حداقل {size} پیکسل باشد.', 66 | msgImageWidthLarge: 'عرض فایل تصویر "{name}" نمیتواند از {size} پیکسل بیشتر باشد.', 67 | msgImageHeightLarge: 'ارتفاع فایل تصویر "{name}" نمی‌تواند از {size} پیکسل بیشتر باشد.', 68 | msgImageResizeError: 'یافت نشد ابعاد تصویر را برای تغییر اندازه.', 69 | msgImageResizeException: 'خطا در هنگام تغییر اندازه تصویر.
{errors}
', 70 | msgAjaxError: 'به نظر مشکلی در حین {operation} روی داده است. لطفا دوباره تلاش کنید!', 71 | msgAjaxProgressError: '{operation} لغو شد', 72 | ajaxOperations: { 73 | deleteThumb: 'حذف فایل', 74 | uploadThumb: 'بارگذاری فایل', 75 | uploadBatch: 'بارگذاری جمعی فایلها', 76 | uploadExtra: 'بارگذاری با کمک فُرم' 77 | }, 78 | dropZoneTitle: 'فایل‌ها را بکشید و در اینجا رها کنید …', 79 | dropZoneClickTitle: '
(یا برای انتخاب {files} کلیک کنید)', 80 | fileActionSettings: { 81 | removeTitle: 'حذف فایل', 82 | uploadTitle: 'آپلود فایل', 83 | uploadRetryTitle: 'Retry upload', 84 | downloadTitle: 'Download file', 85 | zoomTitle: 'دیدن جزئیات', 86 | dragTitle: 'جابجایی / چیدمان', 87 | indicatorNewTitle: 'آپلود نشده است', 88 | indicatorSuccessTitle: 'آپلود شده', 89 | indicatorErrorTitle: 'بارگذاری خطا', 90 | indicatorLoadingTitle: 'آپلود ...' 91 | }, 92 | previewZoomButtonTitles: { 93 | prev: 'مشاهده فایل قبلی', 94 | next: 'مشاهده فایل بعدی', 95 | toggleheader: 'نمایش عنوان', 96 | fullscreen: 'نمایش تمام صفحه', 97 | borderless: 'نمایش حاشیه', 98 | close: 'بستن نمایش با جزییات' 99 | } 100 | }; 101 | })(window.jQuery); 102 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/bg.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Bulgarian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['bg'] = { 15 | fileSingle: 'файл', 16 | filePlural: 'файла', 17 | browseLabel: 'Избери …', 18 | removeLabel: 'Премахни', 19 | removeTitle: 'Изчисти избраните', 20 | cancelLabel: 'Откажи', 21 | cancelTitle: 'Откажи качването', 22 | uploadLabel: 'Качи', 23 | uploadTitle: 'Качи избраните файлове', 24 | msgNo: 'Не', 25 | msgNoFilesSelected: '', 26 | msgCancelled: 'Отменен', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'Детайлен преглед', 29 | msgFileRequired: 'You must select a file to upload.', 30 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 31 | msgSizeTooLarge: 'Файла "{name}" ({size} KB) надвишава максималните разрешени {maxSize} KB.', 32 | msgFilesTooLess: 'Трябва да изберете поне {n} {files} файла.', 33 | msgFilesTooMany: 'Броя файлове избрани за качване ({n}) надвишава ограниченито от максимум {m}.', 34 | msgFileNotFound: 'Файлът "{name}" не може да бъде намерен!', 35 | msgFileSecured: 'От съображения за сигурност не може да прочетем файла "{name}".', 36 | msgFileNotReadable: 'Файлът "{name}" не е четим.', 37 | msgFilePreviewAborted: 'Прегледа на файла е прекратен за "{name}".', 38 | msgFilePreviewError: 'Грешка при опит за четене на файла "{name}".', 39 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 40 | msgInvalidFileType: 'Невалиден тип на файла "{name}". Разрешени са само "{types}".', 41 | msgInvalidFileExtension: 'Невалидно разрешение на "{name}". Разрешени са само "{extensions}".', 42 | msgFileTypes: { 43 | 'image': 'image', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'Качите файла, бе прекратена', 53 | msgUploadThreshold: 'Processing...', 54 | msgUploadBegin: 'Initializing...', 55 | msgUploadEnd: 'Done', 56 | msgUploadEmpty: 'No valid data available for upload.', 57 | msgUploadError: 'Error', 58 | msgValidationError: 'утвърждаване грешка', 59 | msgLoading: 'Зареждане на файл {index} от общо {files} …', 60 | msgProgress: 'Зареждане на файл {index} от общо {files} - {name} - {percent}% завършени.', 61 | msgSelected: '{n} {files} избрани', 62 | msgFoldersNotAllowed: 'Само пуснати файлове! Пропуснати {n} пуснати папки.', 63 | msgImageWidthSmall: 'Широчината на изображението "{name}" трябва да е поне {size} px.', 64 | msgImageHeightSmall: 'Височината на изображението "{name}" трябва да е поне {size} px.', 65 | msgImageWidthLarge: 'Широчината на изображението "{name}" не може да е по-голяма от {size} px.', 66 | msgImageHeightLarge: 'Височината на изображението "{name}" нее може да е по-голяма от {size} px.', 67 | msgImageResizeError: 'Не може да размерите на изображението, за да промените размера.', 68 | msgImageResizeException: 'Грешка при промяна на размера на изображението.
{errors}
', 69 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 70 | msgAjaxProgressError: '{operation} failed', 71 | ajaxOperations: { 72 | deleteThumb: 'file delete', 73 | uploadThumb: 'file upload', 74 | uploadBatch: 'batch file upload', 75 | uploadExtra: 'form data upload' 76 | }, 77 | dropZoneTitle: 'Пуснете файловете тук …', 78 | dropZoneClickTitle: '
(or click to select {files})', 79 | fileActionSettings: { 80 | removeTitle: 'Махни файл', 81 | uploadTitle: 'Качване на файл', 82 | uploadRetryTitle: 'Retry upload', 83 | downloadTitle: 'Download file', 84 | zoomTitle: 'Вижте детайли', 85 | dragTitle: 'Move / Rearrange', 86 | indicatorNewTitle: 'Все още не е качил', 87 | indicatorSuccessTitle: 'Качено', 88 | indicatorErrorTitle: 'Качи Error', 89 | indicatorLoadingTitle: 'Качва се ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: 'View previous file', 93 | next: 'View next file', 94 | toggleheader: 'Toggle header', 95 | fullscreen: 'Toggle full screen', 96 | borderless: 'Toggle borderless mode', 97 | close: 'Close detailed preview' 98 | } 99 | }; 100 | })(window.jQuery); 101 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/uk.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Ukrainian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author CyanoFresh 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinputLocales['uk'] = { 16 | fileSingle: 'файл', 17 | filePlural: 'файли', 18 | browseLabel: 'Вибрати …', 19 | removeLabel: 'Видалити', 20 | removeTitle: 'Видалити вибрані файли', 21 | cancelLabel: 'Скасувати', 22 | cancelTitle: 'Скасувати поточну загрузку', 23 | uploadLabel: 'Загрузити', 24 | uploadTitle: 'Загрузити вибрані файли', 25 | msgNo: 'Немає', 26 | msgNoFilesSelected: '', 27 | msgCancelled: 'Cкасовано', 28 | msgPlaceholder: 'Select {files}...', 29 | msgZoomModalHeading: 'Детальний превью', 30 | msgFileRequired: 'You must select a file to upload.', 31 | msgSizeTooSmall: 'File "{name}" ({size} KB) is too small and must be larger than {minSize} KB.', 32 | msgSizeTooLarge: 'Файл "{name}" ({size} KB) перевищує максимальний розмір {maxSize} KB.', 33 | msgFilesTooLess: 'Ви повинні вибрати як мінімум {n} {files} для загрузки.', 34 | msgFilesTooMany: 'Кількість вибраних файлів ({n}) перевищує максимально допустиму кількість {m}.', 35 | msgFileNotFound: 'Файл "{name}" не знайдено!', 36 | msgFileSecured: 'Обмеження безпеки перешкоджають читанню файла "{name}".', 37 | msgFileNotReadable: 'Файл "{name}" неможливо прочитати.', 38 | msgFilePreviewAborted: 'Перегляд скасований для файла "{name}".', 39 | msgFilePreviewError: 'Сталася помилка під час читання файла "{name}".', 40 | msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".', 41 | msgInvalidFileType: 'Заборонений тип файла для "{name}". Тільки "{types}" дозволені.', 42 | msgInvalidFileExtension: 'Заборонене розширення для файла "{name}". Тільки "{extensions}" дозволені.', 43 | msgFileTypes: { 44 | 'image': 'image', 45 | 'html': 'HTML', 46 | 'text': 'text', 47 | 'video': 'video', 48 | 'audio': 'audio', 49 | 'flash': 'flash', 50 | 'pdf': 'PDF', 51 | 'object': 'object' 52 | }, 53 | msgUploadAborted: 'Вивантаження файлу перервана', 54 | msgUploadThreshold: 'Processing...', 55 | msgUploadBegin: 'Initializing...', 56 | msgUploadEnd: 'Done', 57 | msgUploadEmpty: 'No valid data available for upload.', 58 | msgUploadError: 'Error', 59 | msgValidationError: 'Помилка перевірки', 60 | msgLoading: 'Загрузка файла {index} із {files} …', 61 | msgProgress: 'Загрузка файла {index} із {files} - {name} - {percent}% завершено.', 62 | msgSelected: '{n} {files} вибрано', 63 | msgFoldersNotAllowed: 'Дозволено перетягувати тільки файли! Пропущено {n} папок.', 64 | msgImageWidthSmall: 'Ширина зображення "{name}" повинна бути не менше {size} px.', 65 | msgImageHeightSmall: 'Висота зображення "{name}" повинна бути не менше {size} px.', 66 | msgImageWidthLarge: 'Ширина зображення "{name}" не може перевищувати {size} px.', 67 | msgImageHeightLarge: 'Висота зображення "{name}" не може перевищувати {size} px.', 68 | msgImageResizeError: 'Не вдалося розміри зображення, щоб змінити розмір.', 69 | msgImageResizeException: 'Помилка при зміні розміру зображення.
{errors}
', 70 | msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!', 71 | msgAjaxProgressError: '{operation} failed', 72 | ajaxOperations: { 73 | deleteThumb: 'file delete', 74 | uploadThumb: 'file upload', 75 | uploadBatch: 'batch file upload', 76 | uploadExtra: 'form data upload' 77 | }, 78 | dropZoneTitle: 'Перетягніть файли сюди …', 79 | dropZoneClickTitle: '
(or click to select {files})', 80 | fileActionSettings: { 81 | removeTitle: 'Видалити файл', 82 | uploadTitle: 'Загрузити файл', 83 | uploadRetryTitle: 'Retry upload', 84 | downloadTitle: 'Download file', 85 | zoomTitle: 'Подивитися деталі', 86 | dragTitle: 'Move / Rearrange', 87 | indicatorNewTitle: 'Ще не загружено', 88 | indicatorSuccessTitle: 'Загружено', 89 | indicatorErrorTitle: 'Помилка при загрузці', 90 | indicatorLoadingTitle: 'Загрузка ...' 91 | }, 92 | previewZoomButtonTitles: { 93 | prev: 'View previous file', 94 | next: 'View next file', 95 | toggleheader: 'Toggle header', 96 | fullscreen: 'Toggle full screen', 97 | borderless: 'Toggle borderless mode', 98 | close: 'Close detailed preview' 99 | } 100 | }; 101 | })(window.jQuery); 102 | -------------------------------------------------------------------------------- /upload/demo1/bootstrap-fileinput/js/locales/cs.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Czech Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinputLocales['cs'] = { 15 | fileSingle: 'soubor', 16 | filePlural: 'soubory', 17 | browseLabel: 'Vybrat …', 18 | removeLabel: 'Odstranit', 19 | removeTitle: 'Vyčistit vybrané soubory', 20 | cancelLabel: 'Storno', 21 | cancelTitle: 'Přerušit nahrávání', 22 | uploadLabel: 'Nahrát', 23 | uploadTitle: 'Nahrát vybrané soubory', 24 | msgNo: 'Ne', 25 | msgNoFilesSelected: 'Nevybrány žádné soubory', 26 | msgCancelled: 'Zrušeno', 27 | msgPlaceholder: 'Select {files}...', 28 | msgZoomModalHeading: 'Detailní náhled', 29 | msgFileRequired: 'Musíte vybrat soubor, který chcete nahrát.', 30 | msgSizeTooSmall: 'Soubor "{name}" ({size} KB) je příliš malý, musí mít velikost nejméně {minSize} KB.', 31 | msgSizeTooLarge: 'Soubor "{name}" ({size} KB) je příliš velký, maximální povolená velikost {maxSize} KB.', 32 | msgFilesTooLess: 'Musíte vybrat nejméně {n} {files} souborů.', 33 | msgFilesTooMany: 'Počet vybraných souborů ({n}) překročil maximální povolený limit {m}.', 34 | msgFileNotFound: 'Soubor "{name}" nebyl nalezen!', 35 | msgFileSecured: 'Zabezpečení souboru znemožnilo číst soubor "{name}".', 36 | msgFileNotReadable: 'Soubor "{name}" není čitelný.', 37 | msgFilePreviewAborted: 'Náhled souboru byl přerušen pro "{name}".', 38 | msgFilePreviewError: 'Nastala chyba při načtení souboru "{name}".', 39 | msgInvalidFileName: 'Neplatné nebo nepovolené znaky ve jménu souboru "{name}".', 40 | msgInvalidFileType: 'Neplatný typ souboru "{name}". Pouze "{types}" souborů jsou podporovány.', 41 | msgInvalidFileExtension: 'Neplatná extenze souboru "{name}". Pouze "{extensions}" souborů jsou podporovány.', 42 | msgFileTypes: { 43 | 'image': 'obrázek', 44 | 'html': 'HTML', 45 | 'text': 'text', 46 | 'video': 'video', 47 | 'audio': 'audio', 48 | 'flash': 'flash', 49 | 'pdf': 'PDF', 50 | 'object': 'object' 51 | }, 52 | msgUploadAborted: 'Nahrávání souboru bylo přerušeno', 53 | msgUploadThreshold: 'Zpracovávám...', 54 | msgUploadBegin: 'Inicializujem...', 55 | msgUploadEnd: 'Hotovo', 56 | msgUploadEmpty: 'Pro nahrávání nejsou k dispozici žádné platné údaje.', 57 | msgUploadError: 'Chyba', 58 | msgValidationError: 'Chyba ověření', 59 | msgLoading: 'Nahrávání souboru {index} z {files} …', 60 | msgProgress: 'Nahrávání souboru {index} z {files} - {name} - {percent}% dokončeno.', 61 | msgSelected: '{n} {files} vybráno', 62 | msgFoldersNotAllowed: 'Táhni a pusť pouze soubory! Vynechané {n} pustěné složk(y).', 63 | msgImageWidthSmall: 'Šířka obrázku "{name}", musí být alespoň {size} px.', 64 | msgImageHeightSmall: 'Výška obrázku "{name}", musí být alespoň {size} px.', 65 | msgImageWidthLarge: 'Šířka obrázku "{name}" nesmí být větší než {size} px.', 66 | msgImageHeightLarge: 'Výška obrázku "{name}" nesmí být větší než {size} px.', 67 | msgImageResizeError: 'Nelze získat rozměry obrázku pro změnu velikosti.', 68 | msgImageResizeException: 'Chyba při změně velikosti obrázku.
{errors}
', 69 | msgAjaxError: 'Došlo k chybě v {operation}. Prosím zkuste to znovu později!', 70 | msgAjaxProgressError: '{operation} - neúspěšné', 71 | ajaxOperations: { 72 | deleteThumb: 'odstranit soubor', 73 | uploadThumb: 'nahrát soubor', 74 | uploadBatch: 'nahrát várku souborů', 75 | uploadExtra: 'odesílání dat formuláře' 76 | }, 77 | dropZoneTitle: 'Přetáhni soubory sem …', 78 | dropZoneClickTitle: '
(nebo klikni sem a vyber je)', 79 | fileActionSettings: { 80 | removeTitle: 'Odstranit soubor', 81 | uploadTitle: 'Nahrát soubor', 82 | uploadRetryTitle: 'Opakovat nahrávání', 83 | downloadTitle: 'Stáhnout soubor', 84 | zoomTitle: 'Zobrazit podrobnosti', 85 | dragTitle: 'Posunout / Přeskládat', 86 | indicatorNewTitle: 'Ještě nenahrál', 87 | indicatorSuccessTitle: 'Nahraný', 88 | indicatorErrorTitle: 'Chyba nahrávání', 89 | indicatorLoadingTitle: 'Nahrávání ...' 90 | }, 91 | previewZoomButtonTitles: { 92 | prev: 'Zobrazit předchozí soubor', 93 | next: 'Zobrazit následující soubor', 94 | toggleheader: 'Přepnout záhlaví', 95 | fullscreen: 'Přepnout celoobrazovkové zobrazení', 96 | borderless: 'Přepnout bezrámečkové zobrazení', 97 | close: 'Zavřít detailní náhled' 98 | } 99 | }; 100 | })(window.jQuery); 101 | --------------------------------------------------------------------------------