Changeset 22941


Ignore:
Timestamp:
05/29/13 20:34:22 (7 years ago)
Author:
Chillexistence
Message:

added additional lang tags instead of using global tags for photo.

Location:
extensions/Crop_Image
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Crop_Image/admin.php

    r22939 r22941  
    8888  delete_element_derivatives($row);  
    8989   
    90   $_SESSION['page_infos'][] = l10n('Photo')." ".l10n('Cropped');  
     90  $_SESSION['page_infos'][] = l10n('Photo Cropped');  
    9191  redirect($admin_photo_base_url); 
    9292} 
     
    130130  if (!pwg_db_num_rows($result)) 
    131131  { 
    132     array_push($page['errors'], l10n('Unknown').' '. l10n('Photo')); 
     132    array_push($page['errors'], l10n('Unknown Photo ID')); 
    133133  } 
    134134  else 
  • extensions/Crop_Image/crop_image.tpl

    r22940 r22941  
    4141<form method="post" action=""> 
    4242<fieldset> 
    43   <legend>{'Crop'|@translate} {'photo'|@translate}</legend> 
     43  <legend>{'Crop Photo'|@translate}</legend> 
    4444  {'Choose the part of the photo you want to keep'|@translate}<br> 
    4545  <img id="jcrop" src="{$picture.banner_src}?{1|rand:200}" width="{$crop.display_width}" height="{$crop.display_height}"> 
  • extensions/Crop_Image/language/en_UK/plugin.lang.php

    r22936 r22941  
    11<?php 
    22$lang['Crop'] = 'Crop'; 
    3 $lang['Cropped'] = 'Cropped'; 
     3$lang['Photo Cropped'] = 'Photo Cropped'; 
     4$lang['Crop Photo'] = 'Crop Photo'; 
     5$lang['Unknown Photo ID'] = 'Unknown Photo ID'; 
    46$lang['Choose the part of the photo you want to keep'] = 'Choose the part of the photo you want to keep.'; 
    57?> 
  • extensions/Crop_Image/main.inc.php

    r22940 r22941  
    9999         
    100100        $replacement = ' 
    101         <a class="pwg-state-default pwg-button" href="{$U_CROPIMAGE}" title="{\'Crop\'|@translate} {\'photo\'|@translate}" rel="nofollow"> 
    102          <span class="ci-icon ci-icon-cropimage-{$U_CROPIMAGE_THEME}"> </span><span class="pwg-button-text">{\'Crop\'|@translate} {\'photo\'|@translate}</span> 
     101        <a class="pwg-state-default pwg-button" href="{$U_CROPIMAGE}" title="{\'Crop Photo\'|@translate}" rel="nofollow"> 
     102         <span class="ci-icon ci-icon-cropimage-{$U_CROPIMAGE_THEME}"> </span><span class="pwg-button-text">{\'Crop Photo\'|@translate}</span> 
    103103  </a> 
    104104        ' . $search; 
Note: See TracChangeset for help on using the changeset viewer.