Changeset 15646

Show
Ignore:
Timestamp:
03/16/08 13:02:40 (6 months ago)
Author:
flack
Message:

add a missing l10n string to German and English

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.helper.datamanager2/locale/default.de.txt

    r15255 r15646  
    121121---STRINGEND 
    122122 
     123---STRING add new file 
     124Neue Datei hinzufÃŒgen 
     125---STRINGEND 
     126 
    123127---STRING upload image 
    124128Bild hochladen 
  • trunk/midcom/midcom.helper.datamanager2/locale/default.en.txt

    r15255 r15646  
    149149---STRINGEND 
    150150 
     151---STRING add new file 
     152Add a new file 
     153---STRINGEND 
     154 
    151155---STRING upload image 
    152156Upload image 
  • trunk/midcom/midcom.helper.datamanager2/static/chooser/jquery.chooser_widget.js

    r15394 r15646  
    867867        formatted = ' '; 
    868868    } 
    869      
     869         
    870870    return formatted; 
    871871} 
  • trunk/midcom/midcom.helper.datamanager2/widget/images.php

    r15585 r15646  
    2626 * <b>Available configuration options:</b> 
    2727 * 
    28  * - set_name_and_title_on_upload use this if you want the user to be able to set the  
    29  *   filename and title when uploading a form.  
    30  * - integer max_count Maximum number of images allowed for a field. Set this  
     28 * - set_name_and_title_on_upload use this if you want the user to be able to set the 
     29 *   filename and title when uploading a form. 
     30 * - integer max_count Maximum number of images allowed for a field. Set this 
    3131 * 
    3232 * <b>Implementation notes:</b> 
     
    7878    /** 
    7979     * Should the user be able to set the filename and title on upload? 
    80      * If so , set this to true.  
     80     * If so , set this to true. 
    8181     * @var boolean 
    8282     */ 
     
    8585    /** 
    8686     * Maximum amount of images allowed to be stored in the same field 
    87      *  
     87     * 
    8888     * @access public 
    8989     * @var integer 
     
    118118        return true; 
    119119    } 
    120      
     120 
    121121    function _get_filename_validation_script() 
    122122    { 
     
    135135    } 
    136136} 
    137      
     137 
    138138END; 
    139139    } 
     
    181181            return; 
    182182        } 
    183          
     183 
    184184        // Filename column 
    185185        $html = "<tr >\n" . 
     
    221221                'id'    => "{$this->_namespace}{$this->name}_e_new_upload", 
    222222            ); 
    223              
     223 
    224224            $this->_elements['e_new_upload'] =& HTML_QuickForm::createElement('submit', "{$this->name}_e_new_upload", $this->_l10n->get('upload file'), $attributes); 
    225225        } 
     
    243243            return; 
    244244        } 
    245          
     245 
    246246        // Filename column 
    247247        $html = "<tr >\n" . 
    248248                "<td class='new text' colspan='1'>"; 
    249         $html .= sprintf("%s:", $this->_l10n->get('Add new file'));        
     249        $html .= sprintf("%s:", $this->_l10n->get('add new file')); 
    250250        $this->_elements['s_new_filename'] =& HTML_QuickForm::createElement('static', 's_new_filename', '', $html); 
    251          
     251 
    252252        if (! $frozen) 
    253253        { 
     
    399399            ); 
    400400            $this->_elements["e_exist_{$identifier}_upload"] =& HTML_QuickForm::createElement('submit', "{$this->name}_e_exist_{$identifier}_upload", $this->_l10n->get('replace file'), $attributes); 
    401                          
     401 
    402402            $attributes = Array 
    403403            ( 
     
    455455            $this->_add_image_row($identifier, $frozen); 
    456456        } 
    457         if ($this->set_name_and_title_on_upload)  
     457        if ($this->set_name_and_title_on_upload) 
    458458        { 
    459459            $this->_add_new_upload_row_old($frozen); 
     
    502502        } 
    503503 
    504          
     504 
    505505        if (   array_key_exists('e_new_title', $values) 
    506506            && !empty($values['e_new_title'])) 
     
    512512            $title = $file['name']; 
    513513        } 
    514          
     514 
    515515        if (   array_key_exists('e_new_filename', $values) 
    516516            && !empty($values['e_new_filename'])) 
     
    570570                $title = $values["e_exist_{$identifier}_title"]; 
    571571                $filename = $this->_type->images[$identifier]['main']['filename']; 
    572      
     572 
    573573                if (! $title) 
    574574                { 
    575575                    $title = $filename; 
    576576                } 
    577      
     577 
    578578                if (! $this->_type->update_image($identifier, $filename, $file['tmp_name'], $title)) 
    579579                {