Coverage for app/venv/lib/python3.14/site-packages/weblate/trans/migrations/0037_component_contribute_project_tm.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-07 07:15 +0000

1# Copyright © Michal Čihař <michal@weblate.org> 

2# 

3# SPDX-License-Identifier: GPL-3.0-or-later 

4# Generated by Django 5.2.1 on 2025-05-25 18:59 

5 

6from django.db import migrations, models 

7 

8 

9class Migration(migrations.Migration): 

10 dependencies = [ 

11 ("trans", "0036_alter_component_is_glossary"), 

12 ] 

13 

14 operations = [ 

15 migrations.AddField( 

16 model_name="component", 

17 name="contribute_project_tm", 

18 field=models.BooleanField( 

19 default=True, 

20 help_text="Allow this component's translations to be added to the project-level translation memory.", 

21 verbose_name="Contribute to project translation memory", 

22 ), 

23 ), 

24 ]