-
-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is already enough copies of the code, so let's make it generic.
- Loading branch information
Showing
2 changed files
with
117 additions
and
83 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
weblate/accounts/migrations/0026_alter_subscription_notification.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright © Michal Čihař <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
# Generated by Django 4.2.1 on 2023-06-29 12:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("accounts", "0025_profile_theme"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="subscription", | ||
name="notification", | ||
field=models.CharField( | ||
choices=[ | ||
("RepositoryNotification", "Repository operation"), | ||
("LockNotification", "Component locking"), | ||
("LicenseNotification", "Changed license"), | ||
("ParseErrorNotification", "Parse error"), | ||
("NewStringNotificaton", "New string"), | ||
("NewContributorNotificaton", "New contributor"), | ||
("NewSuggestionNotificaton", "New suggestion"), | ||
("NewCommentNotificaton", "New comment"), | ||
("MentionCommentNotificaton", "Mentioned in comment"), | ||
("LastAuthorCommentNotificaton", "Comment on own translation"), | ||
("TranslatedStringNotificaton", "Translated string"), | ||
("ChangedStringNotificaton", "Changed string"), | ||
("ApprovedStringNotificaton", "Approved string"), | ||
("NewTranslationNotificaton", "New language"), | ||
("NewComponentNotificaton", "New translation component"), | ||
("NewAnnouncementNotificaton", "New announcement"), | ||
("NewAlertNotificaton", "New alert"), | ||
("MergeFailureNotification", "Repository failure"), | ||
("PendingSuggestionsNotification", "Pending suggestions"), | ||
("ToDoStringsNotification", "Unfinished strings"), | ||
], | ||
max_length=100, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters