|
| 1 | +# Copyright © Michal Čihař <michal@weblate.org> |
| 2 | +# |
| 3 | +# SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | + |
| 5 | +# Generated by Django 6.0.5 on 2026-05-12 13:58 |
| 6 | + |
| 7 | +from django.db import migrations, models |
| 8 | + |
| 9 | + |
| 10 | +class Migration(migrations.Migration): |
| 11 | + dependencies = [ |
| 12 | + ("accounts", "0028_alter_profile_codesite_alter_profile_fediverse_and_more"), |
| 13 | + ] |
| 14 | + |
| 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 | + "TranslationActivitySummaryNotification", |
| 31 | + "Translation activity summary", |
| 32 | + ), |
| 33 | + ( |
| 34 | + "NewContributorNotificaton", |
| 35 | + "Contributor made their first translation", |
| 36 | + ), |
| 37 | + ("NewSuggestionNotificaton", "Suggestion was added"), |
| 38 | + ("LanguageTranslatedNotificaton", "Language was translated"), |
| 39 | + ("ComponentTranslatedNotificaton", "Component was translated"), |
| 40 | + ("NewCommentNotificaton", "Comment was added"), |
| 41 | + ("MentionCommentNotificaton", "You were mentioned in a comment"), |
| 42 | + ( |
| 43 | + "LastAuthorCommentNotificaton", |
| 44 | + "Your translation received a comment", |
| 45 | + ), |
| 46 | + ("TranslatedStringNotificaton", "String was edited by user"), |
| 47 | + ("ApprovedStringNotificaton", "String was approved"), |
| 48 | + ("ChangedStringNotificaton", "String was changed"), |
| 49 | + ( |
| 50 | + "NewTranslationNotificaton", |
| 51 | + "New language was added or requested", |
| 52 | + ), |
| 53 | + ( |
| 54 | + "NewComponentNotificaton", |
| 55 | + "New translation component was created", |
| 56 | + ), |
| 57 | + ("NewAnnouncementNotificaton", "Announcement was published"), |
| 58 | + ("NewAlertNotificaton", "New alert emerged in a component"), |
| 59 | + ("MergeFailureNotification", "Repository operation failed"), |
| 60 | + ("PendingSuggestionsNotification", "Pending suggestions exist"), |
| 61 | + ("ToDoStringsNotification", "Unfinished strings exist"), |
| 62 | + ], |
| 63 | + max_length=100, |
| 64 | + ), |
| 65 | + ), |
| 66 | + ] |
0 commit comments