msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-19 11:40+0200\n"
-"PO-Revision-Date: 2012-07-16 15:13+0100\n"
-"Last-Translator: Marcin Koziej <marcin@lolownia.org>\n"
+"POT-Creation-Date: 2012-09-06 15:41+0200\n"
+"PO-Revision-Date: 2012-09-06 15:43+0100\n"
+"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
-"|| n%100>=20) ? 1 : 2)\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: admin.py:16
+msgid "Background"
+msgstr "Obraz tła"
+
+#: admin.py:25
+#: models.py:22
+msgid "image"
+msgstr "obraz"
#: forms.py:23
msgid "Tags (comma-separated)"
#: forms.py:47
msgid "Name of the new shelf"
-msgstr ""
+msgstr "Nazwa nowej półki"
+
+#: models.py:13
+msgid "book"
+msgstr "książka"
#: models.py:14
msgid "text"
msgid "small"
msgstr "mały"
-#: models.py:15
+#: models.py:16
msgid "Make this cite display smaller."
msgstr "Sprawia, że cytat wyświetla się mniejszym fontem."
-#: models.py:16
+#: models.py:17
msgid "VIP"
-msgstr ""
+msgstr "VIP"
-#: models.py:17
+#: models.py:18
+#: models.py:28
msgid "link"
-msgstr ""
+msgstr "odnośnik"
+
+#: models.py:19
+msgid "sticky"
+msgstr "przyklejony"
+
+#: models.py:20
+msgid "Sticky cites will take precedense."
+msgstr "Przyklejone cytaty mają pierwszeństwo."
+
+#: models.py:24
+msgid "title"
+msgstr "tytuł"
+
+#: models.py:26
+msgid "author"
+msgstr "autor"
+
+#: models.py:29
+msgid "license name"
+msgstr "nazwa licencji"
+
+#: models.py:31
+msgid "license link"
+msgstr "adres licencji"
+
+#: models.py:35
+msgid "cite"
+msgstr "cytat"
+
+#: models.py:36
+msgid "cites"
+msgstr "cytaty"
#: templates/social/cite_promo.html:6
msgid "recommends"
msgstr "poleca"
-#: templates/social/my_shelf.html:5 templates/social/my_shelf.html.py:11
+#: templates/social/my_shelf.html:5
+#: templates/social/my_shelf.html.py:11
msgid "My shelf"
msgstr "Moja półka"
#: templates/social/my_shelf.html:16
-msgid ""
-"Add works to your shelf by clicking on the star on the page of the work. The "
-"work will then show up on My shelf page."
-msgstr ""
-"Aby dodać pozycję do swojej półki, należy zaznaczyć gwiazdkę znajdującą się "
-"na stronie utworu. Po jej zaznaczeniu publikacja pojawi się w zakładce Moja "
-"półka."
+msgid "Add works to your shelf by clicking on the star on the page of the work. The work will then show up on My shelf page."
+msgstr "Aby dodać pozycję do swojej półki, należy zaznaczyć gwiazdkę znajdującą się na stronie utworu. Po jej zaznaczeniu publikacja pojawi się w zakładce Moja półka."
#: templates/social/sets_form.html:7
msgid "Remove from my shelf"
msgstr "Usuń z mojej półki"
+
--- /dev/null
+# -*- coding: utf-8 -*-
+import datetime
+from south.db import db
+from south.v2 import SchemaMigration
+from django.db import models
+
+
+class Migration(SchemaMigration):
+
+ def forwards(self, orm):
+ # Adding field 'Cite.sticky'
+ db.add_column('social_cite', 'sticky',
+ self.gf('django.db.models.fields.BooleanField')(default=False),
+ keep_default=False)
+
+ # Adding field 'Cite.image'
+ db.add_column('social_cite', 'image',
+ self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True),
+ keep_default=False)
+
+ # Adding field 'Cite.image_title'
+ db.add_column('social_cite', 'image_title',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True),
+ keep_default=False)
+
+ # Adding field 'Cite.image_author'
+ db.add_column('social_cite', 'image_author',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True),
+ keep_default=False)
+
+ # Adding field 'Cite.image_link'
+ db.add_column('social_cite', 'image_link',
+ self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True),
+ keep_default=False)
+
+ # Adding field 'Cite.image_license'
+ db.add_column('social_cite', 'image_license',
+ self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True),
+ keep_default=False)
+
+ # Adding field 'Cite.image_license_link'
+ db.add_column('social_cite', 'image_license_link',
+ self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True),
+ keep_default=False)
+
+
+ def backwards(self, orm):
+ # Deleting field 'Cite.sticky'
+ db.delete_column('social_cite', 'sticky')
+
+ # Deleting field 'Cite.image'
+ db.delete_column('social_cite', 'image')
+
+ # Deleting field 'Cite.image_title'
+ db.delete_column('social_cite', 'image_title')
+
+ # Deleting field 'Cite.image_author'
+ db.delete_column('social_cite', 'image_author')
+
+ # Deleting field 'Cite.image_link'
+ db.delete_column('social_cite', 'image_link')
+
+ # Deleting field 'Cite.image_license'
+ db.delete_column('social_cite', 'image_license')
+
+ # Deleting field 'Cite.image_license_link'
+ db.delete_column('social_cite', 'image_license_link')
+
+
+ models = {
+ 'catalogue.book': {
+ 'Meta': {'ordering': "('sort_key',)", 'object_name': 'Book'},
+ '_related_info': ('jsonfield.fields.JSONField', [], {'null': 'True', 'blank': 'True'}),
+ 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
+ 'common_slug': ('django.db.models.fields.SlugField', [], {'max_length': '120'}),
+ 'cover': ('catalogue.fields.EbookField', [], {'max_length': '100', 'null': 'True', 'format_name': "'cover'", 'blank': 'True'}),
+ 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
+ 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
+ 'epub_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'epub'", 'blank': 'True'}),
+ 'extra_info': ('jsonfield.fields.JSONField', [], {'default': "'{}'"}),
+ 'fb2_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'fb2'", 'blank': 'True'}),
+ 'gazeta_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
+ 'html_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'html'", 'blank': 'True'}),
+ 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'language': ('django.db.models.fields.CharField', [], {'default': "'pol'", 'max_length': '3', 'db_index': 'True'}),
+ 'mobi_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'mobi'", 'blank': 'True'}),
+ 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['catalogue.Book']"}),
+ 'parent_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+ 'pdf_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'pdf'", 'blank': 'True'}),
+ 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '120'}),
+ 'sort_key': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
+ 'title': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
+ 'txt_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'txt'", 'blank': 'True'}),
+ 'wiki_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
+ 'xml_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'xml'", 'blank': 'True'})
+ },
+ 'social.cite': {
+ 'Meta': {'ordering': "('vip', 'text')", 'object_name': 'Cite'},
+ 'book': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalogue.Book']"}),
+ 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
+ 'image_author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
+ 'image_license': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
+ 'image_license_link': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
+ 'image_link': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
+ 'image_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
+ 'link': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
+ 'small': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'sticky': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'text': ('django.db.models.fields.TextField', [], {}),
+ 'vip': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'})
+ }
+ }
+
+ complete_apps = ['social']
\ No newline at end of file
class Cite(models.Model):
- book = models.ForeignKey(Book)
+ book = models.ForeignKey(Book, verbose_name=_('book'))
text = models.TextField(_('text'))
- small = models.BooleanField(_('small'), default=False, help_text=_('Make this cite display smaller.'))
+ small = models.BooleanField(_('small'), default=False,
+ help_text=_('Make this cite display smaller.'))
vip = models.CharField(_('VIP'), max_length=128, null=True, blank=True)
link = models.URLField(_('link'))
+ sticky = models.BooleanField(_('sticky'), default=False, db_index=True,
+ help_text=_('Sticky cites will take precedense.'))
+
+ image = models.ImageField(_('image'), upload_to='social/cite',
+ null=True, blank=True)
+ image_title = models.CharField(_('title'), max_length=255,
+ null=True, blank=True)
+ image_author = models.CharField(_('author'),
+ max_length=255, blank=True, null=True)
+ image_link = models.URLField(_('link'), blank=True, null=True)
+ image_license = models.CharField(_('license name'),
+ max_length=255, blank=True, null=True)
+ image_license_link = models.URLField(_('license link'), blank=True, null=True)
class Meta:
ordering = ('vip', 'text')
+ verbose_name = _('cite')
+ verbose_name_plural = _('cites')
def __unicode__(self):
return u"%s: %s…" % (self.vip, self.text[:60])