Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[+FEATURE] Added translation file

  • Loading branch information...
commit 3b9741406cd4a1f086327f48ebd059842832ff64 1 parent cb38c93
David Fuhr davidfuhr authored
36 src/app/code/community/Flagbit/OpenId/Model/Admin/Session.php
View
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Magento
+ *
+ * NOTICE OF LICENSE
+ *
+ * This source file is subject to the Open Software License (OSL 3.0)
+ * that is bundled with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://opensource.org/licenses/osl-3.0.php
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@magentocommerce.com so we can send you a copy immediately.
+ *
+ * DISCLAIMER
+ *
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
+ * versions in the future. If you wish to customize Magento for your
+ * needs please refer to http://www.magentocommerce.com for more information.
+ *
+ * @category Flagbit
+ * @package Flagbit_OpenId
+ * @copyright Copyright (c) 2011 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+/**
+ * Auth session model
+ *
+ * @category Flagbit
+ * @package Flagbit_OpenId
+ * @author David Fuhr <fuhr@flagbit.de>
+ */
+class Flagbit_OpenId_Model_Admin_Session extends Mage_Admin_Model_Session
+{
+}
41 src/app/code/community/Flagbit/OpenId/etc/config.xml
View
@@ -17,7 +17,19 @@
</adminhtml>
</routers>
</admin>
-
+
+ <adminhtml>
+ <translate>
+ <modules>
+ <Flagbit_OpenId>
+ <files>
+ <default>Flagbit_OpenId.csv</default>
+ </files>
+ </Flagbit_OpenId>
+ </modules>
+ </translate>
+ </adminhtml>
+
<global>
<helpers>
<flagbit_openid>
@@ -28,33 +40,23 @@
<admin>
<rewrite>
<observer>Flagbit_OpenId_Model_Admin_Observer</observer>
+ <session>Flagbit_OpenId_Model_Admin_Session</session>
</rewrite>
</admin>
</models>
</global>
-
- <!--
+
+ <!--
<global>
<blocks>
<flagbit_googleauthenticator>
<class>Flagbit_Googleauthenticator_Block</class>
</flagbit_googleauthenticator>
</blocks>
- <helpers>
- <flagbit_googleauthenticator>
- <class>Flagbit_Googleauthenticator_Helper</class>
- </flagbit_googleauthenticator>
- </helpers>
<models>
<flagbit_googleauthenticator>
<class>Flagbit_Googleauthenticator_Model</class>
</flagbit_googleauthenticator>
- <admin>
- <rewrite>
- <session>Flagbit_Googleauthenticator_Model_Session
- </session>
- </rewrite>
- </admin>
</models>
<resources>
<googleauthenticator_setup>
@@ -76,15 +78,6 @@
</observers>
</core_block_abstract_prepare_layout_after>
</events>
- <translate>
- <modules>
- <FireGento_DynamicCategory>
- <files>
- <default>FireGento_DynamicCategory.csv</default>
- </files>
- </FireGento_DynamicCategory>
- </modules>
- </translate>
</adminhtml>
- -->
+ -->
</config>
1  src/app/locale/de_DE/Flagbit_OpenId.csv
View
@@ -0,0 +1 @@
+"OpenID Identifier:","OpenID Identifier:"
Please sign in to comment.
Something went wrong with that request. Please try again.