Dotclear


Ignore:
Timestamp:
07/10/11 11:48:44 (14 years ago)
Author:
kozlika
Branch:
default
Message:

Ergo: harmonisation de la terminologie des boutons, termes plus précis quand possible. Accessibilité: fieldsets, labels…

La passe suivante pour essayer d'alléger le boulot des traducteurs…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/class.dc.import.flat.php

    r270 r557  
    160160          '<form action="'.$this->getURL(true).'" method="post" enctype="multipart/form-data">'. 
    161161           
    162           '<fieldset>'. 
     162          '<div class="fieldset">'. 
    163163          $this->core->formNonce(). 
    164164          form::hidden(array('do'),1). 
    165165          form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 
    166           '<p><label for="up_single_file">'.__('Upload a backup file').' '. 
     166          '<p><label for="up_single_file">'.__('Upload a backup file').'</label>'. 
    167167          '<input type="file" id="up_single_file" name="up_single_file" size="20" />'. 
    168           '</label></p>'; 
     168          '</p>'; 
    169169           
    170170          $public_files = $this->getPublicFiles(); 
     
    178178           
    179179          echo 
    180           '<p><input type="submit" value="'.__('Send').'" /></p>'. 
    181           '</fieldset>'. 
     180          '<p><input type="submit" value="'.__('Import').'" /></p>'. 
     181          '</div>'. 
    182182          '</form>'; 
    183183           
     
    189189               '<div>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE).'</div>'. 
    190190                
    191                '<fieldset>'. 
     191               '<div class="fieldset">'. 
    192192               $this->core->formNonce(). 
    193193               form::hidden(array('do'),1). 
    194194               form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 
    195                '<p><label for="up_full_file">'.__('Upload a backup file').' '. 
     195               '<p><label for="up_full_file">'.__('Upload a backup file').'</label>'. 
    196196               '<input type="file" id="up_full_file" name="up_full_file" size="20" />'. 
    197                '</label></p>'; 
     197               '</p>'; 
    198198                
    199199               echo 
    200                '<p><label for="public_full_file">'.__('or pick up a local file in your public directory').' '. 
     200               '<p><label for="public_full_file">'.__('or pick up a local file in your public directory').'</label>'. 
    201201               form::combo('public_full_file',$public_files, '', '', '', $empty). 
    202                '</label></p>'; 
     202               '</p>'; 
    203203                
    204204               echo 
    205                '<p><strong>'.__('Warning: This will reset all the content of your database, except users.').'</strong></p>'. 
    206                 
    207                '<p><label for="your_pwd">'.__('Your password:'). 
    208                form::password('your_pwd',20,255).'</label></p>'. 
    209                 
    210                '<p><input type="submit" value="'.__('Send').'" /></p>'. 
    211                '</fieldset>'. 
     205               '<p class="form-note warning"><strong>'.__('Warning: This will reset all the content of your database, except users.').'</strong></p>'. 
     206                
     207               '<p><label for="your_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label>'. 
     208               form::password('your_pwd',20,255).'</p>'. 
     209                
     210               '<p><input type="submit" value="'.__('Import').'" /></p>'. 
     211               '</div>'. 
    212212               '</form>'; 
    213213          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map