X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/08e687e53ba84afd39646185142e59c6bfe77783..HEAD:/src/catalogue/models/source.py diff --git a/src/catalogue/models/source.py b/src/catalogue/models/source.py index ee024e0e6..b2259d467 100644 --- a/src/catalogue/models/source.py +++ b/src/catalogue/models/source.py @@ -1,19 +1,18 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.db import models -from django.utils.translation import gettext_lazy as _ class Source(models.Model): """A collection of books, which might be defined before publishing them.""" - netloc = models.CharField(_('network location'), max_length=120, primary_key=True) - name = models.CharField(_('name'), max_length=120, blank=True) + netloc = models.CharField('położenie sieciowe', max_length=120, primary_key=True) + name = models.CharField('nazwa', max_length=120, blank=True) class Meta: ordering = ('netloc',) - verbose_name = _('source') - verbose_name_plural = _('sources') + verbose_name = 'źródło' + verbose_name_plural = 'źródła' app_label = 'catalogue' def __str__(self):