forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add verbose name to locale field of TranslatableMixin (wagtail#12071)
fixes wagtail#12068
- Loading branch information
1 parent
ead391e
commit ad95e0a
Showing
8 changed files
with
133 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -824,6 +824,7 @@ | |
* Roel Koper | ||
* Inju Michorius | ||
* Jeroen de Vries | ||
* Romein van Buren | ||
|
||
## Translators | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 5.0.6 on 2024-06-21 06:47 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('wagtailcore', '0093_uploadedfile'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='page', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
wagtail/test/i18n/migrations/0003_alter_clusterabletestmodel_locale_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Generated by Django 5.0.6 on 2024-06-21 06:47 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('i18n', '0002_clusterabletestmodel_clusterabletestmodelchild_clusterabletestmodeltranslatablechild'), | ||
('wagtailcore', '0094_alter_page_locale'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='clusterabletestmodel', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='clusterabletestmodeltranslatablechild', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='testchildobject', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='testmodel', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='testnonparentalchildobject', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
wagtail/test/snippets/migrations/0012_alter_translatablesnippet_locale.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated by Django 5.0.6 on 2024-06-21 06:47 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('snippetstests', '0011_nonautocompletesearchablesnippet'), | ||
('wagtailcore', '0094_alter_page_locale'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='translatablesnippet', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
] |
45 changes: 45 additions & 0 deletions
45
wagtail/test/testapp/migrations/0039_alter_eventcategory_locale_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by Django 5.0.6 on 2024-06-21 06:47 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tests', '0038_sociallink'), | ||
('wagtailcore', '0094_alter_page_locale'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='eventcategory', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='eventpagecarouselitem', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='eventpagerelatedlink', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='eventpagespeaker', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='eventpagespeakeraward', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
migrations.AlterField( | ||
model_name='fullfeaturedsnippet', | ||
name='locale', | ||
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='wagtailcore.locale', verbose_name='locale'), | ||
), | ||
] |