Coverage for app/venv/lib/python3.14/site-packages/weblate/lang/migrations/0002_alter_plural_source.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 

5# Generated by Django 4.2.8 on 2023-12-19 11:51 

6 

7from django.db import migrations, models 

8 

9 

10class Migration(migrations.Migration): 

11 dependencies = [ 

12 ("lang", "0001_squashed_weblate_5"), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name="plural", 

18 name="source", 

19 field=models.SmallIntegerField( 

20 choices=[ 

21 (0, "Default plural"), 

22 (1, "gettext plural formula"), 

23 (3, "CLDR plural with zero"), 

24 (4, "CLDR v38+ plural"), 

25 (5, "Android plural"), 

26 (6, "Qt Linguist plural"), 

27 (2, "Manually entered formula"), 

28 ], 

29 default=0, 

30 verbose_name="Plural definition source", 

31 ), 

32 ), 

33 ]