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…

Location:
plugins/importExport/inc
Files:
3 edited

Legend:

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

    r270 r557  
    157157          '<p>'.sprintf(__('This will create an export of your current blog: %s'), 
    158158          '<strong>'.html::escapeHTML($this->core->blog->name).'</strong>').'</p>'. 
    159           '<p><label for="file_name" class="classic">'.__('File name:').' '. 
     159          '<p><label for="file_name" class="classic">'.__('File name:').'</label>'. 
    160160          form::field(array('file_name','file_name'),25,255,date('Y-m-d-').html::escapeHTML($this->core->blog->id.'-backup.txt')). 
    161           '</label> '. 
    162161          '<input type="submit" value="'.__('Export').'" />'. 
    163162          form::hidden(array('do'),'export_blog'). 
     
    172171               '<form action="'.$this->getURL(true).'" method="post">'. 
    173172               '<fieldset><legend>'.__('Export all content').'</legend>'. 
    174                '<p><label for="file_name2" class="classic">'.__('File name:').' '. 
     173               '<p><label for="file_name2" class="classic">'.__('File name:').'</label>'. 
    175174               form::field(array('file_name','file_name2'),25,255,date('Y-m-d-').'dotclear-backup.txt'). 
    176                '</label> '. 
    177175               '<input type="submit" value="'.__('Export all content').'" />'. 
    178176               form::hidden(array('do'),'export_all'). 
  • plugins/importExport/inc/class.dc.import.feed.php

    r270 r557  
    8686          '<form action="'.$this->getURL(true).'" method="post">'. 
    8787           
    88           '<fieldset>'. 
     88          '<div class="fieldset">'. 
    8989          $this->core->formNonce(). 
    9090          form::hidden(array('do'),1). 
    91           '<p><label for="feed_url">'.__('Feed URL:').' '. 
    92           form::field('feed_url',40,300,html::escapeHTML($this->feed_url)).'</label></p>'. 
    93           '<p><input type="submit" value="'.__('Send').'" /></p>'. 
    94           '</fieldset>'. 
     91          '<p><label for="feed_url">'.__('Feed URL:').'</label>'. 
     92          form::field('feed_url',40,300,html::escapeHTML($this->feed_url)).'</p>'. 
     93          '<p><input type="submit" value="'.__('Import').'" /></p>'. 
     94          '</div>'. 
    9595          '</form>'; 
    9696     } 
  • 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