diff --git a/SourceGithub/SourceGithub.php b/SourceGithub/SourceGithub.php index ae6837e..9e874cf 100644 --- a/SourceGithub/SourceGithub.php +++ b/SourceGithub/SourceGithub.php @@ -19,8 +19,8 @@ class SourceGithubPlugin extends MantisSourcePlugin { function register() { - $this->name = lang_get( 'plugin_SourceGithub_title' ); - $this->description = lang_get( 'plugin_SourceGithub_description' ); + $this->name = plugin_lang_get( 'title' ); + $this->description = plugin_lang_get( 'description' ); $this->version = '0.12a'; $this->requires = array( @@ -35,12 +35,12 @@ } function get_types( $p_event ) { - return array( 'github' => lang_get( 'plugin_SourceGithub_github' ) ); + return array( 'github' => plugin_lang_get( 'github' ) ); } function show_type( $p_event, $p_type ) { if ( 'github' == $p_type ) { - return lang_get( 'plugin_SourceGithub_github' ); + return plugin_lang_get( 'github' ); } } @@ -139,15 +139,15 @@ } ?>