Changeset 7228

Show
Ignore:
Timestamp:
11/05/08 11:14:56 (3 years ago)
Author:
mickecarlsson
Message:

Changed some enclosed text string with proper enclosures so that localization with apostrophe will work

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/core/functions.inc.php

    r7186 r7228  
    30453045 
    30463046  if (!ctype_digit(trim($channel)) || trim($channel) == '') { 
    3047     echo "<script>javascript:alert('"._('Invalid Channel Number, must be numeric and not blank')."')</script>"; 
     3047    echo "<script>javascript:alert('"._("Invalid Channel Number, must be numeric and not blank")."')</script>"; 
    30483048    return false; 
    30493049  } 
    30503050  if (trim($did) == '') { 
    3051     echo "<script>javascript:alert('"._('Invalid DID, must be a non-blank DID')."')</script>"; 
     3051    echo "<script>javascript:alert('"._("Invalid DID, must be a non-blank DID")."')</script>"; 
    30523052    return false; 
    30533053  } 
     
    42684268    $currentcomponent->setoptlistopts('call_screen', 'sort', false); 
    42694269 
    4270     $currentcomponent->addoptlistitem('ringtime', '0', 'Default'); 
     4270    $currentcomponent->addoptlistitem('ringtime', '0', _("Default")); 
    42714271    for ($i=1; $i <= 120; $i++) { 
    42724272      $currentcomponent->addoptlistitem('ringtime', "$i", "$i"); 
     
    44164416          $device_icon = ($device_item['devicetype'] == 'fixed') ? 'images/telephone_key.png' : 'images/telephone_edit.png'; 
    44174417          $device_label  = '&nbsp;'; 
    4418           $device_label .=  _('Edit:'); 
     4418          $device_label .=  _("Edit:"); 
    44194419          $device_label .= '&nbsp;'.$device_item['id'].'&nbsp;'.$device_item['description']; 
    44204420 
     
    47064706        if ($deviceInfo['device_user'] != 'none') { 
    47074707          $editURL = $_SERVER['PHP_SELF'].'?type=setup&display=users&skip=0&extdisplay='.$deviceInfo['user']; 
    4708           $tlabel =  $deviceInfo['devicetype'] == 'adhoc' ? sprintf(_('Edit Default User: %s'),$deviceInfo['user']) : sprintf(_('Edit Fixed User: %s'),$deviceInfo['user']); 
     4708          $tlabel =  $deviceInfo['devicetype'] == 'adhoc' ? sprintf(_("Edit Default User: %s"),$deviceInfo['user']) : sprintf(_("Edit Fixed User: %s"),$deviceInfo['user']); 
    47094709          $label = '<span><img width="16" height="16" border="0" title="'.$tlabel.'" alt="" src="images/user_edit.png"/>&nbsp;'.$tlabel.'</span>'; 
    47104710          $currentcomponent->addguielem('_top', new gui_link('edit_user', $label, $editURL, true, false), 0);