Coverage for app/venv/lib/python3.14/site-packages/weblate/trans/migrations/0049_component_hide_glossary_matches.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 

5from django.db import migrations, models 

6 

7 

8class Migration(migrations.Migration): 

9 dependencies = [ 

10 ("trans", "0048_change_trans_change_category_idx"), 

11 ] 

12 

13 operations = [ 

14 migrations.AddField( 

15 model_name="component", 

16 name="hide_glossary_matches", 

17 field=models.BooleanField( 

18 default=False, 

19 verbose_name="Do not show glossary matches", 

20 help_text="Hides the glossary panel in the translation editor.", 

21 ), 

22 ), 

23 ]