Changeset 586 for trunk/plugins


Ignore:
Timestamp:
09/23/06 18:03:37 (13 years ago)
Author:
ray
Message:

ExtendedFileManager?: added translations (#855)

Location:
trunk/plugins/ExtendedFileManager
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/Classes/ExtendedFileManager.php

    r579 r586  
    473473                { 
    474474                        Files::delFile($file['tmp_name']); 
    475                         Return "Cannot upload .".$afruext." Files. Permission denied."; 
     475                        Return 'Cannot upload $extension='.$afruext.'$ Files. Permission denied.'; 
    476476                } 
    477477 
     
    479479                { 
    480480                        Files::delFile($file['tmp_name']); 
    481                         Return "Unble to upload file. Maximum file size [".$max_size."Kb] exceeded."; 
     481                        Return 'Unble to upload file. Maximum file size [$max_size='.$max_size.'$ KB] exceeded.'; 
    482482                } 
    483483 
     
    496496                { 
    497497                        Files::delFile($file['tmp_name']); 
    498                         Return $file['name']." successfully uploaded."; 
     498                        Return 'File "$file='.$file['name'].'$" successfully uploaded.'; 
    499499                } 
    500500 
     
    515515                if(!is_numeric($tmpFreeSize) || $tmpFreeSize<0) $tmpFreeSize=0; 
    516516         
    517                 Return 'Total Size : '.$this->config['max_foldersize_mb'].' Mb , Free Space: '.Files::formatSize($tmpFreeSize); 
     517                Return 'Total Size : $max_foldersize_mb='.$this->config['max_foldersize_mb'].'$ MB, Free Space: $free_space='.Files::formatSize($tmpFreeSize).'$'; 
    518518        } 
    519519 
  • trunk/plugins/ExtendedFileManager/assets/images.js

    r567 r586  
    187187            message.removeChild(message.firstChild); 
    188188 
    189         message.appendChild(topDoc.createTextNode(i18n(newMessage))); 
     189        message.appendChild(topDoc.createTextNode(newMessage)); 
    190190 
    191191        messages.style.display = "block"; 
     
    217217function confirmDeleteFile(file) 
    218218{ 
    219     if(confirm(file + "\n\n" + i18n("Delete file?"))) 
     219    if(confirm(i18n('Delete file "$file=' + file +'$"?'))) 
    220220        return true; 
    221221 
     
    231231    } 
    232232 
    233     if(confirm(i18n(dir + "\n\n" + i18n("Delete folder?")))) 
     233    if(confirm(i18n('Delete folder "$dir=' + dir +'$"?'))) 
    234234        return true; 
    235235 
  • trunk/plugins/ExtendedFileManager/images.php

    r579 r586  
    249249                <?php 
    250250                if(isset($uploadStatus) && !is_numeric($uploadStatus) && !is_bool($uploadStatus)) 
    251                 echo 'alert(i18n("'.$uploadStatus.'"));'; 
     251                echo "alert(i18n('$uploadStatus'));"; 
    252252                else if(isset($uploadStatus) && $uploadStatus==false) 
    253                 echo 'alert("Unable to upload File. \nEither Maximum file size ['.($insertMode == 'image' ? $IMConfig['max_filesize_kb_image'] : $IMConfig['max_filesize_kb_link'] ).'Kb] exceeded or\nFolder doesn\'t have write permission.");'; 
     253                echo 'alert(i18n("Unable to upload File. \nEither Maximum file size [$max_size='.($insertMode == 'image' ? $IMConfig['max_filesize_kb_image'] : $IMConfig['max_filesize_kb_link'] ).'$ KB] exceeded or\nFolder doesn\'t have write permission."));'; 
    254254                ?> 
    255255 
     
    317317//if(window.top.document.getElementById('manager_mode').value=="image") 
    318318//emptyProperties(); 
    319 <?php if(isset($diskInfo)) echo 'updateDiskMesg("'.$diskInfo.'");'; ?> 
     319<?php if(isset($diskInfo)) echo 'updateDiskMesg(i18n(\''.$diskInfo.'\'));'; ?> 
    320320//--> 
    321321</script> 
  • trunk/plugins/ExtendedFileManager/lang/de.js

    r568 r586  
    5252  "Loading": "Laden", 
    5353  "Invalid base directory:": "UngÃŒltiges Basisverzeichnis:", 
    54   "Delete file?": "Datei löschen?", 
     54  'Delete file "$file"?': 'Datei "$file" löschen?', 
    5555  "Please delete all files/folders inside the folder you wish to delete first.": "Bitte zuerst alle untergeordneten Ordner löschen.", 
    56   "Delete folder?": "Verzeichnis löschen?", 
     56  'Delete folder "$dir"?': 'Verzeichnis "$dir" löschen?', 
    5757  "Folder Name:": "Verzeichnisname", 
    5858  "No Files Found": "Keine Dateien gefunden", 
     
    9393  "Please enter new name for this file...": "Bite neuen Namen fÃŒr diese Datei eingeben...", 
    9494  "Unable to rename file. File of the same name already exists or\nfolder doesn't have write permission.": "Umbenennen nicht möglich. Evtl. Dateiname schon vorhanden oder keine Schreibrechte.", 
    95   "Cancelled rename.": "Umbenennen abgebrochen." 
     95  "Cancelled rename.": "Umbenennen abgebrochen.", 
     96  'File "$file" successfully uploaded.': 'Datei "$file" erfolgreich hochgeladen.', 
     97  "Cannot upload. Maximum folder size reached. Delete unwanted files and try again.":"Die maximale Ordnergröße ist erreicht. Bitte löschen Sie Dateien, die Sie nicht mehr benötigen.", 
     98  "Maximum file size [$max_size KB] exceeded.":"Maximale Dateigröße [$max_size KB] ÃŒberschritten.", 
     99  "Cannot upload $extension Files. Permission denied.": "$extension Dateien dÃŒrfen nicht hochgeladen werden.", 
     100  "Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.":"Konnte Datei nicht hochladen.\nEntweder die maximale Dateigröße [$max_size KB] ist ÃŒberschritten\noder das Verzeichnis hat keine Schreibrechte.", 
     101  "Total Size : $max_foldersize_mb MB, Free Space: $free_space": "Max. Ordergröße: $max_foldersize_mb MB, noch frei: $free_space" 
     102   
    96103}; 
  • trunk/plugins/ExtendedFileManager/lang/nb.js

    r529 r586  
    5151  "Loading": "Laster", 
    5252  "Invalid base directory:": "Ugyldig sti til mappe:", 
    53   "Delete file?": "Slette fil?", 
     53  'Delete file "$file"?': "$file\n\nSlette fil?", 
    5454  "Please delete all files/folders inside the folder you wish to delete first.": "Vennligst slett alle filer og mapper i mappen du Þnsker Ã¥ slette fÞrst!", 
    55   "Delete folder?": "Slette mappe?", 
     55  'Delete folder "$dir"?': "$dir\n\nSlette mappe?", 
    5656  "Folder Name:": "Mappe navn", 
    5757  "No Files Found": "Ingen filer funnet", 
     
    8686  "Please enter new name for this file...": "Vennligst skriv inn nytt navn for denne fil...", 
    8787  "Unable to rename file. File of the same name already exists or\nfolder doesn't have write permission.": "Kan ikke omdÞpe fil. En fil har allerede samme navn eller\nmappen har ikke skriverettigheter.", 
    88   "Cancelled rename.": "OmdÞping av filnavn avbrutt." 
     88  "Cancelled rename.": "OmdÞping av filnavn avbrutt.", 
     89   'File "$file" successfully uploaded.':  'File "$file" successfully uploaded.', 
     90  "Cannot upload. Maximum folder size reached. Delete unwanted files and try again.":"Cannot upload. Maximum folder size reached. Delete unwanted files and try again.", 
     91  "Maximum file size [$max_size KB] exceeded.":"Maximum file size [$max_size KB] exceeded.", 
     92  "Cannot upload $extension Files. Permission denied.": "Cannot upload $extension Files. Permission denied.", 
     93  "Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.":"Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.", 
     94  "Total Size : $max_foldersize_mb MB, Free Space: $free_space": "Total Size : $max_foldersize_mb MB, Free Space: $free_space" 
    8995}; 
  • trunk/plugins/ExtendedFileManager/lang/pl.js

    r524 r586  
    5555  "Loading": "Ładowanie", 
    5656  "Invalid base directory:": "Nieprawidłowy katalog bazowy:", 
    57   "Delete file?": "UsunÄ 
     57  'Delete file "$file"?': "$file\n\nUsunÄ 
    5858ć plik?", 
    5959  "Please delete all files/folders inside the folder you wish to delete first.": "Najpierw usuń wszystkie pliki i podkatalogi katalogu.", 
    60   "Delete folder?": "UsunÄ 
     60  'Delete folder "$dir"?': "$dir\n\nUsunÄ 
    6161ć katalog ?", 
    6262  "Folder Name:": "Nazwa katalogu", 
     
    100100 nazwę dla tego pliku...", 
    101101  "Unable to rename file. File of the same name already exists or\nfolder doesn't have write permission.": "Nie mogłem zmienić nazwy pliku. Plik o nowej nazwie juÅŒ istnieje\nlub prak praw zapisu do katalogu.", 
    102   "Cancelled rename.": "Anulowano zmianę nazwy pliku." 
     102  "Cancelled rename.": "Anulowano zmianę nazwy pliku.", 
     103   'File "$file" successfully uploaded.':  'File "$file" successfully uploaded.', 
     104  "Cannot upload. Maximum folder size reached. Delete unwanted files and try again.":"Cannot upload. Maximum folder size reached. Delete unwanted files and try again.", 
     105  "Maximum file size [$max_size KB] exceeded.":"Maximum file size [$max_size KB] exceeded.", 
     106  "Cannot upload $extension Files. Permission denied.": "Cannot upload $extension Files. Permission denied.", 
     107  "Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.":"Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.", 
     108  "Total Size : $max_foldersize_mb MB, Free Space: $free_space": "Total Size : $max_foldersize_mb MB, Free Space: $free_space" 
    103109}; 
Note: See TracChangeset for help on using the changeset viewer.