Plugin Directory

Changeset 535163


Ignore:
Timestamp:
04/23/2012 05:56:33 PM (14 years ago)
Author:
Astrodan
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpmathpublisher/tags/0.6.4/wpmathpublisher.php

    r535131 r535163  
    5656        ! fixed things this f*cking svn gui messed with
    5757        ! woring up to Wordpress 2.8.6
    58     v 0.6.4 [2012-04-23]
     58    v 0.6.4
    5959        ! fixed activation problem
    6060        ! fixed tinyMCE integration (language issue)
    6161        + added romanian translation (since this update not complete) by Alexander Ovsov [ http://webhostinggeeks.com/ ]
    62         ! updated german translations
     62        ! updated german translation
    6363       
    6464Roadmap:
     
    165165        $message = ''; $failed = false;
    166166        if(!is_dir(WPMP_BASEDIR.'/img/')) {
    167             $message .= 'Image directory does not exist. Trying to create it...';
     167            $message .= __('Image directory does not exist. Trying to create it...');
    168168            if((substr(sprintf('%o', fileperms(WPMP_BASEDIR)), -4) != "0777") or (!@mkdir(WPMP_BASEDIR.'/img/', 0777))){
    169                 $message .= 'creating failed, permission denied. Please do the following steps manually:';
     169                $message .= __('creating failed, permission denied. Please do the following steps manually:');
    170170                $message .= '
    171171                    <ol>
    172                         <li>Use a FTP-Client to access your wordpress installation and go to the WpMathPublisher-Plugin directory ('.WPMP_BASEDIR.')</li>
    173                         <li>Create a subdirectory "img"</li>
    174                         <li>Grant full write access to the image directory (<i>chmod 777</i>)</li>
     172                        <li>'.sprintf(__('Use a FTP-Client to access your wordpress installation and go to the WpMathPublisher-Plugin directory %s'), WPMP_BASEDIR).'</li>
     173                        <li>'.__('Create a subdirectory "img"').'</li>
     174                        <li>'.__('Grant full write access to the image directory (<i>chmod 777</i>)').'</li>
    175175                    </ol>
    176176                ';
     
    180180                $failed = true;
    181181            } else {
    182                 $message .= 'succesfull';
     182                $message .= __('successfull');
    183183            }
    184184        } elseif(substr(sprintf('%o', fileperms(WPMP_BASEDIR.'/img/')), -4) != "0777") {
    185             $message .= 'Permission to write to image directory has been denied. Trying to set permissions...';
     185            $message .= __('Permission to write to image directory has been denied. Trying to set permissions...');
    186186            if((substr(sprintf('%o', fileperms(WPMP_BASEDIR)), -4) != "0777") or (!@chmod(WPMP_BASEDIR.'/img/', 0777))){
    187                 $message .= 'failed to set permissions. Please do the following steps manually:';
     187                $message .= __('failed to set permissions. Please do the following steps manually:');
    188188                $message .= '
    189189                    <ol>
    190                         <li>Use a FTP-Client to access your wordpress installation and go to the WpMathPublisher-Plugin directory ('.WPMP_BASEDIR.')</li>
    191                         <li>Grant full write access to the image directory (<i>chmod 777</i>)</li>
     190                        <li>'.sprintf(__('Use a FTP-Client to access your wordpress installation and go to the WpMathPublisher-Plugin directory %s'), WPMP_BASEDIR).'</li>
     191                        <li>'.__('Grant full write access to the image directory (<i>chmod 777</i>)').'</li>
    192192                    </ol>
    193193                ';
     
    196196                $failed = true;
    197197            } else {
    198                 $message .= 'successfull';
     198                $message .= __('successfull');
    199199            }
    200200        }
Note: See TracChangeset for help on using the changeset viewer.