kopia lustrzana https://github.com/wagtail/wagtail
add missing verbose_name_plurals
rodzic
303ee0f95b
commit
fa9e5318b6
|
@ -323,6 +323,7 @@ Contributors
|
|||
* Naa Marteki Reed
|
||||
* Jorge Barata
|
||||
* Brady Moe
|
||||
* Yi Huang
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 2.2.dev20181026000358 on 2018-10-27 09:42
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtailcore', '0040_page_draft_title'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='groupcollectionpermission',
|
||||
options={'verbose_name': 'group collection permission', 'verbose_name_plural': 'group collection permissions'},
|
||||
),
|
||||
]
|
|
@ -2046,3 +2046,4 @@ class GroupCollectionPermission(models.Model):
|
|||
class Meta:
|
||||
unique_together = ('group', 'collection', 'permission')
|
||||
verbose_name = _('group collection permission')
|
||||
verbose_name_plural = _('group collection permissions')
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 2.2.dev20181026000358 on 2018-10-27 09:42
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtaildocs', '0008_document_file_size'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='document',
|
||||
options={'verbose_name': 'document', 'verbose_name_plural': 'documents'},
|
||||
),
|
||||
]
|
|
@ -90,6 +90,7 @@ class AbstractDocument(CollectionMember, index.Indexed, models.Model):
|
|||
class Meta:
|
||||
abstract = True
|
||||
verbose_name = _('document')
|
||||
verbose_name_plural = _('documents')
|
||||
|
||||
|
||||
class Document(AbstractDocument):
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 2.2.dev20181026000358 on 2018-10-27 09:42
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtailembeds', '0003_capitalizeverbose'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='embed',
|
||||
options={'verbose_name': 'embed', 'verbose_name_plural': 'embeds'},
|
||||
),
|
||||
]
|
|
@ -35,6 +35,7 @@ class Embed(models.Model):
|
|||
class Meta:
|
||||
unique_together = ('url', 'max_width')
|
||||
verbose_name = _('embed')
|
||||
verbose_name_plural = _('embeds')
|
||||
|
||||
@property
|
||||
def ratio(self):
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 2.2.dev20181026000358 on 2018-10-27 09:42
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtailsearch', '0003_remove_editors_pick'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='querydailyhits',
|
||||
options={'verbose_name': 'Query Daily Hits', 'verbose_name_plural': 'Query Daily Hits'},
|
||||
),
|
||||
]
|
|
@ -73,3 +73,4 @@ class QueryDailyHits(models.Model):
|
|||
('query', 'date'),
|
||||
)
|
||||
verbose_name = _('Query Daily Hits')
|
||||
verbose_name_plural = _('Query Daily Hits')
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 2.1.2 on 2018-10-27 10:02
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('tests', '0036_streamfieldmigrationmodels_add_field'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='customdocument',
|
||||
options={'verbose_name': 'document', 'verbose_name_plural': 'documents'},
|
||||
),
|
||||
]
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 2.2.dev20181026000358 on 2018-10-27 09:42
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtailusers', '0008_userprofile_avatar'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='userprofile',
|
||||
options={'verbose_name': 'user profile', 'verbose_name_plural': 'user profiles'},
|
||||
),
|
||||
]
|
|
@ -73,3 +73,4 @@ class UserProfile(models.Model):
|
|||
|
||||
class Meta:
|
||||
verbose_name = _('user profile')
|
||||
verbose_name_plural = _('user profiles')
|
||||
|
|
Ładowanie…
Reference in New Issue