Permalink
Browse files

g11n - changing more names..

git-svn-id: http://joomlacode.org/svn/elkuku/g11n/trunk@271 21ea0da2-e27b-42bb-affe-a196c22f1bbc
  • Loading branch information...
1 parent a6d2f06 commit 8b66be53c95e7cd75ceb37343857eba3ac28501f @elkuku committed Dec 12, 2010
@@ -2,11 +2,11 @@
/**
* CHANGELOG
*
- * This is the changelog for G11nSwitcherAdmin.<br>
+ * This is the changelog for g11nSwitcher.<br>
* <b>Please</b> be patient =;)
*
* @version $Id$
- * @package G11nSwitcherAdmin
+ * @package G11nSwitcher
* @subpackage Documentation
* @author Nikolai Plath {@link http://nik-it.de}
* @author Created on 07-Dec-2010
@@ -26,7 +26,7 @@ function CHANGELOG()
_______________________________________________
_______________________________________________
-This is the changelog for G11nSwitcherAdmin
+This is the changelog for G11nSwitcher
Please be patient =;)
_______________________________________________
@@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: mod_g11nswitcheradmin/admin 123.456\n"
+"Project-Id-Version: mod_g11nswitcher/admin 123.456\n"
"Report-Msgid-Bugs-To: info@nik.it.de\n"
"POT-Creation-Date: 2010-12-08 11:43-0500\n"
"PO-Revision-Date: 2010-12-08 11:50-0500\n"
@@ -15,6 +15,6 @@ msgstr ""
"Content-Type: text/plain; charset=UTF8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: administrator/modules/mod_g11nswitcheradmin/tmpl/default.php:52
+#: administrator/modules/mod_g11nswitcher/tmpl/default.php:52
msgid "Clean the cache"
msgstr "Cache säubern"
@@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: mod_g11nswitcheradmin/admin 123.456\n"
+"Project-Id-Version: mod_g11nswitcher/admin 123.456\n"
"Report-Msgid-Bugs-To: info@nik.it.de\n"
"POT-Creation-Date: 2010-12-08 11:43-0500\n"
"PO-Revision-Date: 2010-12-08 11:52-0500\n"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
-#: administrator/modules/mod_g11nswitcheradmin/tmpl/default.php:52
+#: administrator/modules/mod_g11nswitcher/tmpl/default.php:52
msgid "Clean the cache"
msgstr "Limpiar el caché"
@@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: mod_g11nswitcheradmin/admin 123.456\n"
+"Project-Id-Version: mod_g11nswitcher/admin 123.456\n"
"Report-Msgid-Bugs-To: info@nik.it.de\n"
"POT-Creation-Date: 2010-12-08 11:43-0500\n"
"PO-Revision-Date: 2010-12-08 11:53-0500\n"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
-#: administrator/modules/mod_g11nswitcheradmin/tmpl/default.php:52
+#: administrator/modules/mod_g11nswitcher/tmpl/default.php:52
msgid "Clean the cache"
msgstr "Nettoyer le cache"
@@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: mod_g11nswitcheradmin/admin 123.456\n"
+"Project-Id-Version: mod_g11nswitcher/admin 123.456\n"
"Report-Msgid-Bugs-To: info@nik.it.de\n"
"POT-Creation-Date: 2010-12-08 11:43-0500\n"
"PO-Revision-Date: 2010-12-08 11:53-0500\n"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
-#: administrator/modules/mod_g11nswitcheradmin/tmpl/default.php:52
+#: administrator/modules/mod_g11nswitcher/tmpl/default.php:52
msgid "Clean the cache"
msgstr "Wyczyść cache"
@@ -6,7 +6,7 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: mod_g11nswitcheradmin/admin 123.456\n"
+"Project-Id-Version: mod_g11nswitcher/admin 123.456\n"
"Report-Msgid-Bugs-To: info@nik.it.de\n"
"POT-Creation-Date: 2010-12-08 11:43-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
@@ -16,6 +16,6 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: administrator/modules/mod_g11nswitcheradmin/tmpl/default.php:52
+#: administrator/modules/mod_g11nswitcher/tmpl/default.php:52
msgid "Clean the cache"
msgstr ""
@@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: mod_g11nswitcheradmin/admin 123.456\n"
+"Project-Id-Version: mod_g11nswitcher/admin 123.456\n"
"Report-Msgid-Bugs-To: info@nik.it.de\n"
"POT-Creation-Date: 2010-12-08 11:43-0500\n"
"PO-Revision-Date: 2010-12-08 11:54-0500\n"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
-#: administrator/modules/mod_g11nswitcheradmin/tmpl/default.php:52
+#: administrator/modules/mod_g11nswitcher/tmpl/default.php:52
msgid "Clean the cache"
msgstr "清洁缓存"
@@ -1,7 +1,7 @@
<?php
/**
* @version SVN: $Id$
- * @package G11nSwitcherAdmin
+ * @package G11nSwitcher
* @subpackage Base
* @author Nikolai Plath {@link http://nik-it.de}
* @author Created on 07-Dec-2010
@@ -17,13 +17,14 @@
throw new Exception('g11n language library is required :(');
# g11n::cleanStorage();
- g11n::loadLanguage('mod_g11nswitcheradmin');
+ g11n::loadLanguage('mod_g11nswitcher');
# g11n::printEvents();
}
catch(Exception $e)
{
JError::raiseWarning(0, $e->getMessage());
+ echo $e->getMessage();
return;
}//try
@@ -38,4 +39,4 @@
#$items = Modg11nSwitcherHelper::getItems($userCount);
//-- Include the template for display
-require JModuleHelper::getLayoutPath('mod_g11nswitcheradmin');
+require JModuleHelper::getLayoutPath('mod_g11nswitcher');
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5" client="administrator">
- <name>G11nSwitcherAdmin</name>
+ <name>G11nSwitcher</name>
<creationDate>07-Dec-2010</creationDate>
<author>Nikolai Plath</author>
<authorEmail>info@nik-it.de</authorEmail>
@@ -11,6 +11,6 @@
<description>Switches languages in the administrator area</description>
<files folder="admin">
<filename>CHANGELOG.php</filename>
- <filename module="mod_g11nswitcheradmin">mod_g11nswitcheradmin.php</filename>
+ <filename module="mod_g11nswitcher">mod_g11nswitcher.php</filename>
</files>
</install>
@@ -27,7 +27,7 @@
$baseLink = substr($baseLink, 0, strpos($baseLink, 'lang='));
}
-JHtml::_('stylesheet', 'administrator/modules/mod_g11nswitcheradmin/assets/css/default.css');
+JHtml::_('stylesheet', 'administrator/modules/mod_g11nswitcher/assets/css/default.css');
?>
<span class="g11nSwitcher">

0 comments on commit 8b66be5

Please sign in to comment.