Changeset 23317


Ignore:
Timestamp:
06/17/13 23:44:45 (7 years ago)
Author:
mistic100
Message:

missing translations

Location:
extensions/BatchDownloader
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/admin/sets.php

    r23292 r23317  
    5858  if ($_POST['status'] != -1) 
    5959  { 
    60     array_push($where_clauses, 'status = "'.$_POST['status'].'"'); 
     60    if ($_POST['status'] == 'new') 
     61      array_push($where_clauses, '(status = "new" OR status = "ready")'); 
     62    else 
     63      array_push($where_clauses, 'status = "'.$_POST['status'].'"'); 
    6164  } 
    6265   
  • extensions/BatchDownloader/include/BatchDownloader.class.php

    r23291 r23317  
    608608      if ($this->data['status'] == 'done' or $i < $this->data['last_zip']+1) 
    609609      { 
    610         $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_error.png"> Archive #'.$i.' (already downloaded)'; 
     610        $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_error.png"> '.sprintf(l10n('Archive #%d (already downloaded)'), $i); 
    611611      } 
    612612      else if ($i == $this->data['last_zip']+1) 
     
    614614          $out.= '<a href="'.add_url_params($url, array('set_id'=>$this->data['id'],'zip'=>$i)).'" rel="nofollow" style="font-weight:bold;"'  
    615615            .($i!=1 ? ' onClick="return confirm(\''.addslashes(sprintf(l10n('Starting download Archive #%d will destroy Archive #%d, be sure you finish the download. Continue ?'), $i, $i-1)).'\');"' : null). 
    616             '><img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_go.png"> Archive #'.$i.' (ready)</a>'; 
     616            '><img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_go.png">  '.sprintf(l10n('Archive #%d (ready)'), $i).'</a>'; 
    617617      } 
    618618      else 
    619619      { 
    620         $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive.png"> Archive #'.$i.' (pending)'; 
     620        $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive.png">  '.sprintf(l10n('Archive #%d (pending)'), $i); 
    621621      } 
    622622       
  • extensions/BatchDownloader/language/en_UK/plugin.lang.php

    r23291 r23317  
    5454$lang['Please wait, your download is being prepared. This page will refresh automatically refresh when it is ready.'] = 'Please wait, your download is being prepared. This page will refresh automatically refresh when it is ready.'; 
    5555$lang['%d MB'] = '%d MB'; 
     56$lang['Archive #%d (already downloaded)'] = 'Archive #%d (already downloaded)'; 
     57$lang['Archive #%d (ready)'] = 'Archive #%d (ready)'; 
     58$lang['Archive #%d (pending)'] = 'Archive #%d (pending)'; 
    5659 
    5760?> 
  • extensions/BatchDownloader/language/fr_FR/plugin.lang.php

    r23291 r23317  
    5454$lang['Please wait, your download is being prepared. This page will refresh automatically refresh when it is ready.'] = 'Veuillez patienter, votre téléchargement est en cours de préparation. La page se refraîchira automatiquement une fois terminé.'; 
    5555$lang['%d MB'] = '%d Mio'; 
     56$lang['Archive #%d (already downloaded)'] = 'Archive #%d (déjà téléchargée)'; 
     57$lang['Archive #%d (ready)'] = 'Archive #%d (prête)'; 
     58$lang['Archive #%d (pending)'] = 'Archive #%d (en attente)'; 
    5659 
    5760?> 
Note: See TracChangeset for help on using the changeset viewer.