Coverage for app/venv/lib/python3.14/site-packages/weblate/trans/migrations/0028_alter_change_action.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 5.1.5 on 2025-02-04 12:27 

6 

7from django.db import migrations, models 

8 

9 

10class Migration(migrations.Migration): 

11 dependencies = [ 

12 ("trans", "0027_alter_change_action"), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name="change", 

18 name="action", 

19 field=models.IntegerField( 

20 choices=[ 

21 (0, "Resource updated"), 

22 (1, "Translation completed"), 

23 (2, "Translation changed"), 

24 (5, "Translation added"), 

25 (3, "Comment added"), 

26 (4, "Suggestion added"), 

27 (6, "Automatically translated"), 

28 (7, "Suggestion accepted"), 

29 (8, "Translation reverted"), 

30 (9, "Translation uploaded"), 

31 (13, "Source string added"), 

32 (14, "Component locked"), 

33 (15, "Component unlocked"), 

34 (17, "Changes committed"), 

35 (18, "Changes pushed"), 

36 (19, "Repository reset"), 

37 (20, "Repository merged"), 

38 (21, "Repository rebased"), 

39 (22, "Repository merge failed"), 

40 (23, "Repository rebase failed"), 

41 (28, "Repository push failed"), 

42 (24, "Parsing failed"), 

43 (25, "Translation removed"), 

44 (26, "Suggestion removed"), 

45 (27, "Translation replaced"), 

46 (29, "Suggestion removed during cleanup"), 

47 (30, "Source string changed"), 

48 (31, "String added"), 

49 (32, "Bulk status changed"), 

50 (33, "Visibility changed"), 

51 (34, "User added"), 

52 (35, "User removed"), 

53 (36, "Translation approved"), 

54 (37, "Marked for edit"), 

55 (38, "Component removed"), 

56 (39, "Project removed"), 

57 (41, "Project renamed"), 

58 (42, "Component renamed"), 

59 (43, "Moved component"), 

60 (45, "Contributor joined"), 

61 (46, "Announcement posted"), 

62 (47, "Alert triggered"), 

63 (48, "Language added"), 

64 (49, "Language requested"), 

65 (50, "Project created"), 

66 (51, "Component created"), 

67 (52, "User invited"), 

68 (53, "Repository notification received"), 

69 (54, "Translation replaced file by upload"), 

70 (55, "License changed"), 

71 (56, "Contributor license agreement changed"), 

72 (57, "Screenshot added"), 

73 (58, "Screenshot uploaded"), 

74 (59, "String updated in the repository"), 

75 (60, "Add-on installed"), 

76 (61, "Add-on configuration changed"), 

77 (62, "Add-on uninstalled"), 

78 (63, "String removed"), 

79 (64, "Comment removed"), 

80 (65, "Comment resolved"), 

81 (66, "Explanation updated"), 

82 (67, "Category removed"), 

83 (68, "Category renamed"), 

84 (69, "Category moved"), 

85 (70, "Saving string failed"), 

86 (71, "String added in the repository"), 

87 (72, "String updated in the upload"), 

88 (73, "String added in the upload"), 

89 (74, "Translation updated by source upload"), 

90 (75, "Component translation completed"), 

91 (76, "Applied enforced check"), 

92 (77, "Propagated change"), 

93 ], 

94 default=2, 

95 ), 

96 ), 

97 ]