Changeset 11776

Show
Ignore:
Timestamp:
03/10/11 14:12:32 (2 years ago)
Author:
mickecarlsson
Message:

Backup-Restore, standardize on Voicemail spelling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/backup/functions.inc.php

    r10748 r11776  
    9090    $html.=_("Restore your Complete Backup set overwriting all files.").'</span></a><br></li><br>'; 
    9191    if(array_search('voicemail.tar.gz',$restore_files)){ 
    92       $html.="<li><a class=\"info\" href=\"javascript:decision('"._("Are you sure you want to Restore this file set?\\nDoing so will permanently delete any new voicemail you have in your mailbox\\nsince this backup on")." $file!','config.php?type=$type&display=$display&action=restored&dir=$dir&filetype=VoiceMail&file=$file')\">"; 
    93       $html.=_('Restore VoiceMail Files').'<span>';  
    94       $html.=_('Restore your Voicemail files from this backup set.  NOTE! This will delete any voicemail currently in the voicemail boxes.'); 
     92      $html.="<li><a class=\"info\" href=\"javascript:decision('"._("Are you sure you want to Restore this file set?\\nDoing so will permanently delete any new Voicemail you have in your mailbox\\nsince this backup on")." $file!','config.php?type=$type&display=$display&action=restored&dir=$dir&filetype=VoiceMail&file=$file')\">"; 
     93      $html.=_('Restore Voicemail Files').'<span>';  
     94      $html.=_('Restore your Voicemail files from this backup set.  NOTE! This will delete any Voicemail currently in the Voicemail boxes.'); 
    9595      $html.='</span></a><br></li><br>'; 
    9696    } 
     
    140140      // First restore voicemial (for some reason if you do it all at once these don't get restored 
    141141      exec('/bin/rm -rf '.$amp_conf['ASTSPOOLDIR'].'/voicemail 2>&1',$out_arr,$ret); 
    142       backup_errors($error_cause, $ret, _('failed to remove voicemail directory')); 
     142      backup_errors($error_cause, $ret, _('failed to remove Voicemail directory')); 
    143143      $tar_cmd="$tar -PxvOz -f \"$dir\" /tmp/ampbackups.$fileholder/voicemail.tar.gz | $tar -Pxvz"; 
    144144      exec($tar_cmd,$out_arr,$ret); 
     
    189189      exec("/bin/rm -rf /tmp/ampbackups.$fileholder 2>&1",$out_arr,$ret); 
    190190      backup_errors($error_cause, $ret, _('failed to remove exploded backup sets from tmp')); 
    191       if(!count($error_cause)){$message=_("Restored VoiceMail");} 
     191      if(!count($error_cause)){$message=_("Restored Voicemail");} 
    192192    break; 
    193193    case 'Recordings': 
     
    493493  </tr> 
    494494  <tr> 
    495     <td><a href="#" class="info"><?php echo _("VoiceMail");?><span><?php echo _("Backup the System VoiceMail Boxes... CAUTION: Could result in large file");?></span></a>: </td> 
     495    <td><a href="#" class="info"><?php echo _("Voicemail");?><span><?php echo _("Backup the System Voicemail Boxes... CAUTION: Could result in large file");?></span></a>: </td> 
    496496    <td><input type="checkbox" name="voicemail"  tabindex="<?php echo ++$tabindex;?>" value="yes" <?php echo ($opts['voicemail']=='yes')?'checked':''; ?> /></td> 
    497497  </tr>