Merge pull request #14 from Nayenezgani/master

Add Czech translation
This commit is contained in:
Prasath Mani 2017-10-14 16:56:35 +05:30 committed by GitHub
commit c8bafbf332
2 changed files with 101 additions and 10 deletions

View file

@ -1,6 +1,6 @@
<?php
return array(
"fr" =>
"fr" =>
array(
"Username" => "Utilisateur",
"Password" => "Mot de passe",
@ -11,7 +11,7 @@ return array(
"Save" => "Sauvegarder",
"Select all" => "Tout sélectionner",
"Unselect all" => "Tout déselectionner",
"Cancel" => "Annuler",
"Cancel" => "Annuler",
"File" => "Fichier",
"Files:" => "Fichiers:",
"files:" => "fichiers:",
@ -21,7 +21,7 @@ return array(
"Select folder:" => "Sélectionner un dossier:",
"Download" => "Télécharger",
"Open" => "Ouvrir",
"Back" => "Retour",
"Back" => "Retour",
"File not found" => "Fichier non trouvé",
"File Saved Successfully" => "Fichier sauvegarder",
"FILE EXTENSION HAS NOT SUPPORTED" => "EXTENSION DE FICHIER NON SUPPORTE",
@ -52,7 +52,7 @@ return array(
"New name" => "Nouveau nom",
"Uploading files" => "Envoyer des fichiers",
"Copying" => "Copier",
"Create New Item" => "Créer un nouvel élément",
"Create New Item" => "Créer un nouvel élément",
"Item Name" => "Nom de l'élément",
"Item Type" => "Type d'élement",
"Find a item in current folder..." => "Trouver un élément dans le dossier actuel...",
@ -61,5 +61,91 @@ return array(
"Name" => "Nom",
"Advanced Edit" => "Edition avancée",
"Advanced Editor" => "Editeur avancé"
)
),
"cs" =>
array(
"Username" => "Uživatelské jméno",
"Password" => "Heslo",
"Login" => "Přihlášení",
"Logout" => "Odhlášení",
"Move" => "Přesun",
"Copy" => "Kopírování",
"Save" => "Uložení",
"Select all" => "Označit vše",
"Unselect all" => "Zrušit označení",
"Cancel" => "Zrušit",
"File" => "Soubor",
"Files:" => "Soubory:",
"files:" => "soubory:",
"Source folder:" => "Zdrojový adresář:",
"Source path:" => "Zdrojová cesta:",
"Destination folder:" => "Cílová cesta:",
"Select folder:" => "Vyberte adresář:",
"Download" => "Stažení",
"Open" => "Otevřít",
"Back" => "Zpět",
"File not found" => "Soubor nenalezen",
"File Saved Successfully" => "Soubor byl úspěšně uložen",
"FILE EXTENSION HAS NOT SUPPORTED" => "NEPODPOROVANÁ PŘÍPONA SOUBORU",
"Change" => "Změna",
"Size" => "Velikost",
"Modified" => "Změněno",
"Owner" => "Vlastník",
"Invert selection" => "Obrátit výběr",
"Search" => "Vyhledat",
"Search Results" => "Výsledek hledání",
"Upload files" => "Nahrát soubor(y)",
"New folder" => "Nový adresář",
"Folder" => "Adresář",
"folders:" => "adresáře:",
"Delete" => "Výmaz",
"Rename" => "Přejmenování",
"Copy to..." => "Kopírovat do...",
"Direct link" => "Přímý odkaz",
"Change Permissions" => "Změna oprávnění",
"Full path:" => "Celá cesta:",
"Full size:" => "Celková velikost:",
"File size:" => "Velikost souboru:",
"MIME-type:" => "Typ MIME:",
"Group" => "Skupina",
"Other" => "Ostatní",
"Read" => "Čtení",
"Write" => "Zápis",
"Execute" => "Spuštění",
"New name" => "Nový název",
"Uploading files" => "Nahrávání souboru",
"Copying" => "Kopírování",
"Create New Item" => "Vytvořit novou položku",
"Item Name" => "Název položky",
"Item Type" => "Typ položky",
"Find a item in current folder..." => "Hledání položky v aktuálním adresáři...",
"Close" => "Zavřít",
"Create Now" => "Vytvořit",
"Name" => "Název",
"Edit" => "Změna",
"Plain Editor" => "Základní editor",
"Advanced" => "Rozšířený",
"Advanced Edit" => "Rozšířená změna",
"Advanced Editor" => "Rozšíření editor",
"Zip" => "Komprimovat (ZIP)",
"UnZip" => "Rozbalit",
"UnZip to folder" => "Rozbalit do adresáře",
"Backup" => "Záloha",
"Search" => "Hledání",
"Upload" => "Nahrát",
"File <b>%s</b> created" => "Soubor <b>%s</b> vytvořen",
"File <b>%s</b> already exists" => "Soubor <b>%s</b> již existuje",
"Folder <b>%s</b> created" => "Adresář <b>%s</b> vytvořen",
"Folder <b>%s</b> already exists" => "Adresář <b>%s</b> již existuje",
"Folder <b>%s</b> not created" => "Adresář <b>%s</b> nebyl vytvořen",
"Mail" => "E-mail",
"Actions" => "Akce",
"Perms" => "Oprávnění",
"File info" => "Informace o souboru",
"%s bytes" => "%s bytů",
"Folder is empty" => "Adresář je prázdný",
"Delete selected files and folders?" => "Vymazat označené soubory a adresáře?",
"Selected files and folder deleted" => "Označené soubory a adresáře byly vymazány",
"Create archive?" => "Vytvořit archiv?",
),
);

View file

@ -41,7 +41,7 @@ $send_mail = false;
$toMailId = ""; //yourmailid@mail.com
// Default timezone for date() and time() - http://php.net/manual/en/timezones.php
$default_timezone = 'Asia/Kolkata'; // UTC+5:30
$default_timezone = 'Etc/UTC'; // UTC
// Root path for file manager
$root_path = $_SERVER['DOCUMENT_ROOT'];
@ -54,11 +54,16 @@ $root_url = '';
$http_host = $_SERVER['HTTP_HOST'];
// input encoding for iconv
$iconv_input_encoding = 'CP1251';
$iconv_input_encoding = 'UTF-8';
// date() format for file modification date
$datetime_format = 'd.m.y H:i';
// include user config php file
if (defined('FM_CONFIG') && is_file(FM_CONFIG) ) {
include(FM_CONFIG);
}
//--- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL
// if fm included
@ -1119,7 +1124,7 @@ $all_files_size = 0;
<th><?php echo fm_t('Name', $lang) ?></th><th style="width:10%"><?php echo fm_t('Size', $lang) ?></th>
<th style="width:12%"><?php echo fm_t('Modified', $lang) ?></th>
<?php if (!FM_IS_WIN): ?><th style="width:6%"><?php echo fm_t('Perms', $lang) ?></th><th style="width:10%"><?php echo fm_t('Owner', $lang) ?></th><?php endif; ?>
<th style="width:<?php if (!FM_READONLY): ?>13<?php else: ?>6.5<?php endif; ?>%">Actions</th></tr></thead>
<th style="width:<?php if (!FM_READONLY): ?>13<?php else: ?>6.5<?php endif; ?>%"><?php echo fm_t('Actions', $lang) ?></th></tr></thead>
<?php
// link to parent folder
if ($parent !== false) {
@ -2067,9 +2072,9 @@ function select_all(){var l=get_checkboxes();change_checkboxes(l,true);}
function unselect_all(){var l=get_checkboxes();change_checkboxes(l,false);}
function invert_all(){var l=get_checkboxes();change_checkboxes(l);}
function mailto(p,f){var http=new XMLHttpRequest(); var params="path="+p+"&file="+f+"&type=mail&ajax=true"; http.open("POST", '', true);http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");http.onreadystatechange=function(){if(http.readyState == 4 && http.status == 200){ alert(http.responseText);}}
http.send(params);
http.send(params);
}
function showSearch(u){var http=new XMLHttpRequest();var params="path="+u+"&type=search&ajax=true";http.open("POST", '', true); http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");http.onreadystatechange=function(){if(http.readyState == 4 && http.status == 200){ window.searchObj = http.responseText; document.getElementById('searchresultWrapper').innerHTML = "";window.location.hash="#searchResult"}}
function showSearch(u){var http=new XMLHttpRequest();var params="path="+u+"&type=search&ajax=true";http.open("POST", '', true); http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");http.onreadystatechange=function(){if(http.readyState == 4 && http.status == 200){ window.searchObj = http.responseText; document.getElementById('searchresultWrapper').innerHTML = "";window.location.hash="#searchResult"}}
http.send(params);}
var searchEl = document.querySelector('input[type=search]');var timeout = null;searchEl.onkeyup = function(evt) {clearTimeout(timeout);var data = JSON.parse(window.searchObj);var searchTerms = document.querySelector('input[type=search]').value;timeout = setTimeout(function () {if(searchTerms.length>=2) {var res = getSearchResult(data,searchTerms);var f1='',f2='';res.folders.forEach(function (d){f1+='<li class="'+d.type+'"><a href="?p='+ d.path+'">'+d.name+'</a></li>'; });res.files.forEach(function (d){f2+='<li class="'+d.type+'"><a href="?p='+ d.path +'&view='+ d.name +'">'+d.name+'</a></li>';});document.getElementById('searchresultWrapper').innerHTML = '<div class="model-wrapper">'+f1+f2+'</div>';}},500);};
function getSearchResult(data,searchTerms) {var folders=[],files=[];data.forEach(function(d){if(d.type === 'folder') { getSearchResult(d.items,searchTerms);if(d.name.toLowerCase().match(searchTerms)) {folders.push(d);}} else if(d.type === 'file') {if(d.name.toLowerCase().match(searchTerms)) {files.push(d);} }}); return {folders: folders, files: files};}