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

ExtendedFileManager?: added translations (#855)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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> 
Note: See TracChangeset for help on using the changeset viewer.