Skip to content

Instantly share code, notes, and snippets.

View rassie's full-sized avatar

Nikolai Prokoschenko rassie

  • Nürnberg, Germany
View GitHub Profile
[%# Converted #%]
[% SET text_about_edit_notes = l('Please note that it is highly recommended to enter a edit note. If you do so, your edit is more likely to be voted on, and unanimously accepted by the other MusicBrainz editors. If your edit receives the required number of unanimous yes votes, it will be applied instantly, even before the voting period elapses in which edits usually are kept open. For detailed information on how long edits stay open and how many votes are required for it to pass unanimously, please see our edit conditions page.') %]
[% SET text_artist_current_full = l('You are currently viewing all releases by [_1].', artist.name) %]
[% SET text_artist_current_short = l('You are currently viewing only albums, EPs, singles, and compilations by [_1].', artist.name) %]
[% SET text_artist_full_switch = l(' View all releases by [_1].', artist.name) %]
[% SET text_artist_short_switch = l(' View only albums, EPs, singles, and compilations by [_1].', artist.name ) %]
[% SET text_artist_simil
*loc = \&localize;
sub localize {
my $c = shift;
$c->languages;
no strict 'refs';
return &{ ref($c) . '::_loc' }( $_[0], @{ $_[1] } )
if ( ref $_[1] eq 'ARRAY' );
return &{ ref($c) . '::_loc' }(@_);
}
diff --git a/Makefile.PL b/Makefile.PL
index a279d37..f3021b1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -11,6 +11,7 @@ requires 'Catalyst::Component::ACCEPT_CONTEXT';
requires 'Catalyst::Plugin::Authentication';
requires 'Catalyst::Plugin::ConfigLoader';
requires 'Catalyst::Plugin::Form::Processor';
+requires 'Catalyst::Plugin::I18N';
requires 'Catalyst::Plugin::Session::State::Cookie';