Ignore:
Timestamp:
May 29, 2013, 6:54:11 PM (11 years ago)
Author:
Chillexistence
Message:

Adding language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Crop_Image/main.inc.php

    r22856 r22939  
    22/*
    33Plugin Name: Crop Image
    4 Version: 2.5.c
     4Version: 2.5.d
    55Description: Enables to Crop Images already uploaded to the gallery, basic functionality.  Tested with v2.5.1, v2.4.6
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=700
     
    1919function crop_image_add_tab($sheets, $id)
    2020
     21        global $lang;
     22        load_language('plugin.lang', dirname(__FILE__).'/');
     23         
    2124        $image_id = isset($_GET['image_id'])? $_GET['image_id'] : '';
    2225 
     
    4750function cropImage_set_prefilter_add_to_pic_info()
    4851{
    49         global $template, $conf, $user, $page;
     52        global $template, $conf, $user, $page, $lang;
     53        load_language('plugin.lang', dirname(__FILE__).'/');
    5054       
    5155        $url_admin =
     
    9599       
    96100        $replacement = '
    97         <a class="pwg-state-default pwg-button" href="{$U_CROPIMAGE}" title="Crop Image" rel="nofollow">
    98          <span class="ci-icon ci-icon-cropimage-{$U_CROPIMAGE_THEME}"> </span><span class="pwg-button-text">Crop Image</span>
     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>
    99103  </a>
    100104        ' . $search;
Note: See TracChangeset for help on using the changeset viewer.