Ignore:
Timestamp:
01/25/10 11:56:15 (10 years ago)
Author:
plg
Message:

feature 1399: i18n for Upload Form

Location:
extensions/upload_form
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/upload_form/index.php

    r4739 r4740  
    11<?php 
    2 // +-----------------------------------------------------------------------+ 
    3 // | PhpWebGallery - a PHP based picture gallery                           | 
    4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 
    5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 
    6 // +-----------------------------------------------------------------------+ 
    7 // | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $ 
    8 // | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $ 
    9 // | last modifier : $Author: rub $ 
    10 // | revision      : $Revision: 1912 $ 
    11 // +-----------------------------------------------------------------------+ 
    12 // | This program is free software; you can redistribute it and/or modify  | 
    13 // | it under the terms of the GNU General Public License as published by  | 
    14 // | the Free Software Foundation                                          | 
    15 // |                                                                       | 
    16 // | This program is distributed in the hope that it will be useful, but   | 
    17 // | WITHOUT ANY WARRANTY; without even the implied warranty of            | 
    18 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      | 
    19 // | General Public License for more details.                              | 
    20 // |                                                                       | 
    21 // | You should have received a copy of the GNU General Public License     | 
    22 // | along with this program; if not, write to the Free Software           | 
    23 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 
    24 // | USA.                                                                  | 
    25 // +-----------------------------------------------------------------------+ 
    26  
    272// Recursive call 
    283$url = '../'; 
  • extensions/upload_form/upload.php

    r4739 r4740  
    33// | Piwigo - a PHP based picture gallery                                  | 
    44// +-----------------------------------------------------------------------+ 
    5 // | Copyright(C) 2009      Pierrick LE GALL             http://piwigo.org | 
     5// | Copyright(C) 2010      Pierrick LE GALL             http://piwigo.org | 
    66// +-----------------------------------------------------------------------+ 
    77// | This program is free software; you can redistribute it and/or modify  | 
     
    2727include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 
    2828include_once(UPLOAD_FORM_PATH.'include/functions_upload.inc.php'); 
    29 // load_language('plugin.lang', COMMUNITY_PATH); 
     29load_language('plugin.lang', UPLOAD_FORM_PATH); 
    3030 
    3131$admin_base_url = get_root_url().'admin.php?page=plugin&section=upload_form%2Fupload.php'; 
  • extensions/upload_form/upload.tpl

    r4739 r4740  
    3636          </div> 
    3737          <div id="addUploadBox"> 
    38             <a href="javascript: UpdateUploadSlots()">+ Add an upload box</a> 
     38            <a href="javascript: UpdateUploadSlots()">{'+ Add an upload box'|@translate}</a> 
    3939          </div> 
    4040        </td> 
Note: See TracChangeset for help on using the changeset viewer.