mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-04-28 12:02:48 +02:00
Added Version Check
Added new Translation JSON file New languages added - Spanish, German, Thailand and Chinese Removed languages from tinyfilemanager.php file Updated IDE languages and themes
This commit is contained in:
parent
e38f312ce5
commit
8802b048b3
47
README.md
47
README.md
|
@ -6,7 +6,7 @@
|
|||
[![GitHub Release](https://img.shields.io/github/release/qubyte/rubidium.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/releases)
|
||||
[![GitHub License](https://img.shields.io/github/license/prasathmani/tinyfilemanager.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE)
|
||||
[![Beerpay](https://beerpay.io/prasathmani/tinyfilemanager/badge.svg?style=flat-square)](https://beerpay.io/prasathmani/tinyfilemanager)
|
||||
> It is a simple, fast and small file manager with single php file. It is also a web code editor. It'll run either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have PHP 5.5+ available.
|
||||
> It is a simple, fast and small file manager with single php file. It is also a web code editor. It'll run either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have **PHP 5.5+** available.
|
||||
|
||||
## Demo
|
||||
[Demo](https://tinyfilemanager.github.io/demo/)
|
||||
|
@ -15,10 +15,10 @@
|
|||
|
||||
|
||||
## Documents
|
||||
<a href="https://tinyfilemanager.github.io/" target="_blank">tinyfilemanager.github.io</a>
|
||||
[TinyFileManager.github.io](https://tinyfilemanager.github.io/) | [Password Generater](https://tinyfilemanager.github.io/docs/pwd.html)
|
||||
<hr>
|
||||
|
||||
<img src="screenshot.gif" alt="H3K | Tiny File Manager">
|
||||
[![Tiny File Manager](screenshot.gif)](screenshot.gif)
|
||||
|
||||
## Requirements
|
||||
|
||||
|
@ -33,9 +33,9 @@ Download ZIP with latest version from master branch.
|
|||
Just copy the tinyfilemanager.php to your webspace - thats all :)
|
||||
You can also change the file name from "tinyfilemanager.php" to something else, you know what i meant for.
|
||||
|
||||
Default username/password: admin/admin@123 and user/12345.
|
||||
Default username/password: **admin/admin@123** and **user/12345**.
|
||||
|
||||
Warning: Please set your own username and password in `$auth_users` before use. password is encrypted with <code>password_hash()</code>. to generate new password hash <a href="https://tinyfilemanager.github.io/docs/pwd.html" target="_blank">here</a>
|
||||
Warning: Please set your own username and password in `$auth_users` before use. password is encrypted with <code>password_hash()</code>. to generate new password hash [here](https://tinyfilemanager.github.io/docs/pwd.html)
|
||||
|
||||
To enable/disable authentication set `$use_auth` to true or false.
|
||||
|
||||
|
@ -52,30 +52,29 @@ To enable/disable authentication set `$use_auth` to true or false.
|
|||
|
||||
|
||||
### :loudspeaker: Features
|
||||
<ul>
|
||||
<li>:cd: Open Source, light and extremely simple</li>
|
||||
<li>:iphone: Mobile friendly view for touch devices</li>
|
||||
<li>:information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files </li>
|
||||
<li>:arrow_double_up: Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload and file extensions filter </li>
|
||||
<li>:file_folder: Ability to create folders and files</li>
|
||||
<li>:gift: Ability to compress, extract files (zip, tar)</li>
|
||||
<li>:sunglasses: Support user permissions - based on session and each user root folder mapping</li>
|
||||
<li>:floppy_disk: Copy direct file URL</li>
|
||||
<li>:pencil2: Cloud9 IDE - Syntax highlighting for over 90+ languages, Over 35+ themes with your favorite programming style
|
||||
</li>
|
||||
<li>:page_facing_up: Google Drive viewer helps you preview PDF/DOC/XLS/PPT/etc. 25 MB can be previewed with the Google Drive viewer</li>
|
||||
<li>:zap: Backup files</li>
|
||||
<li>:mag_right: Search - Search and Sorting using datatable js</li>
|
||||
<li>:file_folder: Exclude folders from listing</li>
|
||||
<li>:globe_with_meridians: Multi-language support (English, French, Italian, Russian, German)</li>
|
||||
<li>:bangbang: lots more...</li>
|
||||
</ul>
|
||||
|
||||
- :cd: Open Source, light and extremely simple
|
||||
- :iphone: Mobile friendly view for touch devices
|
||||
- :information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files
|
||||
- :arrow_double_up: Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload and file extensions filter
|
||||
- :file_folder: Ability to create folders and files
|
||||
- :gift: Ability to compress, extract files (`zip`, `tar`)
|
||||
- :sunglasses: Support user permissions - based on session and each user root folder mapping
|
||||
- :floppy_disk: Copy direct file URL
|
||||
- :pencil2: Cloud9 IDE - Syntax highlighting for over `150+` languages, Over `35+` themes with your favorite programming style
|
||||
- :page_facing_up: Google Drive viewer helps you preview `PDF/DOC/XLS/PPT/etc`. 25 MB can be previewed with the Google Drive viewer
|
||||
- :zap: Backup files
|
||||
- :mag_right: Search - Search and Sorting using `datatable js`
|
||||
- :file_folder: Exclude folders from listing
|
||||
- :globe_with_meridians: Multi-language support (English, Spanish, French, Italian, German, Russian, Thailand and Chinese ) for translations `translation.json` is file required
|
||||
- :bangbang: lots more...
|
||||
|
||||
|
||||
### <a name=license></a>License, Credit
|
||||
|
||||
- Available under the [GNU license](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE)
|
||||
- Original concept and development by github.com/alexantr/filemanager
|
||||
- CDN Used - jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, DataTable js
|
||||
- CDN Used - _jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, DataTable js_
|
||||
- To report a bug or request a feature, please file an [issue](https://github.com/prasathmani/tinyfilemanager/issues)
|
||||
- We hope our tools will be helpful for you. If you find Tiny File Manager useful for your personal or commercial projects, Help me out for a couple of
|
||||
[![Beerpay](https://beerpay.io/prasathmani/tinyfilemanager/badge.svg?style=flat-square)](https://beerpay.io/prasathmani/tinyfilemanager)
|
||||
|
|
|
@ -3,11 +3,14 @@
|
|||
$CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false}';
|
||||
|
||||
/**
|
||||
* H3K | Tiny File Manager V2.2.1
|
||||
* H3K | Tiny File Manager V2.3
|
||||
* CCP Programmers | ccpprogrammers@gmail.com
|
||||
* https://tinyfilemanager.github.io
|
||||
*/
|
||||
|
||||
//TFM version
|
||||
define('VERSION', '2.3');
|
||||
|
||||
// Auth with login/password (set true/false to enable/disable it)
|
||||
$use_auth = true;
|
||||
|
||||
|
@ -67,9 +70,6 @@ $GLOBALS['online_viewer'] = true;
|
|||
//Sticky Nav bar
|
||||
$sticky_navbar = true;
|
||||
|
||||
//TFM version
|
||||
define('VERSION', '2.2.1');
|
||||
|
||||
// private key and session name to store to the session
|
||||
if ( !defined( 'FM_SESSION_ID')) {
|
||||
define('FM_SESSION_ID', 'filemanager');
|
||||
|
@ -89,13 +89,7 @@ $report_errors = isset($cfg->data['error_reporting']) ? $cfg->data['error_report
|
|||
|
||||
//available languages
|
||||
$lang_list = array(
|
||||
'en' => 'English',
|
||||
'fr' => 'Français',
|
||||
'it' => 'Italiano',
|
||||
'ru' => 'Russian',
|
||||
'es' => 'Español',
|
||||
'th' => 'ภาษาไทย',
|
||||
'de' => 'German'
|
||||
'en' => 'English'
|
||||
);
|
||||
|
||||
//--- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL
|
||||
|
@ -304,6 +298,7 @@ if (isset($_POST['ajax']) && !FM_READONLY) {
|
|||
if (isset($_POST['type']) && $_POST['type'] == "settings") {
|
||||
global $cfg, $lang, $report_errors, $show_hidden_files, $lang_list;
|
||||
$newLng = $_POST['js-language'];
|
||||
fm_get_translations();
|
||||
if (!array_key_exists($newLng, $lang_list)) {
|
||||
$newLng = 'en';
|
||||
}
|
||||
|
@ -1116,7 +1111,7 @@ if (isset($_GET['settings']) && !FM_READONLY) {
|
|||
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10">
|
||||
<button type="submit" class="btn btn-success"><?php echo lng('Save'); ?></button>
|
||||
<button type="submit" class="btn btn-success"> <i class="fa fa-check-circle"></i> <?php echo lng('Save'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1132,7 +1127,7 @@ if (isset($_GET['settings']) && !FM_READONLY) {
|
|||
if (isset($_GET['help'])) {
|
||||
fm_show_header(); // HEADER
|
||||
fm_show_nav_path(FM_PATH); // current path
|
||||
global $cfg, $lang, $lang_list;
|
||||
global $cfg, $lang;
|
||||
?>
|
||||
|
||||
<div class="col-md-8 offset-md-2 pt-3">
|
||||
|
@ -1154,7 +1149,9 @@ if (isset($_GET['help'])) {
|
|||
<li class="list-group-item"><a href="https://tinyfilemanager.github.io/" target="_blank"><i class="fa fa-question-circle"></i> Help Documents</a> </li>
|
||||
<li class="list-group-item"><a href="https://github.com/prasathmani/tinyfilemanager/issues" target="_blank"><i class="fa fa-bug"></i> Report Issue</a></li>
|
||||
<li class="list-group-item"><a href="javascript:latest_release_info('<?php echo VERSION; ?>');" target="_blank"><i class="fa fa-link"></i> Check Latest Version</a></li>
|
||||
<?php if(!FM_READONLY) { ?>
|
||||
<li class="list-group-item"><a href="javascript:show_new_pwd();" target="_blank"><i class="fa fa-lock"></i> Generate new password hash</a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1421,10 +1418,9 @@ if (isset($_GET['edit'])) {
|
|||
<button data-cmd="undo" class="btn btn-sm btn-outline-secondary" id="js-ace-undo" title="Undo"><i class="fa fa-undo" title="Undo"></i></button>
|
||||
<button data-cmd="redo" class="btn btn-sm btn-outline-secondary" id="js-ace-redo" title="Redo"><i class="fa fa-repeat" title="Redo"></i></button>
|
||||
<button data-cmd="none" data-option="wrap" class="btn btn-sm btn-outline-secondary" id="js-ace-wordWrap" title="Word Wrap"><i class="fa fa-text-width" title="Word Wrap"></i></button>
|
||||
<button data-cmd="goToNo" class="btn btn-sm btn-outline-secondary" id="js-ace-goLine" title="Go To Line Number"><i class="fa fa-i-cursor" title="Go To Line Number"></i></button>
|
||||
<button data-cmd="none" data-option="help" class="btn btn-sm btn-outline-secondary" id="js-ace-goLine" title="Help"><i class="fa fa-question" title="Help"></i></button>
|
||||
<select id="js-ace-mode" data-type="mode" title="Select Document Type" class="btn-outline-secondary border-left-0 d-none d-md-block"><option value="ace/mode/abap">ABAP</option><option value="ace/mode/actionscript">ActionScript</option><option value="ace/mode/ada">ADA</option><option value="ace/mode/apache_conf">Apache Conf</option><option value="ace/mode/asciidoc">AsciiDoc</option><option value="ace/mode/asl">ASL</option><option value="ace/mode/assembly_x86">Assembly x86</option><option value="ace/mode/apex">Apex</option><option value="ace/mode/batchfile">BatchFile</option><option value="ace/mode/c_cpp">C and C++</option><option value="ace/mode/clojure">Clojure</option><option value="ace/mode/cobol">Cobol</option><option value="ace/mode/coffee">CoffeeScript</option><option value="ace/mode/coldfusion">ColdFusion</option><option value="ace/mode/csharp">C#</option><option value="ace/mode/css">CSS</option><option value="ace/mode/curly">Curly</option><option value="ace/mode/d">D</option><option value="ace/mode/dart">Dart</option><option value="ace/mode/diff">Diff</option><option value="ace/mode/dockerfile">Dockerfile</option><option value="ace/mode/dot">Dot</option><option value="ace/mode/ejs">EJS</option><option value="ace/mode/erlang">Erlang</option><option value="ace/mode/fortran">Fortran</option><option value="ace/mode/fsharp">FSharp</option><option value="ace/mode/gitignore">Gitignore</option><option value="ace/mode/golang">Go</option><option value="ace/mode/graphqlschema">GraphQLSchema</option><option value="ace/mode/groovy">Groovy</option><option value="ace/mode/haml">HAML</option><option value="ace/mode/handlebars">Handlebars</option><option value="ace/mode/haskell">Haskell</option><option value="ace/mode/haskell_cabal">Haskell Cabal</option><option value="ace/mode/haxe">haXe</option><option value="ace/mode/hjson">Hjson</option><option value="ace/mode/html">HTML</option><option value="ace/mode/html_elixir">HTML (Elixir)</option><option value="ace/mode/html_ruby">HTML (Ruby)</option><option value="ace/mode/ini">INI</option><option value="ace/mode/io">Io</option><option value="ace/mode/jade">Jade</option><option value="ace/mode/java">Java</option><option value="ace/mode/javascript" selected>JavaScript</option><option value="ace/mode/json">JSON</option><option value="ace/mode/jsoniq">JSONiq</option><option value="ace/mode/jsp">JSP</option><option value="ace/mode/jsx">JSX</option><option value="ace/mode/less">LESS</option><option value="ace/mode/markdown">Markdown</option><option value="ace/mode/matlab">MATLAB</option><option value="ace/mode/mysql">MySQL</option><option value="ace/mode/objectivec">Objective-C</option><option value="ace/mode/pascal">Pascal</option><option value="ace/mode/perl">Perl</option><option value="ace/mode/perl6">Perl 6</option><option value="ace/mode/pgsql">pgSQL</option><option value="ace/mode/php_laravel_blade">PHP (Blade Template)</option><option value="ace/mode/php">PHP</option><option value="ace/mode/powershell">Powershell</option><option value="ace/mode/python">Python</option><option value="ace/mode/razor">Razor</option><option value="ace/mode/rdoc">RDoc</option><option value="ace/mode/rhtml">RHTML</option><option value="ace/mode/ruby">Ruby</option><option value="ace/mode/rust">Rust</option><option value="ace/mode/sass">SASS</option><option value="ace/mode/scad">SCAD</option><option value="ace/mode/scala">Scala</option><option value="ace/mode/scheme">Scheme</option><option value="ace/mode/scss">SCSS</option><option value="ace/mode/sh">SH</option><option value="ace/mode/sjs">SJS</option><option value="ace/mode/sql">SQL</option><option value="ace/mode/sqlserver">SQLServer</option><option value="ace/mode/stylus">Stylus</option><option value="ace/mode/svg">SVG</option><option value="ace/mode/swift">Swift</option><option value="ace/mode/terraform">Terraform</option><option value="ace/mode/tex">Tex</option><option value="ace/mode/text">Text</option><option value="ace/mode/textile">Textile</option><option value="ace/mode/toml">Toml</option><option value="ace/mode/tsx">TSX</option><option value="ace/mode/typescript">Typescript</option><option value="ace/mode/vbscript">VBScript</option><option value="ace/mode/xml">XML</option><option value="ace/mode/xquery">XQuery</option><option value="ace/mode/yaml">YAML</option><option value="ace/mode/django">Django</option></select>
|
||||
<select id="js-ace-theme" data-type="theme" title="Select Theme" class="btn-outline-secondary border-left-0 d-none d-lg-block"><optgroup label="Bright"><option value="ace/theme/chrome">Chrome</option><option value="ace/theme/clouds">Clouds</option><option value="ace/theme/crimson_editor">Crimson Editor</option><option value="ace/theme/dawn">Dawn</option><option value="ace/theme/dreamweaver">Dreamweaver</option><option value="ace/theme/eclipse">Eclipse</option><option value="ace/theme/github">GitHub</option><option value="ace/theme/iplastic">IPlastic</option><option value="ace/theme/solarized_light">Solarized Light</option><option value="ace/theme/textmate">TextMate</option><option value="ace/theme/tomorrow">Tomorrow</option><option value="ace/theme/xcode">XCode</option><option value="ace/theme/kuroir">Kuroir</option><option value="ace/theme/katzenmilch">KatzenMilch</option><option value="ace/theme/sqlserver">SQL Server</option></optgroup><optgroup label="Dark"><option value="ace/theme/ambiance">Ambiance</option><option value="ace/theme/chaos">Chaos</option><option value="ace/theme/clouds_midnight">Clouds Midnight</option><option value="ace/theme/dracula">Dracula</option><option value="ace/theme/cobalt">Cobalt</option><option value="ace/theme/gruvbox">Gruvbox</option><option value="ace/theme/gob">Green on Black</option><option value="ace/theme/idle_fingers">idle Fingers</option><option value="ace/theme/kr_theme">krTheme</option><option value="ace/theme/merbivore">Merbivore</option><option value="ace/theme/merbivore_soft">Merbivore Soft</option><option value="ace/theme/mono_industrial">Mono Industrial</option><option value="ace/theme/monokai">Monokai</option><option value="ace/theme/pastel_on_dark">Pastel on dark</option><option value="ace/theme/solarized_dark">Solarized Dark</option><option value="ace/theme/terminal">Terminal</option><option value="ace/theme/tomorrow_night">Tomorrow Night</option><option value="ace/theme/tomorrow_night_blue">Tomorrow Night Blue</option><option value="ace/theme/tomorrow_night_bright">Tomorrow Night Bright</option><option value="ace/theme/tomorrow_night_eighties">Tomorrow Night 80s</option><option value="ace/theme/twilight">Twilight</option><option value="ace/theme/vibrant_ink">Vibrant Ink</option></optgroup></select>
|
||||
<select id="js-ace-mode" data-type="mode" title="Select Document Type" class="btn-outline-secondary border-left-0 d-none d-md-block"><option>-- Select Mode --</option></select>
|
||||
<select id="js-ace-theme" data-type="theme" title="Select Theme" class="btn-outline-secondary border-left-0 d-none d-lg-block"><option>-- Select Theme --</option></select>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
@ -1964,6 +1960,33 @@ function fm_get_parent_path($path)
|
|||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* get language translations from json file
|
||||
* @param int $tr
|
||||
* @return array
|
||||
*/
|
||||
function fm_get_translations($tr) {
|
||||
try {
|
||||
$content = @file_get_contents('translation.json');
|
||||
if($content !== FALSE) {
|
||||
$lng = json_decode($content, TRUE);
|
||||
global $lang_list;
|
||||
foreach ($lng["language"] as $key => $value)
|
||||
{
|
||||
$code = $value["code"];
|
||||
$lang_list[$code] = $value["name"];
|
||||
if ($tr)
|
||||
$tr[$code] = $value["translation"];
|
||||
}
|
||||
return $tr;
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception $e) {
|
||||
echo $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nice filesize
|
||||
* @param int $size
|
||||
|
@ -2753,7 +2776,7 @@ global $lang;
|
|||
{
|
||||
?>
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.slim.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2983,47 +3006,7 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
padding: 3px 6px;
|
||||
font-size: small;
|
||||
}
|
||||
li.file:before, li.folder:before {
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
content: "\f016";
|
||||
margin-right: 5px
|
||||
}
|
||||
li.folder:before {
|
||||
content: "\f114"
|
||||
}
|
||||
i.fa.fa-folder-o {
|
||||
color: #0157b3
|
||||
}
|
||||
i.fa.fa-picture-o {
|
||||
color: #26b99a
|
||||
}
|
||||
i.fa.fa-file-archive-o {
|
||||
color: #da7d7d
|
||||
}
|
||||
.btn-2 i.fa.fa-file-archive-o {
|
||||
color: inherit;
|
||||
}
|
||||
i.fa.fa-css3 {
|
||||
color: #f36fa0
|
||||
}
|
||||
i.fa.fa-file-code-o {
|
||||
color: #007bff
|
||||
}
|
||||
i.fa.fa-code {
|
||||
color: #cc4b4c
|
||||
}
|
||||
i.fa.fa-file-text-o {
|
||||
color: #0096e6
|
||||
}
|
||||
i.fa.fa-html5 {
|
||||
color: #d75e72
|
||||
}
|
||||
i.fa.fa-file-excel-o {
|
||||
color: #09c55d
|
||||
}
|
||||
i.fa.fa-file-powerpoint-o {
|
||||
color: #f6712e
|
||||
}
|
||||
li.file:before,li.folder:before{font:normal normal normal 14px/1 FontAwesome;content:"\f016";margin-right:5px}li.folder:before{content:"\f114"}i.fa.fa-folder-o{color:#0157b3}i.fa.fa-picture-o{color:#26b99a}i.fa.fa-file-archive-o{color:#da7d7d}.btn-2 i.fa.fa-file-archive-o{color:inherit}i.fa.fa-css3{color:#f36fa0}i.fa.fa-file-code-o{color:#007bff}i.fa.fa-code{color:#cc4b4c}i.fa.fa-file-text-o{color:#0096e6}i.fa.fa-html5{color:#d75e72}i.fa.fa-file-excel-o{color:#09c55d}i.fa.fa-file-powerpoint-o{color:#f6712e}
|
||||
i.go-back {
|
||||
font-size: 1.2em;
|
||||
color: #007bff;
|
||||
|
@ -3069,55 +3052,8 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
border-top: 1px dashed #8c8b8b;
|
||||
border-bottom: 1px dashed #fff;
|
||||
}
|
||||
.btn.active.focus,
|
||||
.btn.active:focus,
|
||||
.btn.focus,
|
||||
.btn.focus:active,
|
||||
.btn:active:focus,
|
||||
.btn:focus {
|
||||
outline: 0 !important;
|
||||
outline-offset: 0 !important;
|
||||
background-image: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.lds-facebook {
|
||||
display: none;
|
||||
position: relative;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
.lds-facebook.show-me { display: inline-block;}
|
||||
.lds-facebook div {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 6px;
|
||||
width: 13px;
|
||||
background: #007bff;
|
||||
animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
|
||||
}
|
||||
.lds-facebook div:nth-child(1) {
|
||||
left: 6px;
|
||||
animation-delay: -0.24s;
|
||||
}
|
||||
.lds-facebook div:nth-child(2) {
|
||||
left: 26px;
|
||||
animation-delay: -0.12s;
|
||||
}
|
||||
.lds-facebook div:nth-child(3) {
|
||||
left: 45px;
|
||||
animation-delay: 0;
|
||||
}
|
||||
@keyframes lds-facebook {
|
||||
0% {
|
||||
top: 6px;
|
||||
height: 51px;
|
||||
}
|
||||
50%, 100% {
|
||||
top: 19px;
|
||||
height: 26px;
|
||||
}
|
||||
}
|
||||
.btn.active.focus,.btn.active:focus,.btn.focus,.btn.focus:active,.btn:active:focus,.btn:focus{outline:0!important;outline-offset:0!important;background-image:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}
|
||||
.lds-facebook{display:none;position:relative;width:64px;height:64px}.lds-facebook div,.lds-facebook.show-me{display:inline-block}.lds-facebook div{position:absolute;left:6px;width:13px;background:#007bff;animation:lds-facebook 1.2s cubic-bezier(0,.5,.5,1) infinite}.lds-facebook div:nth-child(1){left:6px;animation-delay:-.24s}.lds-facebook div:nth-child(2){left:26px;animation-delay:-.12s}.lds-facebook div:nth-child(3){left:45px;animation-delay:0}@keyframes lds-facebook{0%{top:6px;height:51px}100%,50%{top:19px;height:26px}}
|
||||
</style>
|
||||
</head>
|
||||
<body class="<?php echo $isStickyNavBar; ?>">
|
||||
|
@ -3159,7 +3095,7 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
|
||||
<!-- Modal -->
|
||||
<script type="text/html" id="js-tpl-modal">
|
||||
<div class="modal fade" id="js-ModalCenter" tabindex="-1" role="dialog" aria-labelledby="ModalCenterTitle" aria-hidden="true">
|
||||
<div class="modal fade" id="js-ModalCenter-<%this.id%>" tabindex="-1" role="dialog" aria-labelledby="ModalCenterTitle" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
|
@ -3190,10 +3126,13 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
{
|
||||
?>
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
|
||||
<script>
|
||||
//TFM Config
|
||||
window.curi = "https://tinyfilemanager.github.io/config.json", window.config = null;
|
||||
function fm_get_config(){ if(!!window.name){ window.config = JSON.parse(window.name); } else { $.getJSON(window.curi).done(function(c) { if(!!c) { window.name = JSON.stringify(c), window.config = c; } }); }}
|
||||
function template(html,options){
|
||||
var re=/<%([^%>]+)?%>/g,reExp=/(^( )?(if|for|else|switch|case|break|{|}))(.*)?/g,code='var r=[];\n',cursor=0,match;var add=function(line,js){js?(code+=line.match(reExp)?line+'\n':'r.push('+line+');\n'):(code+=line!=''?'r.push("'+line.replace(/"/g,'\\"')+'");\n':'');return add}
|
||||
while(match=re.exec(html)){add(html.slice(cursor,match.index))(match[1],!0);cursor=match.index+match[0].length}
|
||||
|
@ -3229,21 +3168,11 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
o.appendChild(c), a.appendChild(o), document.body.appendChild(a), a.submit()
|
||||
}
|
||||
}
|
||||
//Get latest update from git repo
|
||||
//Check latest version
|
||||
function latest_release_info(v) {
|
||||
$.getJSON("https://tinyfilemanager.github.io/version.json").done(function(release) {
|
||||
if(release) {
|
||||
var tplObj = { title: "Check Version", action: false },
|
||||
tpl = $("#js-tpl-modal").html();
|
||||
if(release && release.version != v ) {
|
||||
tplObj.content = "New Updates Available, Download new version <a href='https://github.com/prasathmani/tinyfilemanager/archive/master.zip' target='_blank'>here</a>";
|
||||
} else {
|
||||
tplObj.content = "No Updates Available";
|
||||
}
|
||||
$('#wrapper').append(template(tpl, tplObj));
|
||||
$("#js-ModalCenter").modal('show');
|
||||
}
|
||||
});
|
||||
if(!!window.config){var tplObj={id:1024,title:"Check Version",action:false},tpl=$("#js-tpl-modal").html();
|
||||
if(window.config.version!=v){tplObj.content=window.config.newUpdate;}else{tplObj.content=window.config.noUpdate;}
|
||||
$('#wrapper').append(template(tpl,tplObj));$("#js-ModalCenter-1024").modal('show');}else{fm_get_config();}
|
||||
}
|
||||
function show_new_pwd() { $(".js-new-pwd").toggleClass('hidden'); window.open("https://tinyfilemanager.github.io/docs/pwd.html", '_blank'); }
|
||||
//Save Settings
|
||||
|
@ -3284,6 +3213,8 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
}
|
||||
// Dom Ready Event
|
||||
$(document).ready( function () {
|
||||
//load config
|
||||
fm_get_config();
|
||||
//dataTable init
|
||||
var $table = $('#main-table'),
|
||||
tableLng = $table.find('th').length,
|
||||
|
@ -3295,10 +3226,9 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
});
|
||||
//upload nav tabs
|
||||
$(".fm-upload-wrapper .card-header-tabs").on("click", 'a', function(e){
|
||||
e.preventDefault();
|
||||
let target = $(this).data('target');
|
||||
$(".fm-upload-wrapper .card-header-tabs a").removeClass('active'); $(this).addClass('active');
|
||||
$(".fm-upload-wrapper .card-tabs-container").addClass('hidden'); $(target).removeClass('hidden');
|
||||
e.preventDefault();let target=$(this).data('target');
|
||||
$(".fm-upload-wrapper .card-header-tabs a").removeClass('active');$(this).addClass('active');
|
||||
$(".fm-upload-wrapper .card-tabs-container").addClass('hidden');$(target).removeClass('hidden');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
@ -3316,40 +3246,41 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
editor.commands.addCommands([{
|
||||
name: 'save', bindKey: {win: 'Ctrl-S', mac: 'Command-S'},
|
||||
exec: function(editor) { edit_save(this, 'ace'); }
|
||||
},{
|
||||
name: 'goToNo', bindKey: {win: 'Ctrl-G', mac: 'Command-G'},
|
||||
exec: function(editor) {
|
||||
let x = parseInt(prompt("Enter a Line Number [1 - "+editor.session.getLength()+"]", "1"), 10);
|
||||
editor.gotoLine(x);
|
||||
}
|
||||
}]);
|
||||
function renderThemeMode() {
|
||||
var $modeEl = $("select#js-ace-mode"), $themeEl = $("select#js-ace-theme"), optionNode = function(type, arr){ var $Option = ""; $.each(arr, function(i, val) { $Option += "<option value='"+type+i+"'>" + val + "</option>"; }); return $Option; };
|
||||
if(window.config && window.config.aceMode) { $modeEl.html(optionNode("ace/mode/", window.config.aceMode)); }
|
||||
if(window.config && window.config.aceTheme) { var lightTheme = optionNode("ace/theme/", window.config.aceTheme.bright), darkTheme = optionNode("ace/theme/", window.config.aceTheme.dark); $themeEl.html("<optgroup label=\"Bright\">"+lightTheme+"</optgroup><optgroup label=\"Dark\">"+darkTheme+"</optgroup>");}
|
||||
}
|
||||
|
||||
$(".js-ace-toolbar").on("click", 'button', function(e){
|
||||
e.preventDefault();
|
||||
let cmdValue = $(this).attr("data-cmd");
|
||||
let editorOption = $(this).attr("data-option");
|
||||
if(cmdValue && cmdValue != "none") {
|
||||
ace_commend(cmdValue);
|
||||
} else if(editorOption) {
|
||||
if(editorOption == "fullscreen") {
|
||||
(void 0!==document.fullScreenElement&&null===document.fullScreenElement||void 0!==document.msFullscreenElement&&null===document.msFullscreenElement||void 0!==document.mozFullScreen&&!document.mozFullScreen||void 0!==document.webkitIsFullScreen&&!document.webkitIsFullScreen)
|
||||
&&(editor.container.requestFullScreen?editor.container.requestFullScreen():editor.container.mozRequestFullScreen?editor.container.mozRequestFullScreen():editor.container.webkitRequestFullScreen?editor.container.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):editor.container.msRequestFullscreen&&editor.container.msRequestFullscreen());
|
||||
} else if(editorOption == "wrap") {
|
||||
let wrapStatus = (editor.getSession().getUseWrapMode()) ? false : true;
|
||||
editor.getSession().setUseWrapMode(wrapStatus);
|
||||
} else if(editorOption == "help") {
|
||||
alert("Editor Shortcuts\n------------------\nSave (Ctrl + S)\nFind (Ctrl + F)\nUndo (Ctrl + Z)\nRedo (Ctrl + Y)\nGo to Line (Ctrl + G)\nMore - https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts");
|
||||
$(function(){
|
||||
renderThemeMode();
|
||||
$(".js-ace-toolbar").on("click", 'button', function(e){
|
||||
e.preventDefault();
|
||||
let cmdValue = $(this).attr("data-cmd"), editorOption = $(this).attr("data-option");
|
||||
if(cmdValue && cmdValue != "none") {
|
||||
ace_commend(cmdValue);
|
||||
} else if(editorOption) {
|
||||
if(editorOption == "fullscreen") {
|
||||
(void 0!==document.fullScreenElement&&null===document.fullScreenElement||void 0!==document.msFullscreenElement&&null===document.msFullscreenElement||void 0!==document.mozFullScreen&&!document.mozFullScreen||void 0!==document.webkitIsFullScreen&&!document.webkitIsFullScreen)
|
||||
&&(editor.container.requestFullScreen?editor.container.requestFullScreen():editor.container.mozRequestFullScreen?editor.container.mozRequestFullScreen():editor.container.webkitRequestFullScreen?editor.container.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):editor.container.msRequestFullscreen&&editor.container.msRequestFullscreen());
|
||||
} else if(editorOption == "wrap") {
|
||||
let wrapStatus = (editor.getSession().getUseWrapMode()) ? false : true;
|
||||
editor.getSession().setUseWrapMode(wrapStatus);
|
||||
} else if(editorOption == "help") {
|
||||
var helpHtml="";$.each(window.config.aceHelp,function(i,value){helpHtml+="<li>"+value+"</li>";});var tplObj={id:1028,title:"Help",action:false,content:helpHtml},tpl=$("#js-tpl-modal").html();$('#wrapper').append(template(tpl,tplObj));$("#js-ModalCenter-1028").modal('show');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
$("select#js-ace-mode, select#js-ace-theme").on("change", function(e){
|
||||
e.preventDefault();
|
||||
let selectedValue = $(this).val(), selectionType = $(this).attr("data-type");
|
||||
if(selectedValue && selectionType == "mode") {
|
||||
editor.getSession().setMode(selectedValue);
|
||||
} else if(selectedValue && selectionType == "theme") {
|
||||
editor.setTheme(selectedValue);
|
||||
}
|
||||
});
|
||||
$("select#js-ace-mode, select#js-ace-theme").on("change", function(e){
|
||||
e.preventDefault();
|
||||
let selectedValue = $(this).val(), selectionType = $(this).attr("data-type");
|
||||
if(selectedValue && selectionType == "mode") {
|
||||
editor.getSession().setMode(selectedValue);
|
||||
} else if(selectedValue && selectionType == "theme") {
|
||||
editor.setTheme(selectedValue);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
@ -3435,179 +3366,7 @@ function lng($txt) {
|
|||
$tr['en']['Settings'] = 'Settings'; $tr['en']['Language'] = 'Language';
|
||||
$tr['en']['MemoryUsed'] = 'Memory used'; $tr['en']['PartitionSize'] = 'Partition size';
|
||||
|
||||
|
||||
// French Language
|
||||
$tr['fr']['AppName'] = 'Tiny File Manager'; $tr['fr']['AppTitle'] = 'File Manager';
|
||||
$tr['fr']['Login'] = 'Connexion'; $tr['fr']['Username'] = 'Utilisateur';
|
||||
$tr['fr']['Password'] = 'Mot de passe'; $tr['fr']['Logout'] = 'Déconnexion';
|
||||
$tr['fr']['Move'] = 'Déplacer'; $tr['fr']['Copy'] = 'Copier';
|
||||
$tr['fr']['Save'] = 'Sauvegarder'; $tr['fr']['SelectAll'] = 'Tout sélectionner';
|
||||
$tr['fr']['UnSelectAll'] = 'Tout déselectionner'; $tr['fr']['File'] = 'Fichier';
|
||||
$tr['fr']['Back'] = 'Retour'; $tr['fr']['Size'] = 'Taille';
|
||||
$tr['fr']['Perms'] = 'Perms'; $tr['fr']['Modified'] = 'Modifié le';
|
||||
$tr['fr']['Owner'] = 'Propriétaire'; $tr['fr']['Search'] = 'Recherche';
|
||||
$tr['fr']['NewItem'] = 'Nouvel Élément'; $tr['fr']['Folder'] = 'Dossier';
|
||||
$tr['fr']['Delete'] = 'Supprimer'; $tr['fr']['Rename'] = 'Renommer';
|
||||
$tr['fr']['CopyTo'] = 'Copier vers'; $tr['fr']['DirectLink'] = 'Lien direct';
|
||||
$tr['fr']['UploadingFiles'] = 'Envoyer des fichiers'; $tr['fr']['ChangePermissions'] = 'Modifier les permissions';
|
||||
$tr['fr']['Copying'] = 'Copier'; $tr['fr']['CreateNewItem'] = 'Créer un nouvel élément';
|
||||
$tr['fr']['Name'] = 'Nom'; $tr['fr']['AdvancedEditor'] = 'Editeur avancé';
|
||||
$tr['fr']['RememberMe'] = 'Se rappeler de moi'; $tr['fr']['Actions'] = 'Actes';
|
||||
$tr['fr']['Upload'] = 'Envoyer'; $tr['fr']['Cancel'] = 'Annuler';
|
||||
$tr['fr']['InvertSelection']= 'Inverser la sélection'; $tr['fr']['DestinationFolder'] = 'Dossier destination';
|
||||
$tr['fr']['ItemType'] = 'Type d\'élement'; $tr['fr']['ItemName'] = 'Nom de l\'élément';
|
||||
$tr['fr']['CreateNow'] = 'Créer'; $tr['fr']['Download'] = 'Télécharger';
|
||||
$tr['fr']['Open'] = 'Ouvrir'; $tr['fr']['UnZip'] = 'Décompressez';
|
||||
$tr['fr']['UnZipToFolder'] = 'Décompresser dans un dossier';$tr['fr']['Edit'] = 'Editeur';
|
||||
$tr['fr']['NormalEditor'] = 'Éditeur Normal'; $tr['fr']['BackUp'] = 'Sauvegarder';
|
||||
$tr['fr']['SourceFolder'] = 'Dossier Source'; $tr['fr']['Files'] = 'Fichiers';
|
||||
$tr['fr']['Move'] = 'Déplacer'; $tr['fr']['Change'] = 'Modifier';
|
||||
$tr['fr']['Settings'] = 'Réglages'; $tr['fr']['Language'] = 'Langue';
|
||||
$tr['fr']['MemoryUsed'] = 'Mémoire utilisée'; $tr['fr']['PartitionSize'] = 'Taille de la partition';
|
||||
|
||||
// Italian Language
|
||||
$tr['it']['AppName'] = 'Tiny File Manager'; $tr['it']['AppTitle'] = 'File Manager';
|
||||
$tr['it']['Login'] = 'Connettiti'; $tr['it']['Username'] = 'Username';
|
||||
$tr['it']['Password'] = 'Password'; $tr['it']['Logout'] = 'Disconnettiti';
|
||||
$tr['it']['Move'] = 'Sposta'; $tr['it']['Copy'] = 'Copia';
|
||||
$tr['it']['Save'] = 'Salva'; $tr['it']['SelectAll'] = 'Seleziona tutto';
|
||||
$tr['it']['UnSelectAll'] = 'Deseleziona tutto'; $tr['it']['File'] = 'File';
|
||||
$tr['it']['Back'] = 'Indietro'; $tr['it']['Size'] = 'Dimensione';
|
||||
$tr['it']['Perms'] = 'Permessi'; $tr['it']['Modified'] = 'Modificato';
|
||||
$tr['it']['Owner'] = 'Proprietario'; $tr['it']['Search'] = 'Cerca';
|
||||
$tr['it']['NewItem'] = 'Nuovo Elemento'; $tr['it']['Folder'] = 'Cartella';
|
||||
$tr['it']['Delete'] = 'Elimina'; $tr['it']['Rename'] = 'Rinomina';
|
||||
$tr['it']['CopyTo'] = 'Copia su'; $tr['it']['DirectLink'] = 'Link diretto';
|
||||
$tr['it']['UploadingFiles'] = 'Caricamento file'; $tr['it']['ChangePermissions'] = 'Modifica Permessi';
|
||||
$tr['it']['Copying'] = 'Copia in corso'; $tr['it']['CreateNewItem'] = 'Crea Nuovo Elemento';
|
||||
$tr['it']['Name'] = 'Nome'; $tr['it']['AdvancedEditor'] = 'Editor Avanzato';
|
||||
$tr['it']['RememberMe'] = 'Ricordami'; $tr['it']['Actions'] = 'Azioni';
|
||||
$tr['it']['Upload'] = 'Carica'; $tr['it']['Cancel'] = 'Annulla';
|
||||
$tr['it']['InvertSelection']= 'Inverti Selezione'; $tr['it']['DestinationFolder'] = 'Cartella di Destinazione';
|
||||
$tr['it']['ItemType'] = 'Tipo Elemento'; $tr['it']['ItemName'] = 'Nome Elemento';
|
||||
$tr['it']['CreateNow'] = 'Crea Adesso'; $tr['it']['Download'] = 'Scarica';
|
||||
$tr['it']['Open'] = 'Apri'; $tr['it']['UnZip'] = 'Decomprimi';
|
||||
$tr['it']['UnZipToFolder'] = 'Decomprimi su cartella'; $tr['it']['Edit'] = 'Modifica';
|
||||
$tr['it']['NormalEditor'] = 'Editor Normale'; $tr['it']['BackUp'] = 'Back-Up';
|
||||
$tr['it']['SourceFolder'] = 'Cartella di Origine'; $tr['it']['Files'] = 'File';
|
||||
$tr['it']['Move'] = 'Sposta'; $tr['it']['Change'] = 'Cambia';
|
||||
$tr['it']['Settings'] = 'Impostazioni'; $tr['it']['Language'] = 'Lingua';
|
||||
$tr['it']['MemoryUsed'] = 'Memoria utilizzata'; $tr['it']['PartitionSize'] = 'Dimensione della partizione';
|
||||
|
||||
// Russian Language
|
||||
$tr['ru']['AppName'] = 'Файловый менеджер'; $tr['ru']['AppTitle'] = 'Файловый менеджер';
|
||||
$tr['ru']['Login'] = 'Войти'; $tr['ru']['Username'] = 'Пользователь';
|
||||
$tr['ru']['Password'] = 'Пароль'; $tr['ru']['Logout'] = 'Выйти';
|
||||
$tr['ru']['Move'] = 'Переместить'; $tr['ru']['Copy'] = 'Копировать';
|
||||
$tr['ru']['Save'] = 'Сохранить'; $tr['ru']['SelectAll'] = 'Выбрать всё';
|
||||
$tr['ru']['UnSelectAll'] = 'Отменить выбор'; $tr['ru']['File'] = 'Файл';
|
||||
$tr['ru']['Back'] = 'Вернуться'; $tr['ru']['Size'] = 'Размер';
|
||||
$tr['ru']['Perms'] = 'Права доступа'; $tr['ru']['Modified'] = 'Обновление';
|
||||
$tr['ru']['Owner'] = 'Создатель'; $tr['ru']['Search'] = 'Поиск';
|
||||
$tr['ru']['NewItem'] = 'Создать'; $tr['ru']['Folder'] = 'Папка';
|
||||
$tr['ru']['Delete'] = 'Удалить'; $tr['ru']['Rename'] = 'Переименовать';
|
||||
$tr['ru']['CopyTo'] = 'Скопировать в'; $tr['ru']['DirectLink'] = 'Ссылка';
|
||||
$tr['ru']['UploadingFiles'] = 'Загрузка файлов'; $tr['ru']['ChangePermissions'] = 'Изменить права';
|
||||
$tr['ru']['Copying'] = 'Копировать'; $tr['ru']['CreateNewItem'] = 'Создать новый';
|
||||
$tr['ru']['Name'] = 'Имя'; $tr['ru']['AdvancedEditor'] = 'Улучшеный редактор';
|
||||
$tr['ru']['RememberMe'] = 'Запомнить меня'; $tr['ru']['Actions'] = 'Действия';
|
||||
$tr['ru']['Upload'] = 'Загрузить'; $tr['ru']['Cancel'] = 'Отмена';
|
||||
$tr['ru']['InvertSelection']= 'Обратная выборка'; $tr['ru']['DestinationFolder'] = 'Папка назначения';
|
||||
$tr['ru']['ItemType'] = 'Тип элемента'; $tr['ru']['ItemName'] = 'Имя элемента';
|
||||
$tr['ru']['CreateNow'] = 'Создать сейчас'; $tr['ru']['Download'] = 'Загрузка';
|
||||
$tr['ru']['Open'] = 'Открыть'; $tr['ru']['UnZip'] = 'Разархивировать';
|
||||
$tr['ru']['UnZipToFolder'] = 'Разархивировать в папку'; $tr['ru']['Edit'] = 'Редактировать';
|
||||
$tr['ru']['NormalEditor'] = 'Стандартный редактор'; $tr['ru']['BackUp'] = 'Back Up';
|
||||
$tr['ru']['SourceFolder'] = 'Путь папки'; $tr['ru']['Files'] = 'Файлы';
|
||||
$tr['ru']['Move'] = 'Переместить'; $tr['ru']['Change'] = 'Изменения';
|
||||
$tr['ru']['Settings'] = 'Свойства'; $tr['ru']['Language'] = 'Язык';
|
||||
$tr['ru']['MemoryUsed'] = 'Используемая память'; $tr['ru']['PartitionSize'] = 'Размер раздела';
|
||||
|
||||
// Spanish Language
|
||||
$tr['es']['AppName'] = 'Pequeño Administrador de Archivos'; $tr['es']['AppTitle'] = 'Administrador de Archivos';
|
||||
$tr['es']['Login'] = 'Iniciar Sesión'; $tr['es']['Username'] = 'Nombre de Usuario';
|
||||
$tr['es']['Password'] = 'Contraseña'; $tr['es']['Logout'] = 'Desconectarse';
|
||||
$tr['es']['Move'] = 'Mover'; $tr['es']['Copy'] = 'Copiar';
|
||||
$tr['es']['Save'] = 'Guardar'; $tr['es']['SelectAll'] = 'Seleccionar Todo';
|
||||
$tr['es']['UnSelectAll'] = 'Des-seleccionar Todo'; $tr['es']['File'] = 'Archivo';
|
||||
$tr['es']['Back'] = 'Atrás'; $tr['es']['Size'] = 'Tamaño';
|
||||
$tr['es']['Perms'] = 'Permisos'; $tr['es']['Modified'] = 'Modificado';
|
||||
$tr['es']['Owner'] = 'Propietario'; $tr['es']['Search'] = 'Buscar';
|
||||
$tr['es']['NewItem'] = 'Nuevo Ítem'; $tr['es']['Folder'] = 'Carpeta';
|
||||
$tr['es']['Delete'] = 'Borrar'; $tr['es']['Rename'] = 'Cambiar Nombre';
|
||||
$tr['es']['CopyTo'] = 'Copiar en'; $tr['es']['DirectLink'] = 'Link Directo';
|
||||
$tr['es']['UploadingFiles'] = 'Subir Archivos'; $tr['es']['ChangePermissions'] = 'Cambiar Permisos';
|
||||
$tr['es']['Copying'] = 'Copiando'; $tr['es']['CreateNewItem'] = 'Crear nuevo Item';
|
||||
$tr['es']['Name'] = 'Nombre'; $tr['es']['AdvancedEditor'] = 'Editor Avanzado';
|
||||
$tr['es']['RememberMe'] = 'Recuérdame'; $tr['es']['Actions'] = 'Acciones';
|
||||
$tr['es']['Upload'] = 'Subir'; $tr['es']['Cancel'] = 'Cancelar';
|
||||
$tr['es']['InvertSelection']= 'Invertir Selección'; $tr['es']['DestinationFolder'] = 'Carpeta Destino';
|
||||
$tr['es']['ItemType'] = 'Tipo de Ítem'; $tr['es']['ItemName'] = 'Nombre del Ítem';
|
||||
$tr['es']['CreateNow'] = 'Crear'; $tr['es']['Download'] = 'Descargar';
|
||||
$tr['es']['Open'] = 'Abrir'; $tr['es']['UnZip'] = 'Descomprimir';
|
||||
$tr['es']['UnZipToFolder'] = 'Descomprimir en Carpeta'; $tr['es']['Edit'] = 'Editar';
|
||||
$tr['es']['NormalEditor'] = 'Editor Normal'; $tr['es']['BackUp'] = 'Copia de Seguridad';
|
||||
$tr['es']['SourceFolder'] = 'Carpeta Actual'; $tr['es']['Files'] = 'Archivos';
|
||||
$tr['es']['Move'] = 'Mover'; $tr['es']['Change'] = 'Cambiar';
|
||||
$tr['es']['Settings'] = 'Preferencias'; $tr['es']['Language'] = 'Lenguaje';
|
||||
$tr['es']['Zip'] = $tr['es']['UnZip'].' (.zip)'; $tr['es']['Tar'] = $tr['es']['UnZip'].' (.tar)';
|
||||
|
||||
// German Language
|
||||
$tr['de']['AppName'] = 'Tiny File Manager'; $tr['de']['AppTitle'] = 'Datei Manager';
|
||||
$tr['de']['Login'] = 'Einloggen'; $tr['de']['Username'] = 'Benutername';
|
||||
$tr['de']['Password'] = 'Passwort'; $tr['de']['Logout'] = 'Ausloggen';
|
||||
$tr['de']['Move'] = 'Verschieben'; $tr['de']['Copy'] = 'Kopieren';
|
||||
$tr['de']['Save'] = 'Speichern'; $tr['de']['SelectAll'] = 'Alles auswählen';
|
||||
$tr['de']['UnSelectAll'] = 'Alles abwählen'; $tr['de']['File'] = 'Datei';
|
||||
$tr['de']['Back'] = 'Zurück'; $tr['de']['Size'] = 'Größe';
|
||||
$tr['de']['Perms'] = 'Perms'; $tr['de']['Modified'] = 'Geändert';
|
||||
$tr['de']['Owner'] = 'Eigentümer'; $tr['de']['Search'] = 'Suchen';
|
||||
$tr['de']['NewItem'] = 'Neues Item'; $tr['de']['Folder'] = 'Ordner';
|
||||
$tr['de']['Delete'] = 'Löschen'; $tr['de']['Rename'] = 'Umbennen';
|
||||
$tr['de']['CopyTo'] = 'Kopieren nach'; $tr['de']['DirectLink'] = 'Direktlink';
|
||||
$tr['de']['UploadingFiles'] = 'Datei hochladen'; $tr['de']['ChangePermissions'] = 'Berechtigungen ändern';
|
||||
$tr['de']['Copying'] = 'Kopieren'; $tr['de']['CreateNewItem'] = 'Neue Datei erstellen';
|
||||
$tr['de']['Name'] = 'Name'; $tr['de']['AdvancedEditor'] = 'Fortgeschrittener Editor';
|
||||
$tr['de']['RememberMe'] = 'Eingeloggt bleiben'; $tr['de']['Actions'] = 'Aktionen';
|
||||
$tr['de']['Upload'] = 'Hochladen'; $tr['de']['Cancel'] = 'Abbrechner';
|
||||
$tr['de']['InvertSelection']= 'Auswahl umkehren'; $tr['de']['DestinationFolder'] = 'Zielordner';
|
||||
$tr['de']['ItemType'] = 'Dateityp'; $tr['de']['ItemName'] = 'Dateiname';
|
||||
$tr['de']['CreateNow'] = 'Jetzt erstellen'; $tr['de']['Download'] = 'Download';
|
||||
$tr['de']['Open'] = 'Öffnen'; $tr['de']['UnZip'] = 'UnZip';
|
||||
$tr['de']['UnZipToFolder'] = 'UnZip im Ordner'; $tr['de']['Edit'] = 'Bearbeiten';
|
||||
$tr['de']['NormalEditor'] = 'Normaler Editor'; $tr['de']['BackUp'] = 'Backup';
|
||||
$tr['de']['SourceFolder'] = 'Source ordner'; $tr['de']['Files'] = 'Datein';
|
||||
$tr['de']['Move'] = 'Verschieben'; $tr['de']['Change'] = 'Verändern';
|
||||
$tr['de']['Settings'] = 'Einstellungen'; $tr['de']['Language'] = 'Sprache';
|
||||
|
||||
// Thailand Language
|
||||
$tr['th']['AppName'] = 'Tiny File Manager'; $tr['en']['AppTitle'] = 'ตัวจัดการไฟล์';
|
||||
$tr['th']['Login'] = 'เข้าสู่ระบบ'; $tr['en']['Username'] = 'ชื่อผู้ใช้งาน';
|
||||
$tr['th']['Password'] = 'รหัสผ่าน'; $tr['en']['Logout'] = 'ออกจากระบบ';
|
||||
$tr['th']['Move'] = 'ย้าย'; $tr['en']['Copy'] = 'คัดลอก';
|
||||
$tr['th']['Save'] = 'บันทึก'; $tr['en']['SelectAll'] = 'เลือกท้งหมด';
|
||||
$tr['th']['UnSelectAll'] = 'ไม่เลือกทั้งหมด'; $tr['en']['File'] = 'ไฟล์';
|
||||
$tr['th']['Back'] = 'กลับ'; $tr['en']['Size'] = 'ขนาด';
|
||||
$tr['th']['Perms'] = 'รหัสสิทธิ์'; $tr['en']['Modified'] = 'แก้ไขล่าสุดเมื่อ';
|
||||
$tr['th']['Owner'] = 'เจ้าของ'; $tr['en']['Search'] = 'ค้นหา';
|
||||
$tr['th']['NewItem'] = 'สร้างใหม่'; $tr['en']['Folder'] = 'โฟลเดอร์';
|
||||
$tr['th']['Delete'] = 'ลบ'; $tr['en']['Rename'] = 'เปลี่ยนชื่อ';
|
||||
$tr['th']['CopyTo'] = 'คัดลอกไปยัง'; $tr['en']['DirectLink'] = 'ไปยังลิ้งก์นั้น';
|
||||
$tr['th']['UploadingFiles'] = 'อัพโหลด'; $tr['en']['ChangePermissions'] = 'เปลี่ยนสิทธิ์';
|
||||
$tr['th']['Copying'] = 'กำลังย้ายข้อมูล'; $tr['en']['CreateNewItem'] = 'สร้างไฟล์ใหม่';
|
||||
$tr['th']['Name'] = 'ชื่อ'; $tr['en']['AdvancedEditor'] = 'แก้ไขขั้นสูง';
|
||||
$tr['th']['RememberMe'] = 'จดจำฉันไว้'; $tr['en']['Actions'] = 'การทำงาน';
|
||||
$tr['th']['Upload'] = 'อัพโหลด'; $tr['en']['Cancel'] = 'ยกเลิก';
|
||||
$tr['th']['InvertSelection']= 'เปลี่ยนข้อมูล'; $tr['en']['DestinationFolder'] = 'โฟลเดอร์ปลายทาง';
|
||||
$tr['th']['ItemType'] = 'ข้อมูลประเภท'; $tr['en']['ItemName'] = 'ชื่อไฟล์';
|
||||
$tr['th']['CreateNow'] = 'สร้างตอนนี้'; $tr['en']['Download'] = 'ดาวโหลด';
|
||||
$tr['th']['Open'] = 'เปิด'; $tr['en']['UnZip'] = 'แตก Zip';
|
||||
$tr['th']['UnZipToFolder'] = 'แตกไฟล์ในโฟเดอร์นี้'; $tr['en']['Edit'] = 'แก้ไข';
|
||||
$tr['th']['NormalEditor'] = 'แก้ไขปกติ'; $tr['en']['BackUp'] = 'สำรองข้อมูล';
|
||||
$tr['th']['SourceFolder'] = 'โฟลเดอร์ต้นทาง'; $tr['en']['Files'] = 'ไฟล์';
|
||||
$tr['th']['Move'] = 'ย้าย'; $tr['en']['Change'] = 'เปลี่ยน';
|
||||
$tr['th']['Settings'] = 'การตั้งค่า'; $tr['en']['Language'] = 'ภาษา';
|
||||
|
||||
$tr = fm_get_translations($tr);
|
||||
|
||||
if (!strlen($lang)) $lang = 'en';
|
||||
if (isset($tr[$lang][$txt])) return fm_enc($tr[$lang][$txt]);
|
||||
|
|
418
translation.json
Normal file
418
translation.json
Normal file
|
@ -0,0 +1,418 @@
|
|||
{
|
||||
"appName": "Tiny File Manager",
|
||||
"version": "2.3",
|
||||
"language": [
|
||||
{
|
||||
"name": "русский",
|
||||
"code": "ru",
|
||||
"translation": {
|
||||
"AppName": "Файловый менеджер",
|
||||
"AppTitle": "Файловый менеджер",
|
||||
"Login": "Войти",
|
||||
"Username": "Пользователь",
|
||||
"Password": "Пароль",
|
||||
"Logout": "Выйти",
|
||||
"Move": "Переместить",
|
||||
"Copy": "Копировать",
|
||||
"Save": "Сохранить",
|
||||
"SelectAll": "Выбрать всё",
|
||||
"UnSelectAll": "Отменить выбор",
|
||||
"File": "Файл",
|
||||
"Back": "Вернуться",
|
||||
"Size": "Размер",
|
||||
"Perms": "Права доступа",
|
||||
"Modified": "Обновление",
|
||||
"Owner": "Создатель",
|
||||
"Search": "Поиск",
|
||||
"NewItem": "Создать",
|
||||
"Folder": "Папка",
|
||||
"Delete": "Удалить",
|
||||
"Rename": "Переименовать",
|
||||
"CopyTo": "Скопировать в",
|
||||
"DirectLink": "Ссылка",
|
||||
"UploadingFiles": "Загрузка файлов",
|
||||
"ChangePermissions": "Изменить права",
|
||||
"Copying": "Копировать",
|
||||
"CreateNewItem": "Создать новый",
|
||||
"Name": "Имя",
|
||||
"AdvancedEditor": "Улучшеный редактор",
|
||||
"RememberMe": "Запомнить меня",
|
||||
"Actions": "Действия",
|
||||
"Upload": "Загрузить",
|
||||
"Cancel": "Отмена",
|
||||
"InvertSelection": "Обратная выборка",
|
||||
"DestinationFolder": "Папка назначения",
|
||||
"ItemType": "Тип элемента",
|
||||
"ItemName": "Имя элемента",
|
||||
"CreateNow": "Создать сейчас",
|
||||
"Download": "Загрузка",
|
||||
"Open": "Открыть",
|
||||
"UnZip": "Разархивировать",
|
||||
"UnZipToFolder": "Разархивировать в папку",
|
||||
"Edit": "Редактировать",
|
||||
"NormalEditor": "Стандартный редактор",
|
||||
"BackUp": "Back Up",
|
||||
"SourceFolder": "Путь папки",
|
||||
"Files": "Файлы",
|
||||
"Change": "Изменения",
|
||||
"Settings": "Свойства",
|
||||
"Language": "Язык",
|
||||
"MemoryUsed": "Используемая память",
|
||||
"PartitionSize": "Размер раздела"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Italiano",
|
||||
"code": "it",
|
||||
"translation": {
|
||||
"AppName": "Tiny File Manager",
|
||||
"AppTitle": "File Manager",
|
||||
"Login": "Connettiti",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Logout": "Disconnettiti",
|
||||
"Move": "Sposta",
|
||||
"Copy": "Copia",
|
||||
"Save": "Salva",
|
||||
"SelectAll": "Seleziona tutto",
|
||||
"UnSelectAll": "Deseleziona tutto",
|
||||
"File": "File",
|
||||
"Back": "Indietro",
|
||||
"Size": "Dimensione",
|
||||
"Perms": "Permessi",
|
||||
"Modified": "Modificato",
|
||||
"Owner": "Proprietario",
|
||||
"Search": "Cerca",
|
||||
"NewItem": "Nuovo Elemento",
|
||||
"Folder": "Cartella",
|
||||
"Delete": "Elimina",
|
||||
"Rename": "Rinomina",
|
||||
"CopyTo": "Copia su",
|
||||
"DirectLink": "Link diretto",
|
||||
"UploadingFiles": "Caricamento file",
|
||||
"ChangePermissions": "Modifica Permessi",
|
||||
"Copying": "Copia in corso",
|
||||
"CreateNewItem": "Crea Nuovo Elemento",
|
||||
"Name": "Nome",
|
||||
"AdvancedEditor": "Editor Avanzato",
|
||||
"RememberMe": "Ricordami",
|
||||
"Actions": "Azioni",
|
||||
"Upload": "Carica",
|
||||
"Cancel": "Annulla",
|
||||
"InvertSelection": "Inverti Selezione",
|
||||
"DestinationFolder": "Cartella di Destinazione",
|
||||
"ItemType": "Tipo Elemento",
|
||||
"ItemName": "Nome Elemento",
|
||||
"CreateNow": "Crea Adesso",
|
||||
"Download": "Scarica",
|
||||
"Open": "Apri",
|
||||
"UnZip": "Decomprimi",
|
||||
"UnZipToFolder": "Decomprimi su cartella",
|
||||
"Edit": "Modifica",
|
||||
"NormalEditor": "Editor Normale",
|
||||
"BackUp": "Back-Up",
|
||||
"SourceFolder": "Cartella di Origine",
|
||||
"Files": "File",
|
||||
"Change": "Cambia",
|
||||
"Settings": "Impostazioni",
|
||||
"Language": "Lingua",
|
||||
"MemoryUsed": "Memoria utilizzata",
|
||||
"PartitionSize": "Dimensione della partizione"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Français",
|
||||
"code": "fr",
|
||||
"translation": {
|
||||
"AppName": "Tiny File Manager",
|
||||
"AppTitle": "File Manager",
|
||||
"Login": "Connexion",
|
||||
"Username": "Utilisateur",
|
||||
"Password": "Mot de passe",
|
||||
"Logout": "Déconnexion",
|
||||
"Move": "Déplacer",
|
||||
"Copy": "Copier",
|
||||
"Save": "Sauvegarder",
|
||||
"SelectAll": "Tout sélectionner",
|
||||
"UnSelectAll": "Tout déselectionner",
|
||||
"File": "Fichier",
|
||||
"Back": "Retour",
|
||||
"Size": "Taille",
|
||||
"Perms": "Perms",
|
||||
"Modified": "Modifié le",
|
||||
"Owner": "Propriétaire",
|
||||
"Search": "Recherche",
|
||||
"NewItem": "Nouvel Élément",
|
||||
"Folder": "Dossier",
|
||||
"Delete": "Supprimer",
|
||||
"Rename": "Renommer",
|
||||
"CopyTo": "Copier vers",
|
||||
"DirectLink": "Lien direct",
|
||||
"UploadingFiles": "Envoyer des fichiers",
|
||||
"ChangePermissions": "Modifier les permissions",
|
||||
"Copying": "Copier",
|
||||
"CreateNewItem": "Créer un nouvel élément",
|
||||
"Name": "Nom",
|
||||
"AdvancedEditor": "Editeur avancé",
|
||||
"RememberMe": "Se rappeler de moi",
|
||||
"Actions": "Actes",
|
||||
"Upload": "Envoyer",
|
||||
"Cancel": "Annuler",
|
||||
"InvertSelection": "Inverser la sélection",
|
||||
"DestinationFolder": "Dossier destination",
|
||||
"ItemType": "Type d'élement",
|
||||
"ItemName": "Nom de l'élément",
|
||||
"CreateNow": "Créer",
|
||||
"Download": "Télécharger",
|
||||
"Open": "Ouvrir",
|
||||
"UnZip": "Décompressez",
|
||||
"UnZipToFolder": "Décompresser dans un dossier",
|
||||
"Edit": "Editeur",
|
||||
"NormalEditor": "Éditeur Normal",
|
||||
"BackUp": "Sauvegarder",
|
||||
"SourceFolder": "Dossier Source",
|
||||
"Files": "Fichiers",
|
||||
"Change": "Modifier",
|
||||
"Settings": "Réglages",
|
||||
"Language": "Langue",
|
||||
"MemoryUsed": "Mémoire utilisée",
|
||||
"PartitionSize": "Taille de la partition"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Español",
|
||||
"code": "es",
|
||||
"translation": {
|
||||
"AppName": "Pequeño Administrador de Archivos",
|
||||
"AppTitle": "Administrador de Archivos",
|
||||
"Login": "Iniciar Sesión",
|
||||
"Username": "Nombre de Usuario",
|
||||
"Password": "Contraseña",
|
||||
"Logout": "Desconectarse",
|
||||
"Move": "Mover",
|
||||
"Copy": "Copiar",
|
||||
"Save": "Guardar",
|
||||
"SelectAll": "Seleccionar Todo",
|
||||
"UnSelectAll": "Des-seleccionar Todo",
|
||||
"File": "Archivo",
|
||||
"Back": "Atrás",
|
||||
"Size": "Tamaño",
|
||||
"Perms": "Permisos",
|
||||
"Modified": "Modificado",
|
||||
"Owner": "Propietario",
|
||||
"Search": "Buscar",
|
||||
"NewItem": "Nuevo Ítem",
|
||||
"Folder": "Carpeta",
|
||||
"Delete": "Borrar",
|
||||
"Rename": "Cambiar Nombre",
|
||||
"CopyTo": "Copiar en",
|
||||
"DirectLink": "Link Directo",
|
||||
"UploadingFiles": "Subir Archivos",
|
||||
"ChangePermissions": "Cambiar Permisos",
|
||||
"Copying": "Copiando",
|
||||
"CreateNewItem": "Crear nuevo Item",
|
||||
"Name": "Nombre",
|
||||
"AdvancedEditor": "Editor Avanzado",
|
||||
"RememberMe": "Recuérdame",
|
||||
"Actions": "Acciones",
|
||||
"Upload": "Subir",
|
||||
"Cancel": "Cancelar",
|
||||
"InvertSelection": "Invertir Selección",
|
||||
"DestinationFolder": "Carpeta Destino",
|
||||
"ItemType": "Tipo de Ítem",
|
||||
"ItemName": "Nombre del Ítem",
|
||||
"CreateNow": "Crear",
|
||||
"Download": "Descargar",
|
||||
"Open": "Abrir",
|
||||
"UnZip": "Descomprimir",
|
||||
"UnZipToFolder": "Descomprimir en Carpeta",
|
||||
"Edit": "Editar",
|
||||
"NormalEditor": "Editor Normal",
|
||||
"BackUp": "Copia de Seguridad",
|
||||
"SourceFolder": "Carpeta Actual",
|
||||
"Files": "Archivos",
|
||||
"Change": "Cambiar",
|
||||
"Settings": "Preferencias",
|
||||
"Language": "Lenguaje"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Deutsche",
|
||||
"code": "de",
|
||||
"translation": {
|
||||
"AppName": "Tiny File Manager",
|
||||
"AppTitle": "Datei Manager",
|
||||
"Login": "Einloggen",
|
||||
"Username": "Benutername",
|
||||
"Password": "Passwort",
|
||||
"Logout": "Ausloggen",
|
||||
"Move": "Verschieben",
|
||||
"Copy": "Kopieren",
|
||||
"Save": "Speichern",
|
||||
"SelectAll": "Alles auswählen",
|
||||
"UnSelectAll": "Alles abwählen",
|
||||
"File": "Datei",
|
||||
"Back": "Zurück",
|
||||
"Size": "Größe",
|
||||
"Perms": "Perms",
|
||||
"Modified": "Geändert",
|
||||
"Owner": "Eigentümer",
|
||||
"Search": "Suchen",
|
||||
"NewItem": "Neues Item",
|
||||
"Folder": "Ordner",
|
||||
"Delete": "Löschen",
|
||||
"Rename": "Umbennen",
|
||||
"CopyTo": "Kopieren nach",
|
||||
"DirectLink": "Direktlink",
|
||||
"UploadingFiles": "Datei hochladen",
|
||||
"ChangePermissions": "Berechtigungen ändern",
|
||||
"Copying": "Kopieren",
|
||||
"CreateNewItem": "Neue Datei erstellen",
|
||||
"Name": "Naam",
|
||||
"AdvancedEditor": "Fortgeschrittener Editor",
|
||||
"RememberMe": "Eingeloggt bleiben",
|
||||
"Actions": "Aktionen",
|
||||
"Upload": "Hochladen",
|
||||
"Cancel": "Abbrechner",
|
||||
"InvertSelection": "Auswahl umkehren",
|
||||
"DestinationFolder": "Zielordner",
|
||||
"ItemType": "Dateityp",
|
||||
"ItemName": "Dateiname",
|
||||
"CreateNow": "Jetzt erstellen",
|
||||
"Download": "Download",
|
||||
"Open": "Öffnen",
|
||||
"UnZip": "UnZip",
|
||||
"UnZipToFolder": "UnZip im Ordner",
|
||||
"Edit": "Bearbeiten",
|
||||
"NormalEditor": "Normaler Editor",
|
||||
"BackUp": "Backup",
|
||||
"SourceFolder": "Source ordner",
|
||||
"Files": "Datein",
|
||||
"Change": "Verändern",
|
||||
"Settings": "Einstellungen",
|
||||
"Language": "Sprache"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ภาษาไทย",
|
||||
"code": "th",
|
||||
"translation": {
|
||||
"AppName": "Tiny File Manager",
|
||||
"AppTitle": "ตัวจัดการไฟล์",
|
||||
"Login": "เข้าสู่ระบบ",
|
||||
"Username": "ชื่อผู้ใช้งาน",
|
||||
"Password": "รหัสผ่าน",
|
||||
"Logout": "ออกจากระบบ",
|
||||
"Move": "ย้าย",
|
||||
"Copy": "คัดลอก",
|
||||
"Save": "บันทึก",
|
||||
"SelectAll": "เลือกท้งหมด",
|
||||
"UnSelectAll": "ไม่เลือกทั้งหมด",
|
||||
"File": "ไฟล์",
|
||||
"Back": "กลับ",
|
||||
"Size": "ขนาด",
|
||||
"Perms": "รหัสสิทธิ์",
|
||||
"Modified": "แก้ไขล่าสุดเมื่อ",
|
||||
"Owner": "เจ้าของ",
|
||||
"Search": "ค้นหา",
|
||||
"NewItem": "สร้างใหม่",
|
||||
"Folder": "โฟลเดอร์",
|
||||
"Delete": "ลบ",
|
||||
"Rename": "เปลี่ยนชื่อ",
|
||||
"CopyTo": "คัดลอกไปยัง",
|
||||
"DirectLink": "ไปยังลิ้งก์นั้น",
|
||||
"UploadingFiles": "อัพโหลด",
|
||||
"ChangePermissions": "เปลี่ยนสิทธิ์",
|
||||
"Copying": "กำลังย้ายข้อมูล",
|
||||
"CreateNewItem": "สร้างไฟล์ใหม่",
|
||||
"Name": "ชื่อ",
|
||||
"AdvancedEditor": "แก้ไขขั้นสูง",
|
||||
"RememberMe": "จดจำฉันไว้",
|
||||
"Actions": "การทำงาน",
|
||||
"Upload": "อัพโหลด",
|
||||
"Cancel": "ยกเลิก",
|
||||
"InvertSelection": "เปลี่ยนข้อมูล",
|
||||
"DestinationFolder": "โฟลเดอร์ปลายทาง",
|
||||
"ItemType": "ข้อมูลประเภท",
|
||||
"ItemName": "ชื่อไฟล์",
|
||||
"CreateNow": "สร้างตอนนี้",
|
||||
"Download": "ดาวโหลด",
|
||||
"Open": "เปิด",
|
||||
"UnZip": "แตก Zip",
|
||||
"UnZipToFolder": "แตกไฟล์ในโฟเดอร์นี้",
|
||||
"Edit": "แก้ไข",
|
||||
"NormalEditor": "แก้ไขปกติ",
|
||||
"BackUp": "สำรองข้อมูล",
|
||||
"SourceFolder": "โฟลเดอร์ต้นทาง",
|
||||
"Files": "ไฟล์",
|
||||
"Change": "เปลี่ยน",
|
||||
"Settings": "การตั้งค่า",
|
||||
"Language": "ภาษา"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "中文",
|
||||
"code": "ch",
|
||||
"translation": {
|
||||
"AppName": "檔案管理器",
|
||||
"AppTitle": "檔案管理器",
|
||||
"Login": "登入",
|
||||
"Username": "帳號",
|
||||
"Password": "密碼",
|
||||
"Logout": "登出",
|
||||
"Move": "移動",
|
||||
"Copy": "複製",
|
||||
"Save": "保存",
|
||||
"SelectAll": "選擇全部",
|
||||
"UnSelectAll": "取消選擇全部",
|
||||
"File": "檔案",
|
||||
"Back": "返回",
|
||||
"Size": "大小",
|
||||
"Perms": "權限",
|
||||
"Modified": "修改時間",
|
||||
"Owner": "擁有者",
|
||||
"Search": "搜尋",
|
||||
"NewItem": "新檔案",
|
||||
"Folder": "資料夾",
|
||||
"Delete": "移除",
|
||||
"CopyTo": "複製到",
|
||||
"DirectLink": "直接連結",
|
||||
"UploadingFiles": "上傳檔案",
|
||||
"ChangePermissions": "變更權限",
|
||||
"Copying": "複製",
|
||||
"CreateNewItem": "建立新檔案",
|
||||
"Name": "檔名",
|
||||
"AdvancedEditor": "進階編輯",
|
||||
"RememberMe": "記住我",
|
||||
"Actions": "動作",
|
||||
"Upload": "上傳",
|
||||
"Cancel": "取消",
|
||||
"InvertSelection": "選擇反轉",
|
||||
"DestinationFolder": "目標資料夾",
|
||||
"ItemType": "檔案類型",
|
||||
"ItemName": "檔案檔名",
|
||||
"CreateNow": "建立",
|
||||
"Download": "下載",
|
||||
"UnZip": "解壓縮",
|
||||
"UnZipToFolder": "解壓縮至資料夾",
|
||||
"Edit": "編輯",
|
||||
"NormalEditor": "普通編輯",
|
||||
"BackUp": "上傳",
|
||||
"SourceFolder": "來源資料夾",
|
||||
"Files": "檔案",
|
||||
"Change": "變更",
|
||||
"Settings": "設定",
|
||||
"Language": "語言",
|
||||
"Open": "開啟",
|
||||
"Group": "群組",
|
||||
"Other": "其他",
|
||||
"Read": "讀取",
|
||||
"Write": "寫入",
|
||||
"Execute": "執行",
|
||||
"Rename": "重新命名",
|
||||
"enable": "開啟",
|
||||
"disable": "關閉"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue