- Timestamp:
- 11/27/06 15:19:58 (2 years ago)
- Files:
-
- mt-i18n/trunk/mt-i18n.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mt-i18n/trunk/mt-i18n.pl
r54 r273 1 1 # MT-I18N plugin for MT::I18N container tags and global filters 2 2 # 3 # Release 0.02 (Apr 24, 2005)3 # $Id$ 4 4 # 5 5 # This software is provided as-is. You may use it for commercial or 6 6 # personal use. If you distribute it, please keep this notice intact. 7 7 # 8 # Copyright (c) 2004 Hirotaka Ogawa8 # Copyright (c) 2004-2006 Hirotaka Ogawa 9 9 10 10 package MT::Plugin::I18N; 11 11 use strict; 12 use MT; 12 13 use MT::Template::Context; 13 14 use MT::I18N; 14 15 15 eval("use Storable;"); 16 if (!$@ && MT->can('add_plugin')) { 16 our $VERSION = '0.03'; 17 18 if (MT->can('add_plugin')) { 17 19 require MT::Plugin; 18 my $plugin = new MT::Plugin(); 19 $plugin->name("MT-I18N Plugin 0.02"); 20 $plugin->description("Add MT::I18N container tags and global filters."); 21 $plugin->doc_link("http://as-is.net/blog/archives/000900.html"); 20 my $plugin = MT::Plugin->new({ 21 name => 'MT-I18N Plugin', 22 description => 'Add MT::I18N container tags and global filters.', 23 doc_link => 'http://code.as-is.net/wiki/MT-I18N_Plugin', 24 author_name => 'Hirotaka Ogawa', 25 author_link => 'http://profile.typekey.com/ogawa/', 26 version => $VERSION, 27 }); 22 28 MT->add_plugin($plugin); 23 29 }
