Skip to content

Instantly share code, notes, and snippets.

View rassie's full-sized avatar

Nikolai Prokoschenko rassie

  • Nürnberg, Germany
View GitHub Profile
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';
[%# 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' }(@_);
}
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
package Apache::MP3::L10N::sk; # Slovak
use strict;
use Apache::MP3::L10N;
use vars qw($VERSION @ISA %Lexicon);
@ISA = qw(Apache::MP3::L10N);
sub language_tag {__PACKAGE__->SUPER::language_tag}
# Translators for this module, in no particular order:
# Radovan Hrabcak duffy@duffy.sk
" nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2; "
$code =~ s/([^_a-zA-Z0-9])([_a-z][_A-Za-z0-9]*)([^_a-zA-Z0-9])/$1\$$2$3/g;
" $nplurals=3; $plural=n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2; "
diff --git a/root/artist/remove_alias.tt b/root/artist/remove_alias.tt
index 9d6adb9..eb8b9a9 100644
--- a/root/artist/remove_alias.tt
+++ b/root/artist/remove_alias.tt
@@ -2,8 +2,8 @@
[%- WRAPPER 'components/box.tt' header=l('Confirm Alias removal') -%]
[%- WRAPPER 'layout/guidelines.tt' -%]
[%- create_guideline(l('Are you sure you want to remove the alias <strong>{alias}</strong>, which points to the artist {artist}?', {alias => alias.name, artist => entity_link(artist)})) -%]
- [%- create_guideline(l('Please review the documentation about {aliases}, before entering this edit.', {aliases => doc_link('ArtistAlias', l('artist aliases'))})) -%]
- [%- create_guideline(l('If you added recently added this alias by mistake, please follow the instructions about {doc_cancel}. Removing pending edits, rather than entering new edits, helps reduce the number of edits open in the system.', {doc_cancel => doc_link('HowToCancelEdits', l('how to cancel pending edit
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection
Section "Module"
Load "glx"
EndSection
Section "Device"
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f962db64710 (LWP 18916)]
0x00007f962bb63335 in free () from /lib/libc.so.6
(gdb) bt
#0 0x00007f962bb63335 in free () from /lib/libc.so.6
#1 0x00007f962d9eeda9 in unac_string () from /usr/lib/libunac.so.1
#2 0x00007f96279cdd5a in unaccent (fcinfo=<value optimized out>) at unaccent.c:47
#3 0x00007f962dcfeafb in ExecMakeFunctionResult () from /usr/lib/postgresql/8.3/bin/postgres
#4 0x00007f962dcfc191 in ExecProject () from /usr/lib/postgresql/8.3/bin/postgres
#5 0x00007f962dd0db4b in ExecResult () from /usr/lib/postgresql/8.3/bin/postgres
# Six singular, six plural cases (list length = count)
forms.ru.names = [
Единственное число именительный падеж,
Единственное число родительный падеж,
Единственное число дательный падеж,
Единственное число винительный падеж,
Единственное число творительный падеж,
Единственное число предложный падеж,