Skip to content

Instantly share code, notes, and snippets.

View rassie's full-sized avatar

Nikolai Prokoschenko rassie

  • Nürnberg, Germany
View GitHub Profile
nikolai@nikolai-desktop:/musicbrainz$ ./admin/InitDb.pl --createdb
Fri Aug 7 23:36:12 2009 : InitDb.pl starting
Fri Aug 7 23:36:12 2009 : Creating database 'musicbrainz_db'
createlang: konnte nicht mit Datenbank plpgsql verbinden: FATAL: Datenbank >>plpgsql<< existiert nicht
Failed to create language
Fri Aug 7 23:36:13 2009 : InitDb.pl failed
<html>
<style type="text/css">
BODY {
counter-reset: chapter; /* Create a chapter counter scope */
}
H1:before {
content: counter(chapter) ". ";
counter-increment: chapter; /* Add 1 to chapter */
}
H1 {
--- /home/nikolai/Downloads/lastfmplus/__init__.py 2009-07-20 23:23:58.000000000 +0200
+++ __init__.py 2009-07-21 00:46:45.000000000 +0200
@@ -176,56 +176,60 @@
# join the information
join_tags = cfg["lastfm_join_tags_sign"]
- if join_tags:
+ def join_tags_or_not(list):
+ if join_tags:
+ return join_tags.join(list)
# Six singular, six plural cases (list length = count)
forms.ru.names = [
Единственное число именительный падеж,
Единственное число родительный падеж,
Единственное число дательный падеж,
Единственное число винительный падеж,
Единственное число творительный падеж,
Единственное число предложный падеж,
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
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection
Section "Module"
Load "glx"
EndSection
Section "Device"
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
" 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; "
# 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