Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
[+FEATURE] Added translation file
Browse files Browse the repository at this point in the history
  • Loading branch information
David Fuhr committed Dec 12, 2011
1 parent cb38c93 commit 3b97414
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 24 deletions.
36 changes: 36 additions & 0 deletions src/app/code/community/Flagbit/OpenId/Model/Admin/Session.php
@@ -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 changes: 17 additions & 24 deletions src/app/code/community/Flagbit/OpenId/etc/config.xml
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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 change: 1 addition & 0 deletions src/app/locale/de_DE/Flagbit_OpenId.csv
@@ -0,0 +1 @@
"OpenID Identifier:","OpenID Identifier:"

0 comments on commit 3b97414

Please sign in to comment.