From 3666288d62c4ad7a2fce33da272c53b20a9c3739 Mon Sep 17 00:00:00 2001 From: ddtddt Date: Tue, 9 Feb 2010 17:54:18 +0000 Subject: [trunk][STC] add localization git-svn-id: http://piwigo.org/svn/trunk@4862 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../language/en_UK/description.txt | 1 + plugins/SwiftThemeCreator/language/en_UK/index.php | 30 +++++++++++++++++++ .../language/en_UK/plugin.lang.php | 35 ++++++++++++++++++++++ .../language/fr_FR/description.txt | 1 + plugins/SwiftThemeCreator/language/fr_FR/index.php | 30 +++++++++++++++++++ .../language/fr_FR/plugin.lang.php | 35 ++++++++++++++++++++++ plugins/SwiftThemeCreator/language/index.php | 30 +++++++++++++++++++ plugins/SwiftThemeCreator/theme_creator.php | 2 ++ plugins/SwiftThemeCreator/theme_creator.tpl | 8 ++--- 9 files changed, 168 insertions(+), 4 deletions(-) create mode 100644 plugins/SwiftThemeCreator/language/en_UK/description.txt create mode 100644 plugins/SwiftThemeCreator/language/en_UK/index.php create mode 100644 plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php create mode 100644 plugins/SwiftThemeCreator/language/fr_FR/description.txt create mode 100644 plugins/SwiftThemeCreator/language/fr_FR/index.php create mode 100644 plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php create mode 100644 plugins/SwiftThemeCreator/language/index.php (limited to 'plugins/SwiftThemeCreator') diff --git a/plugins/SwiftThemeCreator/language/en_UK/description.txt b/plugins/SwiftThemeCreator/language/en_UK/description.txt new file mode 100644 index 000000000..a23b2c67c --- /dev/null +++ b/plugins/SwiftThemeCreator/language/en_UK/description.txt @@ -0,0 +1 @@ +Create new theme elements which can be manually updated later. \ No newline at end of file diff --git a/plugins/SwiftThemeCreator/language/en_UK/index.php b/plugins/SwiftThemeCreator/language/en_UK/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/plugins/SwiftThemeCreator/language/en_UK/index.php @@ -0,0 +1,30 @@ + diff --git a/plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php b/plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php new file mode 100644 index 000000000..997c25478 --- /dev/null +++ b/plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php @@ -0,0 +1,35 @@ + \ No newline at end of file diff --git a/plugins/SwiftThemeCreator/language/fr_FR/description.txt b/plugins/SwiftThemeCreator/language/fr_FR/description.txt new file mode 100644 index 000000000..a23b2c67c --- /dev/null +++ b/plugins/SwiftThemeCreator/language/fr_FR/description.txt @@ -0,0 +1 @@ +Create new theme elements which can be manually updated later. \ No newline at end of file diff --git a/plugins/SwiftThemeCreator/language/fr_FR/index.php b/plugins/SwiftThemeCreator/language/fr_FR/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/plugins/SwiftThemeCreator/language/fr_FR/index.php @@ -0,0 +1,30 @@ + diff --git a/plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php b/plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php new file mode 100644 index 000000000..997c25478 --- /dev/null +++ b/plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php @@ -0,0 +1,35 @@ + \ No newline at end of file diff --git a/plugins/SwiftThemeCreator/language/index.php b/plugins/SwiftThemeCreator/language/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/plugins/SwiftThemeCreator/language/index.php @@ -0,0 +1,30 @@ + diff --git a/plugins/SwiftThemeCreator/theme_creator.php b/plugins/SwiftThemeCreator/theme_creator.php index 9bd30d7c7..25c20fd77 100644 --- a/plugins/SwiftThemeCreator/theme_creator.php +++ b/plugins/SwiftThemeCreator/theme_creator.php @@ -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 */ diff --git a/plugins/SwiftThemeCreator/theme_creator.tpl b/plugins/SwiftThemeCreator/theme_creator.tpl index 9261b0d64..cb71f8b5d 100644 --- a/plugins/SwiftThemeCreator/theme_creator.tpl +++ b/plugins/SwiftThemeCreator/theme_creator.tpl @@ -9,7 +9,7 @@ You can update later the result as you need.'|@translate}
- {'Template selection '|@translate} + {'Template selection'|@translate}
{'Template'|@translate} @@ -43,7 +43,7 @@ You can update later the result as you need.'|@translate}
- {'Colours selection '|@translate} + {'Colours selection'|@translate}
{'Main background'|@translate} @@ -73,7 +73,7 @@ You can update later the result as you need.'|@translate}
- {'Header background selection '|@translate} + {'Header background selection'|@translate}
@@ -154,7 +154,7 @@ You can update later the result as you need.'|@translate}

- {'Just a yoga preview... '|@translate} + {'Just a yoga preview...'|@translate}
{* Preview header *}
-- cgit v1.2.3