Coverage for app/venv/lib/python3.14/site-packages/weblate/accounts/migrations/0010_alter_subscription_notification.py: 100%
4 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 07:15 +0000
« 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
5# Generated by Django 5.0.3 on 2024-05-15 06:04
7from django.db import migrations, models
10class Migration(migrations.Migration):
11 dependencies = [
12 ("accounts", "0009_alter_profile_dashboard_view"),
13 ]
15 operations = [
16 migrations.AlterField(
17 model_name="subscription",
18 name="notification",
19 field=models.CharField(
20 choices=[
21 (
22 "RepositoryNotification",
23 "Operation was performed in the repository",
24 ),
25 ("LockNotification", "Component was locked or unlocked"),
26 ("LicenseNotification", "License was changed"),
27 ("ParseErrorNotification", "Parse error occurred"),
28 ("NewStringNotificaton", "String is available for translation"),
29 (
30 "NewContributorNotificaton",
31 "Contributor made their first translation",
32 ),
33 ("NewSuggestionNotificaton", "Suggestion was added"),
34 ("NewCommentNotificaton", "Comment was added"),
35 ("MentionCommentNotificaton", "You were mentioned in a comment"),
36 (
37 "LastAuthorCommentNotificaton",
38 "Your translation received a comment",
39 ),
40 ("TranslatedStringNotificaton", "String was edited by user"),
41 ("ApprovedStringNotificaton", "String was approved"),
42 ("ChangedStringNotificaton", "String was changed"),
43 (
44 "NewTranslationNotificaton",
45 "New language was added or requested",
46 ),
47 (
48 "NewComponentNotificaton",
49 "New translation component was created",
50 ),
51 ("NewAnnouncementNotificaton", "Announcement was published"),
52 ("NewAlertNotificaton", "New alert emerged in a component"),
53 ("MergeFailureNotification", "Repository operation failed"),
54 ("PendingSuggestionsNotification", "Pending suggestions exist"),
55 ("ToDoStringsNotification", "Unfinished strings exist"),
56 ],
57 max_length=100,
58 ),
59 ),
60 ]