[trunk][STC] add localization

git-svn-id: http://piwigo.org/svn/trunk@4862 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
ddtddt 2010-02-09 17:54:18 +00:00
commit 3666288d62
9 changed files with 168 additions and 4 deletions

View file

@ -0,0 +1 @@
Create new theme elements which can be manually updated later.

View file

@ -0,0 +1,30 @@
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based picture gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation |
// | |
// | This program is distributed in the hope that it will be useful, but |
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+
// Recursive call
$url = '../';
header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );
exit();
?>

View file

@ -0,0 +1,35 @@
<?php
$lang['Swift Theme Creator'] = 'Swift Theme Creator';
$lang[''] = '';
$lang['The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.'] = 'The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.';
$lang['Template selection'] = 'Template selection';
$lang['Template'] = 'Template';
$lang['New theme to be created'] = 'New theme to be created';
$lang['Colours selection'] = 'Colours selection';
$lang['Main background'] = 'Main background';
$lang['Default text'] = 'Default text';
$lang['Internal links'] = 'Internal links';
$lang['Hover links'] = 'Hover links';
$lang['External links'] = 'External links';
$lang['Header background selection'] = 'Header background selection';
$lang['No picture'] = 'No picture';
$lang['Random source'] = 'Random source';
$lang['Fixed path'] = 'Fixed path';
$lang['Colorize'] = 'Colorize';
$lang['Enhance brightness'] = 'Enhance brightness';
$lang['Reduce contrast'] = 'Reduce contrast';
$lang['Width limit in pixels'] = 'Width limit in pixels';
$lang['Height limit in pixels'] = 'Height limit in pixels';
$lang['Display mode'] = 'Display mode';
$lang['Reset'] = 'Reset';
$lang['Generate'] = 'Generate';
$lang['Simulate'] = 'Simulate';
$lang['Just a yoga preview...'] = 'Just a yoga preview...';
$lang['"Fixed header" preview'] = '"Fixed header" preview';
$lang['"Random header" preview'] = '"Random header" preview';
$lang['"No header" preview'] = '"No header" preview';
$lang['Preview'] = 'Preview';
$lang['home'] = 'home';
$lang['...to get an idea of the expected result. Preview is based on yoga-like template only.'] = '...to get an idea of the expected result. Preview is based on yoga-like template only.';
?>

View file

@ -0,0 +1 @@
Create new theme elements which can be manually updated later.

View file

@ -0,0 +1,30 @@
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based picture gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation |
// | |
// | This program is distributed in the hope that it will be useful, but |
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+
// Recursive call
$url = '../';
header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );
exit();
?>

View file

@ -0,0 +1,35 @@
<?php
$lang['Swift Theme Creator'] = 'Swift Theme Creator';
$lang[''] = '';
$lang['The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.'] = 'The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.';
$lang['Template selection'] = 'Template selection';
$lang['Template'] = 'Template';
$lang['New theme to be created'] = 'New theme to be created';
$lang['Colours selection'] = 'Colours selection';
$lang['Main background'] = 'Main background';
$lang['Default text'] = 'Default text';
$lang['Internal links'] = 'Internal links';
$lang['Hover links'] = 'Hover links';
$lang['External links'] = 'External links';
$lang['Header background selection'] = 'Header background selection';
$lang['No picture'] = 'No picture';
$lang['Random source'] = 'Random source';
$lang['Fixed path'] = 'Fixed path';
$lang['Colorize'] = 'Colorize';
$lang['Enhance brightness'] = 'Enhance brightness';
$lang['Reduce contrast'] = 'Reduce contrast';
$lang['Width limit in pixels'] = 'Width limit in pixels';
$lang['Height limit in pixels'] = 'Height limit in pixels';
$lang['Display mode'] = 'Display mode';
$lang['Reset'] = 'Reset';
$lang['Generate'] = 'Generate';
$lang['Simulate'] = 'Simulate';
$lang['Just a yoga preview...'] = 'Just a yoga preview...';
$lang['"Fixed header" preview'] = '"Fixed header" preview';
$lang['"Random header" preview'] = '"Random header" preview';
$lang['"No header" preview'] = '"No header" preview';
$lang['Preview'] = 'Preview';
$lang['home'] = 'home';
$lang['...to get an idea of the expected result. Preview is based on yoga-like template only.'] = '...to get an idea of the expected result. Preview is based on yoga-like template only.';
?>

View file

@ -0,0 +1,30 @@
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based picture gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation |
// | |
// | This program is distributed in the hope that it will be useful, but |
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+
// Recursive call
$url = '../';
header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );
exit();
?>

View file

@ -26,6 +26,8 @@ if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
if (!defined('IN_ADMIN') or !IN_ADMIN) die('Hacking attempt!');
define('STC_PATH', PHPWG_PLUGINS_PATH.'SwiftThemeCreator/');
define('STC_INTERNAL_VERSION', '1.40');
load_language('plugin.lang', STC_PATH);
/*
* stc_hex2rgb convert any string to array of RGB values
*/

View file

@ -9,7 +9,7 @@ You can update later the result as you need.'|@translate}
<form method="post" action="" class="general">
<fieldset>
<legend>{'Template selection '|@translate}</legend>
<legend>{'Template selection'|@translate}</legend>
<table><tr><td style="padding-right:20px;">
{'Template'|@translate}
</td><td>
@ -43,7 +43,7 @@ You can update later the result as you need.'|@translate}
</script>
<fieldset>
<legend>{'Colours selection '|@translate}</legend>
<legend>{'Colours selection'|@translate}</legend>
<table>
<tr><td style="padding-right:20px;">
{'Main background'|@translate}
@ -73,7 +73,7 @@ You can update later the result as you need.'|@translate}
</fieldset>
<fieldset>
<legend>{'Header background selection '|@translate}</legend>
<legend>{'Header background selection'|@translate}</legend>
<table>
<tr>
<td style="padding-right:120px;">
@ -154,7 +154,7 @@ You can update later the result as you need.'|@translate}
</p>
</form>
<fieldset>
<legend>{'Just a yoga preview... '|@translate}</legend>
<legend>{'Just a yoga preview...'|@translate}</legend>
<div style="background-color:{$main.color1}; width: 600px; overflow: hidden; margin: 5px auto 5px auto;
font-family:Univers,Helvetica,Optima,'Bitstream Vera Sans',sans-serif;">
{* Preview header *}<div style="width: 600px; height: 80px; overflow: hidden;">