mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 16:27:09 +08:00
Add preset options list to makemessages command. (#1091)
These options can be found here:
0756c61f2a/django/core/management/commands/makemessages.py (L222-L225)
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from typing import Any, Optional, Pattern, Type
|
from typing import Any, List, Optional, Pattern, Type
|
||||||
|
|
||||||
from django.core.management.base import BaseCommand
|
from django.core.management.base import BaseCommand
|
||||||
|
|
||||||
@@ -36,3 +36,7 @@ def write_pot_file(potfile: str, msgs: str) -> None: ...
|
|||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
translatable_file_class: Type[TranslatableFile] = ...
|
translatable_file_class: Type[TranslatableFile] = ...
|
||||||
build_file_class: Type[BuildFile] = ...
|
build_file_class: Type[BuildFile] = ...
|
||||||
|
msgmerge_options: List[str] = ...
|
||||||
|
msguniq_options: List[str] = ...
|
||||||
|
msgattrib_options: List[str] = ...
|
||||||
|
xgettext_options: List[str] = ...
|
||||||
|
|||||||
Reference in New Issue
Block a user