Issue new context IDs for translatable messages
Marco Ricci

Marco Ricci commited on 2025-01-13 17:36:18
Zeige 1 geänderte Dateien mit 141 Einfügungen und 141 Löschungen.


Use an ID system similar to the trove classifiers used the Python
packaging authority.

(Enum members were not reordered according to this new ID system.)
... ...
@@ -465,7 +465,7 @@ class Label(enum.Enum):
465 465
         be required in v1.0."
466 466
         """,
467 467
         msg='Deprecation warning',
468
-        context='diagnostic label',
468
+        context='Label :: Diagnostics :: Marker',
469 469
     )
470 470
     WARNING_LABEL = _prepare_translatable(
471 471
         comments=r"""
... ...
@@ -474,7 +474,7 @@ class Label(enum.Enum):
474 474
         supported by vault(1)."
475 475
         """,
476 476
         msg='Warning',
477
-        context='diagnostic label',
477
+        context='Label :: Diagnostics :: Marker',
478 478
     )
479 479
     CANNOT_UPDATE_SETTINGS_METAVAR_SETTINGS_TYPE_GLOBAL = (
480 480
         _prepare_translatable(
... ...
@@ -486,7 +486,7 @@ class Label(enum.Enum):
486 486
             settings."
487 487
             """,
488 488
             msg='global settings',
489
-            context='diagnostic label (metavar value)',
489
+            context='Label :: Error message :: Metavar',
490 490
         )
491 491
     )
492 492
     CANNOT_UPDATE_SETTINGS_METAVAR_SETTINGS_TYPE_SERVICE = (
... ...
@@ -499,7 +499,7 @@ class Label(enum.Enum):
499 499
             any given settings."
500 500
             """,
501 501
             msg='service-specific settings',
502
-            context='diagnostic label (metavar value)',
502
+            context='Label :: Error message :: Metavar',
503 503
         )
504 504
     )
505 505
     DERIVEPASSPHRASE_01 = _prepare_translatable(
... ...
@@ -512,7 +512,7 @@ class Label(enum.Enum):
512 512
         msg="""
513 513
         Derive a strong passphrase, deterministically, from a master secret.
514 514
         """,
515
-        context='help text (long form)',
515
+        context='Label :: Help text :: Explanation',
516 516
     )
517 517
     DERIVEPASSPHRASE_02 = _prepare_translatable(
518 518
         msg="""
... ...
@@ -522,7 +522,7 @@ class Label(enum.Enum):
522 522
         instructions.  If no subcommand is given, we default to "vault".
523 523
         """,
524 524
         comments='',
525
-        context='help text (long form)',
525
+        context='Label :: Help text :: Explanation',
526 526
     )
527 527
     DERIVEPASSPHRASE_03 = _prepare_translatable(
528 528
         msg="""
... ...
@@ -530,7 +530,7 @@ class Label(enum.Enum):
530 530
         Starting in v1.0, the subcommand must be specified explicitly.
531 531
         """,
532 532
         comments='',
533
-        context='help text (long form)',
533
+        context='Label :: Help text :: Explanation',
534 534
     )
535 535
     DERIVEPASSPHRASE_EPILOG_01 = _prepare_translatable(
536 536
         msg=r"""
... ...
@@ -540,7 +540,7 @@ class Label(enum.Enum):
540 540
         `C:\Users\<user>\AppData\Roaming\Derivepassphrase` on Windows.
541 541
         """,
542 542
         comments='',
543
-        context='help text (long form)',
543
+        context='Label :: Help text :: Explanation',
544 544
     )
545 545
     DERIVEPASSPHRASE_EXPORT_01 = _prepare_translatable(
546 546
         comments=r"""
... ...
@@ -552,7 +552,7 @@ class Label(enum.Enum):
552 552
         msg="""
553 553
         Export a foreign configuration to standard output.
554 554
         """,
555
-        context='help text (long form)',
555
+        context='Label :: Help text :: Explanation',
556 556
     )
557 557
     DERIVEPASSPHRASE_EXPORT_02 = _prepare_translatable(
558 558
         msg="""
... ...
@@ -561,7 +561,7 @@ class Label(enum.Enum):
561 561
         we default to "vault".
562 562
         """,
563 563
         comments='',
564
-        context='help text (long form)',
564
+        context='Label :: Help text :: Explanation',
565 565
     )
566 566
     DERIVEPASSPHRASE_EXPORT_03 = DERIVEPASSPHRASE_03
567 567
     DERIVEPASSPHRASE_EXPORT_VAULT_01 = _prepare_translatable(
... ...
@@ -574,7 +574,7 @@ class Label(enum.Enum):
574 574
         msg="""
575 575
         Export a vault-native configuration to standard output.
576 576
         """,
577
-        context='help text (long form)',
577
+        context='Label :: Help text :: Explanation',
578 578
     )
579 579
     DERIVEPASSPHRASE_EXPORT_VAULT_02 = _prepare_translatable(
580 580
         msg="""
... ...
@@ -583,7 +583,7 @@ class Label(enum.Enum):
583 583
         "v0.3" and "storeroom" formats.
584 584
         """,
585 585
         comments='',
586
-        context='help text (long form)',
586
+        context='Label :: Help text :: Explanation',
587 587
         flags='python-brace-format',
588 588
     )
589 589
     DERIVEPASSPHRASE_EXPORT_VAULT_03 = _prepare_translatable(
... ...
@@ -594,7 +594,7 @@ class Label(enum.Enum):
594 594
         a file/directory actually named `VAULT_PATH`.)
595 595
         """,
596 596
         comments='',
597
-        context='help text (long form)',
597
+        context='Label :: Help text :: Explanation',
598 598
         flags='python-brace-format',
599 599
     )
600 600
     DERIVEPASSPHRASE_VAULT_01 = _prepare_translatable(
... ...
@@ -607,7 +607,7 @@ class Label(enum.Enum):
607 607
         msg="""
608 608
         Derive a passphrase using the vault derivation scheme.
609 609
         """,
610
-        context='help text (long form)',
610
+        context='Label :: Help text :: Explanation',
611 611
     )
612 612
     DERIVEPASSPHRASE_VAULT_02 = _prepare_translatable(
613 613
         msg="""
... ...
@@ -616,7 +616,7 @@ class Label(enum.Enum):
616 616
         it is required.
617 617
         """,
618 618
         comments='',
619
-        context='help text (long form)',
619
+        context='Label :: Help text :: Explanation',
620 620
         flags='python-brace-format',
621 621
     )
622 622
     DERIVEPASSPHRASE_VAULT_EPILOG_01 = _prepare_translatable(
... ...
@@ -628,7 +628,7 @@ class Label(enum.Enum):
628 628
         backups of the settings and the SSH key, if any.
629 629
         """,
630 630
         comments='',
631
-        context='help text (long form)',
631
+        context='Label :: Help text :: Explanation',
632 632
     )
633 633
     DERIVEPASSPHRASE_VAULT_EPILOG_02 = _prepare_translatable(
634 634
         msg="""
... ...
@@ -636,7 +636,7 @@ class Label(enum.Enum):
636 636
         discouraged from using a stored passphrase.
637 637
         """,
638 638
         comments='',
639
-        context='help text (long form)',
639
+        context='Label :: Help text :: Explanation',
640 640
     )
641 641
     DEPRECATED_COMMAND_LABEL = _prepare_translatable(
642 642
         comments=r"""
... ...
@@ -645,13 +645,13 @@ class Label(enum.Enum):
645 645
         deprecated.
646 646
         """,
647 647
         msg='(Deprecated) {text}',
648
-        context='help text (long form, label)',
648
+        context='Label :: Help text :: Marker',
649 649
         flags='python-brace-format',
650 650
     )
651 651
     DEBUG_OPTION_HELP_TEXT = _prepare_translatable(
652 652
         'also emit debug information (implies --verbose)',
653 653
         comments='',
654
-        context='help text (option one-line description)',
654
+        context='Label :: Help text :: One-line description',
655 655
     )
656 656
     EXPORT_VAULT_FORMAT_HELP_TEXT = _prepare_translatable(
657 657
         comments=r"""
... ...
@@ -664,7 +664,7 @@ class Label(enum.Enum):
664 664
         specified multiple times, formats will be tried in order
665 665
         {defaults_hint!s}
666 666
         """,
667
-        context='help text (option one-line description)',
667
+        context='Label :: Help text :: One-line description',
668 668
         flags='python-brace-format',
669 669
     )
670 670
     EXPORT_VAULT_FORMAT_DEFAULTS_HELP_TEXT = _prepare_translatable(
... ...
@@ -676,7 +676,7 @@ class Label(enum.Enum):
676 676
         msg=r"""
677 677
         (default: v0.3, v0.2, storeroom)
678 678
         """,
679
-        context='help text (option one-line description)',
679
+        context='Label :: Help text :: One-line description',
680 680
     )
681 681
     EXPORT_VAULT_KEY_HELP_TEXT = _prepare_translatable(
682 682
         comments=r"""
... ...
@@ -687,7 +687,7 @@ class Label(enum.Enum):
687 687
         msg=r"""
688 688
         use {metavar!s} as the storage master key {defaults_hint!s}
689 689
         """,
690
-        context='help text (option one-line description)',
690
+        context='Label :: Help text :: One-line description',
691 691
         flags='python-brace-format',
692 692
     )
693 693
     EXPORT_VAULT_KEY_DEFAULTS_HELP_TEXT = _prepare_translatable(
... ...
@@ -698,38 +698,38 @@ class Label(enum.Enum):
698 698
         (default: check the `VAULT_KEY`, `LOGNAME`, `USER`, or
699 699
         `USERNAME` environment variables)
700 700
         """,
701
-        context='help text (option one-line description)',
701
+        context='Label :: Help text :: One-line description',
702 702
     )
703 703
     HELP_OPTION_HELP_TEXT = _prepare_translatable(
704 704
         'show this help text, then exit',
705 705
         comments='',
706
-        context='help text (option one-line description)',
706
+        context='Label :: Help text :: One-line description',
707 707
     )
708 708
     QUIET_OPTION_HELP_TEXT = _prepare_translatable(
709 709
         'suppress even warnings, emit only errors',
710 710
         comments='',
711
-        context='help text (option one-line description)',
711
+        context='Label :: Help text :: One-line description',
712 712
     )
713 713
     VERBOSE_OPTION_HELP_TEXT = _prepare_translatable(
714 714
         'emit extra/progress information to standard error',
715 715
         comments='',
716
-        context='help text (option one-line description)',
716
+        context='Label :: Help text :: One-line description',
717 717
     )
718 718
     VERSION_OPTION_HELP_TEXT = _prepare_translatable(
719 719
         'show applicable version information, then exit',
720 720
         comments='',
721
-        context='help text (option one-line description)',
721
+        context='Label :: Help text :: One-line description',
722 722
     )
723 723
 
724 724
     DERIVEPASSPHRASE_VAULT_PHRASE_HELP_TEXT = _prepare_translatable(
725 725
         msg='prompt for a master passphrase',
726 726
         comments='',
727
-        context='help text (option one-line description)',
727
+        context='Label :: Help text :: One-line description',
728 728
     )
729 729
     DERIVEPASSPHRASE_VAULT_KEY_HELP_TEXT = _prepare_translatable(
730 730
         msg='select a suitable SSH key from the SSH agent',
731 731
         comments='',
732
-        context='help text (option one-line description)',
732
+        context='Label :: Help text :: One-line description',
733 733
     )
734 734
     DERIVEPASSPHRASE_VAULT_LENGTH_HELP_TEXT = _prepare_translatable(
735 735
         comments=r"""
... ...
@@ -737,7 +737,7 @@ class Label(enum.Enum):
737 737
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
738 738
         """,
739 739
         msg='ensure a passphrase length of {metavar!s} characters',
740
-        context='help text (option one-line description)',
740
+        context='Label :: Help text :: One-line description',
741 741
         flags='python-brace-format',
742 742
     )
743 743
     DERIVEPASSPHRASE_VAULT_REPEAT_HELP_TEXT = _prepare_translatable(
... ...
@@ -746,7 +746,7 @@ class Label(enum.Enum):
746 746
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
747 747
         """,
748 748
         msg='forbid any run of {metavar!s} identical characters',
749
-        context='help text (option one-line description)',
749
+        context='Label :: Help text :: One-line description',
750 750
         flags='python-brace-format',
751 751
     )
752 752
     DERIVEPASSPHRASE_VAULT_LOWER_HELP_TEXT = _prepare_translatable(
... ...
@@ -755,7 +755,7 @@ class Label(enum.Enum):
755 755
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
756 756
         """,
757 757
         msg='ensure at least {metavar!s} lowercase characters',
758
-        context='help text (option one-line description)',
758
+        context='Label :: Help text :: One-line description',
759 759
         flags='python-brace-format',
760 760
     )
761 761
     DERIVEPASSPHRASE_VAULT_UPPER_HELP_TEXT = _prepare_translatable(
... ...
@@ -764,7 +764,7 @@ class Label(enum.Enum):
764 764
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
765 765
         """,
766 766
         msg='ensure at least {metavar!s} uppercase characters',
767
-        context='help text (option one-line description)',
767
+        context='Label :: Help text :: One-line description',
768 768
         flags='python-brace-format',
769 769
     )
770 770
     DERIVEPASSPHRASE_VAULT_NUMBER_HELP_TEXT = _prepare_translatable(
... ...
@@ -773,7 +773,7 @@ class Label(enum.Enum):
773 773
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
774 774
         """,
775 775
         msg='ensure at least {metavar!s} digits',
776
-        context='help text (option one-line description)',
776
+        context='Label :: Help text :: One-line description',
777 777
         flags='python-brace-format',
778 778
     )
779 779
     DERIVEPASSPHRASE_VAULT_SPACE_HELP_TEXT = _prepare_translatable(
... ...
@@ -782,7 +782,7 @@ class Label(enum.Enum):
782 782
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
783 783
         """,
784 784
         msg='ensure at least {metavar!s} spaces',
785
-        context='help text (option one-line description)',
785
+        context='Label :: Help text :: One-line description',
786 786
         flags='python-brace-format',
787 787
     )
788 788
     DERIVEPASSPHRASE_VAULT_DASH_HELP_TEXT = _prepare_translatable(
... ...
@@ -791,7 +791,7 @@ class Label(enum.Enum):
791 791
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
792 792
         """,
793 793
         msg='ensure at least {metavar!s} "-" or "_" characters',
794
-        context='help text (option one-line description)',
794
+        context='Label :: Help text :: One-line description',
795 795
         flags='python-brace-format',
796 796
     )
797 797
     DERIVEPASSPHRASE_VAULT_SYMBOL_HELP_TEXT = _prepare_translatable(
... ...
@@ -800,37 +800,37 @@ class Label(enum.Enum):
800 800
         Label.PASSPHRASE_GENERATION_METAVAR_NUMBER.
801 801
         """,
802 802
         msg='ensure at least {metavar!s} symbol characters',
803
-        context='help text (option one-line description)',
803
+        context='Label :: Help text :: One-line description',
804 804
         flags='python-brace-format',
805 805
     )
806 806
 
807 807
     DERIVEPASSPHRASE_VAULT_NOTES_HELP_TEXT = _prepare_translatable(
808 808
         msg='spawn an editor to edit notes for {service_metavar!s}',
809 809
         comments='',
810
-        context='help text (option one-line description)',
810
+        context='Label :: Help text :: One-line description',
811 811
         flags='python-brace-format',
812 812
     )
813 813
     DERIVEPASSPHRASE_VAULT_CONFIG_HELP_TEXT = _prepare_translatable(
814 814
         msg='save the given settings for {service_metavar!s}, or global',
815 815
         comments='',
816
-        context='help text (option one-line description)',
816
+        context='Label :: Help text :: One-line description',
817 817
         flags='python-brace-format',
818 818
     )
819 819
     DERIVEPASSPHRASE_VAULT_DELETE_HELP_TEXT = _prepare_translatable(
820 820
         msg='delete the settings for {service_metavar!s}',
821 821
         comments='',
822
-        context='help text (option one-line description)',
822
+        context='Label :: Help text :: One-line description',
823 823
         flags='python-brace-format',
824 824
     )
825 825
     DERIVEPASSPHRASE_VAULT_DELETE_GLOBALS_HELP_TEXT = _prepare_translatable(
826 826
         msg='delete the global settings',
827 827
         comments='',
828
-        context='help text (option one-line description)',
828
+        context='Label :: Help text :: One-line description',
829 829
     )
830 830
     DERIVEPASSPHRASE_VAULT_DELETE_ALL_HELP_TEXT = _prepare_translatable(
831 831
         msg='delete all settings',
832 832
         comments='',
833
-        context='help text (option one-line description)',
833
+        context='Label :: Help text :: One-line description',
834 834
     )
835 835
     DERIVEPASSPHRASE_VAULT_EXPORT_HELP_TEXT = _prepare_translatable(
836 836
         comments="""
... ...
@@ -838,7 +838,7 @@ class Label(enum.Enum):
838 838
         Label.STORAGE_MANAGEMENT_METAVAR_SERVICE.
839 839
         """,
840 840
         msg='export all saved settings to {metavar!s}',
841
-        context='help text (option one-line description)',
841
+        context='Label :: Help text :: One-line description',
842 842
         flags='python-brace-format',
843 843
     )
844 844
     DERIVEPASSPHRASE_VAULT_IMPORT_HELP_TEXT = _prepare_translatable(
... ...
@@ -847,7 +847,7 @@ class Label(enum.Enum):
847 847
         Label.STORAGE_MANAGEMENT_METAVAR_SERVICE.
848 848
         """,
849 849
         msg='import saved settings from {metavar!s}',
850
-        context='help text (option one-line description)',
850
+        context='Label :: Help text :: One-line description',
851 851
         flags='python-brace-format',
852 852
     )
853 853
     DERIVEPASSPHRASE_VAULT_OVERWRITE_HELP_TEXT = _prepare_translatable(
... ...
@@ -857,7 +857,7 @@ class Label(enum.Enum):
857 857
         hint that the default (merge) is the second of those options.
858 858
         """,
859 859
         msg='overwrite or merge (default) the existing configuration',
860
-        context='help text (option one-line description)',
860
+        context='Label :: Help text :: One-line description',
861 861
     )
862 862
     DERIVEPASSPHRASE_VAULT_UNSET_HELP_TEXT = _prepare_translatable(
863 863
         comments="""
... ...
@@ -871,7 +871,7 @@ class Label(enum.Enum):
871 871
         with --config, also unsets the given setting; may be specified
872 872
         multiple times
873 873
         """,
874
-        context='help text (option one-line description)',
874
+        context='Label :: Help text :: One-line description',
875 875
     )
876 876
     DERIVEPASSPHRASE_VAULT_EXPORT_AS_HELP_TEXT = _prepare_translatable(
877 877
         comments="""
... ...
@@ -880,20 +880,20 @@ class Label(enum.Enum):
880 880
         (default) and sh refers to the POSIX sh format.
881 881
         """,
882 882
         msg='when exporting, export as JSON (default) or POSIX sh',
883
-        context='help text (option one-line description)',
883
+        context='Label :: Help text :: One-line description',
884 884
     )
885 885
 
886 886
     EXPORT_VAULT_FORMAT_METAVAR_FMT = _prepare_translatable(
887 887
         msg='FMT',
888 888
         comments='',
889
-        context='help text, metavar (export vault subcommand)',
889
+        context='Label :: Help text :: Metavar :: export vault',
890 890
     )
891 891
     EXPORT_VAULT_KEY_METAVAR_K = _prepare_translatable(
892 892
         comments=r"""
893 893
         TRANSLATORS: See Label.EXPORT_VAULT_KEY_HELP_TEXT.
894 894
         """,
895 895
         msg='K',
896
-        context='help text, metavar (export vault subcommand)',
896
+        context='Label :: Help text :: Metavar :: export vault',
897 897
     )
898 898
     EXPORT_VAULT_METAVAR_PATH = _prepare_translatable(
899 899
         comments=r"""
... ...
@@ -901,14 +901,14 @@ class Label(enum.Enum):
901 901
         Label.DERIVEPASSPHRASE_EXPORT_VAULT_02 and others.
902 902
         """,
903 903
         msg='PATH',
904
-        context='help text, metavar (export vault subcommand)',
904
+        context='Label :: Help text :: Metavar :: export vault',
905 905
     )
906 906
     PASSPHRASE_GENERATION_METAVAR_NUMBER = _prepare_translatable(
907 907
         comments=r"""
908 908
         TRANSLATORS: This metavar is also used in a matching epilog.
909 909
         """,
910 910
         msg='NUMBER',
911
-        context='help text, metavar (passphrase generation group)',
911
+        context='Label :: Help text :: Metavar :: vault',
912 912
     )
913 913
     STORAGE_MANAGEMENT_METAVAR_PATH = _prepare_translatable(
914 914
         comments=r"""
... ...
@@ -916,7 +916,7 @@ class Label(enum.Enum):
916 916
         texts.
917 917
         """,
918 918
         msg='PATH',
919
-        context='help text, metavar (storage management group)',
919
+        context='Label :: Help text :: Metavar :: vault',
920 920
     )
921 921
     VAULT_METAVAR_SERVICE = _prepare_translatable(
922 922
         comments=r"""
... ...
@@ -924,12 +924,12 @@ class Label(enum.Enum):
924 924
         texts, as "service_metavar".
925 925
         """,
926 926
         msg='SERVICE',
927
-        context='help text, metavar (vault subcommand)',
927
+        context='Label :: Help text :: Metavar :: vault',
928 928
     )
929 929
     CONFIGURATION_EPILOG = _prepare_translatable(
930 930
         'Use $VISUAL or $EDITOR to configure the spawned editor.',
931 931
         comments='',
932
-        context='help text, option group epilog (configuration group)',
932
+        context='Label :: Help text :: Explanation',
933 933
     )
934 934
     PASSPHRASE_GENERATION_EPILOG = _prepare_translatable(
935 935
         comments=r"""
... ...
@@ -939,7 +939,7 @@ class Label(enum.Enum):
939 939
         msg=r"""
940 940
         Use {metavar!s}=0 to exclude a character type from the output.
941 941
         """,
942
-        context='help text, option group epilog (passphrase generation group)',
942
+        context='Label :: Help text :: Explanation',
943 943
         flags='python-brace-format',
944 944
     )
945 945
     STORAGE_MANAGEMENT_EPILOG = _prepare_translatable(
... ...
@@ -951,45 +951,45 @@ class Label(enum.Enum):
951 951
         Using "-" as {metavar!s} for standard input/standard output
952 952
         is supported.
953 953
         """,
954
-        context='help text, option group epilog (storage management group)',
954
+        context='Label :: Help text :: Explanation',
955 955
         flags='python-brace-format',
956 956
     )
957 957
     COMMANDS_LABEL = _prepare_translatable(
958
-        'Commands', comments='', context='help text, option group name'
958
+        'Commands', comments='', context='Label :: Help text :: Option group name'
959 959
     )
960 960
     COMPATIBILITY_OPTION_LABEL = _prepare_translatable(
961 961
         'Compatibility and extension options',
962 962
         comments='',
963
-        context='help text, option group name',
963
+        context='Label :: Help text :: Option group name',
964 964
     )
965 965
     CONFIGURATION_LABEL = _prepare_translatable(
966
-        'Configuration', comments='', context='help text, option group name'
966
+        'Configuration', comments='', context='Label :: Help text :: Option group name'
967 967
     )
968 968
     LOGGING_LABEL = _prepare_translatable(
969
-        'Logging', comments='', context='help text, option group name'
969
+        'Logging', comments='', context='Label :: Help text :: Option group name'
970 970
     )
971 971
     OPTIONS_LABEL = _prepare_translatable(
972
-        'Options', comments='', context='help text, option group name'
972
+        'Options', comments='', context='Label :: Help text :: Option group name'
973 973
     )
974 974
     OTHER_OPTIONS_LABEL = _prepare_translatable(
975
-        'Other options', comments='', context='help text, option group name'
975
+        'Other options', comments='', context='Label :: Help text :: Option group name'
976 976
     )
977 977
     PASSPHRASE_GENERATION_LABEL = _prepare_translatable(
978 978
         'Passphrase generation',
979 979
         comments='',
980
-        context='help text, option group name',
980
+        context='Label :: Help text :: Option group name',
981 981
     )
982 982
     STORAGE_MANAGEMENT_LABEL = _prepare_translatable(
983 983
         'Storage management',
984 984
         comments='',
985
-        context='help text, option group name',
985
+        context='Label :: Help text :: Option group name',
986 986
     )
987 987
     VERSION_INFO_TEXT = _prepare_translatable(
988 988
         msg=r"""
989 989
         {PROG_NAME!s} {__version__}
990 990
         """,  # noqa: RUF027
991 991
         comments='',
992
-        context='help text, version info text',
992
+        context='Label :: Info Message',
993 993
         flags='python-brace-format',
994 994
     )
995 995
     CONFIRM_THIS_CHOICE_PROMPT_TEXT = _prepare_translatable(
... ...
@@ -1000,7 +1000,7 @@ class Label(enum.Enum):
1000 1000
         supported, even if the prompt becomes a bit longer.
1001 1001
         """,
1002 1002
         msg='Confirm this choice? (y/N)',
1003
-        context='interactive prompt',
1003
+        context='Label :: Interactive prompt',
1004 1004
     )
1005 1005
     SUITABLE_SSH_KEYS_LABEL = _prepare_translatable(
1006 1006
         comments=r"""
... ...
@@ -1008,12 +1008,12 @@ class Label(enum.Enum):
1008 1008
         SSH keys.
1009 1009
         """,
1010 1010
         msg='Suitable SSH keys:',
1011
-        context='interactive prompt',
1011
+        context='Label :: Interactive prompt',
1012 1012
     )
1013 1013
     YOUR_SELECTION_PROMPT_TEXT = _prepare_translatable(
1014 1014
         'Your selection? (1-{n}, leave empty to abort)',
1015 1015
         comments='',
1016
-        context='interactive prompt',
1016
+        context='Label :: Interactive prompt',
1017 1017
         flags='python-brace-format',
1018 1018
     )
1019 1019
 
... ...
@@ -1029,7 +1029,7 @@ class DebugMsgTemplate(enum.Enum):
1029 1029
         value are printable as-is.)
1030 1030
         """,
1031 1031
         msg='Found bucket item: {path} -> {value}',
1032
-        context='debug message',
1032
+        context='Debug message',
1033 1033
         flags='python-brace-format',
1034 1034
     )
1035 1035
     DECRYPT_BUCKET_ITEM_INFO = _prepare_translatable(
... ...
@@ -1049,7 +1049,7 @@ class DebugMsgTemplate(enum.Enum):
1049 1049
           Encrypted ciphertext: {ciphertext}
1050 1050
           Plaintext: {plaintext}
1051 1051
         """,
1052
-        context='debug message',
1052
+        context='Debug message',
1053 1053
         flags='python-brace-format',
1054 1054
     )
1055 1055
     DECRYPT_BUCKET_ITEM_KEY_INFO = _prepare_translatable(
... ...
@@ -1062,7 +1062,7 @@ class DebugMsgTemplate(enum.Enum):
1062 1062
           Signing key (master key): {sign_key}
1063 1063
         """,
1064 1064
         comments='',
1065
-        context='debug message',
1065
+        context='Debug message',
1066 1066
         flags='python-brace-format',
1067 1067
     )
1068 1068
     DECRYPT_BUCKET_ITEM_MAC_INFO = _prepare_translatable(
... ...
@@ -1084,7 +1084,7 @@ class DebugMsgTemplate(enum.Enum):
1084 1084
           Claimed MAC value: {claimed_mac}
1085 1085
           Computed MAC value: {actual_mac}
1086 1086
         """,
1087
-        context='debug message',
1087
+        context='Debug message',
1088 1088
         flags='python-brace-format',
1089 1089
     )
1090 1090
     DECRYPT_BUCKET_ITEM_SESSION_KEYS_INFO = _prepare_translatable(
... ...
@@ -1105,7 +1105,7 @@ class DebugMsgTemplate(enum.Enum):
1105 1105
           Plaintext: {plaintext}
1106 1106
           Parsed plaintext: {code}
1107 1107
         """,
1108
-        context='debug message',
1108
+        context='Debug message',
1109 1109
         flags='python-brace-format',
1110 1110
     )
1111 1111
     DECRYPT_BUCKET_ITEM_SESSION_KEYS_MAC_INFO = _prepare_translatable(
... ...
@@ -1127,7 +1127,7 @@ class DebugMsgTemplate(enum.Enum):
1127 1127
           Claimed MAC value: {claimed_mac}
1128 1128
           Computed MAC value: {actual_mac}
1129 1129
         """,
1130
-        context='debug message',
1130
+        context='Debug message',
1131 1131
         flags='python-brace-format',
1132 1132
     )
1133 1133
     DERIVED_MASTER_KEYS_KEYS = _prepare_translatable(
... ...
@@ -1142,7 +1142,7 @@ class DebugMsgTemplate(enum.Enum):
1142 1142
 
1143 1143
         """,  # noqa: E501
1144 1144
         comments='',
1145
-        context='debug message',
1145
+        context='Debug message',
1146 1146
         flags='python-brace-format',
1147 1147
     )
1148 1148
     DIRECTORY_CONTENTS_CHECK_OK = _prepare_translatable(
... ...
@@ -1157,7 +1157,7 @@ class DebugMsgTemplate(enum.Enum):
1157 1157
         error here otherwise.)
1158 1158
         """,
1159 1159
         msg='Directory contents check OK: {path} -> {contents}',
1160
-        context='debug message',
1160
+        context='Debug message',
1161 1161
         flags='python-brace-format',
1162 1162
     )
1163 1163
     MASTER_KEYS_DATA_MAC_INFO = _prepare_translatable(
... ...
@@ -1179,7 +1179,7 @@ class DebugMsgTemplate(enum.Enum):
1179 1179
           Claimed MAC value: {claimed_mac}
1180 1180
           Computed MAC value: {actual_mac}
1181 1181
         """,
1182
-        context='debug message',
1182
+        context='Debug message',
1183 1183
         flags='python-brace-format',
1184 1184
     )
1185 1185
     POSTPONING_DIRECTORY_CONTENTS_CHECK = _prepare_translatable(
... ...
@@ -1194,7 +1194,7 @@ class DebugMsgTemplate(enum.Enum):
1194 1194
         this directory for later.
1195 1195
         """,
1196 1196
         msg='Postponing directory contents check: {path} -> {contents}',
1197
-        context='debug message',
1197
+        context='Debug message',
1198 1198
         flags='python-brace-format',
1199 1199
     )
1200 1200
     SETTING_CONFIG_STRUCTURE_CONTENTS = _prepare_translatable(
... ...
@@ -1206,7 +1206,7 @@ class DebugMsgTemplate(enum.Enum):
1206 1206
         given path to the given value.
1207 1207
         """,
1208 1208
         msg='Setting contents: {path} -> {value}',
1209
-        context='debug message',
1209
+        context='Debug message',
1210 1210
         flags='python-brace-format',
1211 1211
     )
1212 1212
     SETTING_CONFIG_STRUCTURE_CONTENTS_EMPTY_DIRECTORY = _prepare_translatable(
... ...
@@ -1218,7 +1218,7 @@ class DebugMsgTemplate(enum.Enum):
1218 1218
         directory at the given path.
1219 1219
         """,
1220 1220
         msg='Setting contents (empty directory): {path}',
1221
-        context='debug message',
1221
+        context='Debug message',
1222 1222
         flags='python-brace-format',
1223 1223
     )
1224 1224
     VAULT_NATIVE_EVP_BYTESTOKEY_INIT = _prepare_translatable(
... ...
@@ -1240,7 +1240,7 @@ class DebugMsgTemplate(enum.Enum):
1240 1240
           Buffer length: {buffer_length}
1241 1241
           Buffer: {buffer}
1242 1242
         """,
1243
-        context='debug message',
1243
+        context='Debug message',
1244 1244
         flags='python-brace-format',
1245 1245
     )
1246 1246
     VAULT_NATIVE_EVP_BYTESTOKEY_RESULT = _prepare_translatable(
... ...
@@ -1260,7 +1260,7 @@ class DebugMsgTemplate(enum.Enum):
1260 1260
           Encryption key: {enc_key}
1261 1261
           IV: {iv}
1262 1262
         """,
1263
-        context='debug message',
1263
+        context='Debug message',
1264 1264
         flags='python-brace-format',
1265 1265
     )
1266 1266
     VAULT_NATIVE_EVP_BYTESTOKEY_ROUND = _prepare_translatable(
... ...
@@ -1280,7 +1280,7 @@ class DebugMsgTemplate(enum.Enum):
1280 1280
           Buffer length: {buffer_length}
1281 1281
           Buffer: {buffer}
1282 1282
         """,
1283
-        context='debug message',
1283
+        context='Debug message',
1284 1284
         flags='python-brace-format',
1285 1285
     )
1286 1286
     VAULT_NATIVE_CHECKING_MAC_DETAILS = _prepare_translatable(
... ...
@@ -1298,7 +1298,7 @@ class DebugMsgTemplate(enum.Enum):
1298 1298
           MAC input: {mac_input}
1299 1299
           Expected MAC: {mac}
1300 1300
         """,
1301
-        context='debug message',
1301
+        context='Debug message',
1302 1302
         flags='python-brace-format',
1303 1303
     )
1304 1304
     VAULT_NATIVE_PADDED_PLAINTEXT = _prepare_translatable(
... ...
@@ -1308,7 +1308,7 @@ class DebugMsgTemplate(enum.Enum):
1308 1308
         and "plaintext" are cryptographic terms.
1309 1309
         """,
1310 1310
         msg='Padded plaintext: {contents}',
1311
-        context='debug message',
1311
+        context='Debug message',
1312 1312
         flags='python-brace-format',
1313 1313
     )
1314 1314
     VAULT_NATIVE_PARSE_BUFFER = _prepare_translatable(
... ...
@@ -1327,7 +1327,7 @@ class DebugMsgTemplate(enum.Enum):
1327 1327
           Payload: {payload}
1328 1328
           MAC: {mac}
1329 1329
         """,
1330
-        context='debug message',
1330
+        context='Debug message',
1331 1331
         flags='python-brace-format',
1332 1332
     )
1333 1333
     VAULT_NATIVE_PLAINTEXT = _prepare_translatable(
... ...
@@ -1337,7 +1337,7 @@ class DebugMsgTemplate(enum.Enum):
1337 1337
         "plaintext" is a cryptographic term.
1338 1338
         """,
1339 1339
         msg='Plaintext: {contents}',
1340
-        context='debug message',
1340
+        context='Debug message',
1341 1341
         flags='python-brace-format',
1342 1342
     )
1343 1343
     VAULT_NATIVE_PBKDF2_CALL = _prepare_translatable(
... ...
@@ -1350,7 +1350,7 @@ class DebugMsgTemplate(enum.Enum):
1350 1350
           Result (hex key): {result_key!r}
1351 1351
         """,  # noqa: E501
1352 1352
         comments='',
1353
-        context='debug message',
1353
+        context='Debug message',
1354 1354
         flags='python-brace-format',
1355 1355
     )
1356 1356
     VAULT_NATIVE_V02_PAYLOAD_MAC_POSTPROCESSING = _prepare_translatable(
... ...
@@ -1368,7 +1368,7 @@ class DebugMsgTemplate(enum.Enum):
1368 1368
           Payload: {payload} (decoded from base64)
1369 1369
           MAC: {mac} (decoded from hex)
1370 1370
         """,
1371
-        context='debug message',
1371
+        context='Debug message',
1372 1372
         flags='python-brace-format',
1373 1373
     )
1374 1374
 
... ...
@@ -1386,7 +1386,7 @@ class InfoMsgTemplate(enum.Enum):
1386 1386
         on-the-fly), hence the term "assembling".
1387 1387
         """,
1388 1388
         msg='Assembling config structure',
1389
-        context='info message',
1389
+        context='Info message',
1390 1390
     )
1391 1391
     CANNOT_LOAD_AS_VAULT_CONFIG = _prepare_translatable(
1392 1392
         comments=r"""
... ...
@@ -1395,7 +1395,7 @@ class InfoMsgTemplate(enum.Enum):
1395 1395
         configuration as.
1396 1396
         """,
1397 1397
         msg='Cannot load {path!r} as a {fmt!s} vault configuration.',
1398
-        context='info message',
1398
+        context='Info message',
1399 1399
         flags='python-brace-format',
1400 1400
     )
1401 1401
     CHECKING_CONFIG_STRUCTURE_CONSISTENCY = _prepare_translatable(
... ...
@@ -1407,7 +1407,7 @@ class InfoMsgTemplate(enum.Enum):
1407 1407
         internally consistent.
1408 1408
         """,
1409 1409
         msg='Checking config structure consistency',
1410
-        context='info message',
1410
+        context='Info message',
1411 1411
     )
1412 1412
     DECRYPTING_BUCKET = _prepare_translatable(
1413 1413
         comments=r"""
... ...
@@ -1419,7 +1419,7 @@ class InfoMsgTemplate(enum.Enum):
1419 1419
         2-digit hex numbers.
1420 1420
         """,
1421 1421
         msg='Decrypting bucket {bucket_number}',
1422
-        context='info message',
1422
+        context='Info message',
1423 1423
         flags='python-brace-format',
1424 1424
     )
1425 1425
     PARSING_MASTER_KEYS_DATA = _prepare_translatable(
... ...
@@ -1430,7 +1430,7 @@ class InfoMsgTemplate(enum.Enum):
1430 1430
         this configuration are loaded.
1431 1431
         """,
1432 1432
         msg='Parsing master keys data from .keys',
1433
-        context='info message',
1433
+        context='Info message',
1434 1434
     )
1435 1435
     PIP_INSTALL_EXTRA = _prepare_translatable(
1436 1436
         comments=r"""
... ...
@@ -1443,7 +1443,7 @@ class InfoMsgTemplate(enum.Enum):
1443 1443
         automatically, hence this suggestion to PyPI users.
1444 1444
         """,
1445 1445
         msg='(For users installing from PyPI, see the {extra_name!r} extra.)',
1446
-        context='info message',
1446
+        context='Info message',
1447 1447
         flags='python-brace-format',
1448 1448
     )
1449 1449
     SUCCESSFULLY_MIGRATED = _prepare_translatable(
... ...
@@ -1452,23 +1452,23 @@ class InfoMsgTemplate(enum.Enum):
1452 1452
         deprecated v0.1-style ..." deprecation warning.
1453 1453
         """,
1454 1454
         msg='Successfully migrated to {path!r}.',
1455
-        context='info message',
1455
+        context='Info message',
1456 1456
         flags='python-brace-format',
1457 1457
     )
1458 1458
     VAULT_NATIVE_CHECKING_MAC = _prepare_translatable(
1459 1459
         msg='Checking MAC',
1460 1460
         comments='',
1461
-        context='info message',
1461
+        context='Info message',
1462 1462
     )
1463 1463
     VAULT_NATIVE_DECRYPTING_CONTENTS = _prepare_translatable(
1464 1464
         msg='Decrypting contents',
1465 1465
         comments='',
1466
-        context='info message',
1466
+        context='Info message',
1467 1467
     )
1468 1468
     VAULT_NATIVE_DERIVING_KEYS = _prepare_translatable(
1469 1469
         msg='Deriving an encryption and signing key',
1470 1470
         comments='',
1471
-        context='info message',
1471
+        context='Info message',
1472 1472
     )
1473 1473
     VAULT_NATIVE_PARSING_IV_PAYLOAD_MAC = _prepare_translatable(
1474 1474
         comments=r"""
... ...
@@ -1483,7 +1483,7 @@ class InfoMsgTemplate(enum.Enum):
1483 1483
         term or not, expanded or not.
1484 1484
         """,
1485 1485
         msg='Parsing IV, payload and MAC from the file contents',
1486
-        context='info message',
1486
+        context='Info message',
1487 1487
     )
1488 1488
 
1489 1489
 
... ...
@@ -1495,7 +1495,7 @@ class WarnMsgTemplate(enum.Enum):
1495 1495
         For compatibility, this will be treated as if SERVICE was not
1496 1496
         supplied, i.e., it will error out, or operate on global settings.
1497 1497
         """,
1498
-        context='warning message',
1498
+        context='Warning message',
1499 1499
         flags='python-brace-format',
1500 1500
     )
1501 1501
     EMPTY_SERVICE_SETTINGS_INACCESSIBLE = _prepare_translatable(
... ...
@@ -1506,7 +1506,7 @@ class WarnMsgTemplate(enum.Enum):
1506 1506
         settings, move them into the "global" section.
1507 1507
         """,
1508 1508
         comments='',
1509
-        context='warning message',
1509
+        context='Warning message',
1510 1510
         flags='python-brace-format',
1511 1511
     )
1512 1512
     FAILED_TO_MIGRATE_CONFIG = _prepare_translatable(
... ...
@@ -1515,7 +1515,7 @@ class WarnMsgTemplate(enum.Enum):
1515 1515
         (errno/strerror).
1516 1516
         """,
1517 1517
         msg='Failed to migrate to {path!r}: {error!s}: {filename!r}.',
1518
-        context='warning message',
1518
+        context='Warning message',
1519 1519
         flags='python-brace-format',
1520 1520
     )
1521 1521
     GLOBAL_PASSPHRASE_INEFFECTIVE = _prepare_translatable(
... ...
@@ -1524,7 +1524,7 @@ class WarnMsgTemplate(enum.Enum):
1524 1524
         because a key is also set.
1525 1525
         """,
1526 1526
         comments='',
1527
-        context='warning message',
1527
+        context='Warning message',
1528 1528
     )
1529 1529
     PASSPHRASE_NOT_NORMALIZED = _prepare_translatable(
1530 1530
         comments=r"""
... ...
@@ -1545,7 +1545,7 @@ class WarnMsgTemplate(enum.Enum):
1545 1545
         be, even if it *displays* correctly.  Please make sure to
1546 1546
         double-check any derived passphrases for unexpected results.
1547 1547
         """,
1548
-        context='warning message',
1548
+        context='Warning message',
1549 1549
         flags='python-brace-format',
1550 1550
     )
1551 1551
     SERVICE_NAME_INCOMPLETABLE = _prepare_translatable(
... ...
@@ -1558,7 +1558,7 @@ class WarnMsgTemplate(enum.Enum):
1558 1558
         recommend choosing a different service name instead.
1559 1559
         """,
1560 1560
         comments='',
1561
-        context='warning message',
1561
+        context='Warning message',
1562 1562
         flags='python-brace-format',
1563 1563
     )
1564 1564
     SERVICE_PASSPHRASE_INEFFECTIVE = _prepare_translatable(
... ...
@@ -1570,19 +1570,19 @@ class WarnMsgTemplate(enum.Enum):
1570 1570
         Setting a service passphrase is ineffective because a key is
1571 1571
         also set: {service!s}.
1572 1572
         """,
1573
-        context='warning message',
1573
+        context='Warning message',
1574 1574
         flags='python-brace-format',
1575 1575
     )
1576 1576
     STEP_REMOVE_INEFFECTIVE_VALUE = _prepare_translatable(
1577 1577
         'Removing ineffective setting {path!s} = {old!s}.',
1578 1578
         comments='',
1579
-        context='warning message',
1579
+        context='Warning message',
1580 1580
         flags='python-brace-format',
1581 1581
     )
1582 1582
     STEP_REPLACE_INVALID_VALUE = _prepare_translatable(
1583 1583
         'Replacing invalid value {old!s} for key {path!s} with {new!s}.',
1584 1584
         comments='',
1585
-        context='warning message',
1585
+        context='Warning message',
1586 1586
         flags='python-brace-format',
1587 1587
     )
1588 1588
     V01_STYLE_CONFIG = _prepare_translatable(
... ...
@@ -1592,7 +1592,7 @@ class WarnMsgTemplate(enum.Enum):
1592 1592
         will be removed in v1.0.
1593 1593
         """,
1594 1594
         comments='',
1595
-        context='deprecation warning message',
1595
+        context='Warning message :: Deprecation',
1596 1596
         flags='python-brace-format',
1597 1597
     )
1598 1598
     V10_SUBCOMMAND_REQUIRED = _prepare_translatable(
... ...
@@ -1606,7 +1606,7 @@ class WarnMsgTemplate(enum.Enum):
1606 1606
         A subcommand will be required here in v1.0.  See --help for
1607 1607
         available subcommands.  Defaulting to subcommand "vault".
1608 1608
         """,
1609
-        context='deprecation warning message',
1609
+        context='Warning message :: Deprecation',
1610 1610
     )
1611 1611
 
1612 1612
 
... ...
@@ -1618,7 +1618,7 @@ class ErrMsgTemplate(enum.Enum):
1618 1618
         msg="""
1619 1619
         The SSH agent failed to or refused to supply a list of loaded keys.
1620 1620
         """,
1621
-        context='error message',
1621
+        context='Error message',
1622 1622
     )
1623 1623
     AGENT_REFUSED_SIGNATURE = _prepare_translatable(
1624 1624
         comments=r"""
... ...
@@ -1630,7 +1630,7 @@ class ErrMsgTemplate(enum.Enum):
1630 1630
         The SSH agent failed to or refused to issue a signature with the
1631 1631
         selected key, necessary for deriving a service passphrase.
1632 1632
         """,
1633
-        context='error message',
1633
+        context='Error message',
1634 1634
     )
1635 1635
     CANNOT_CONNECT_TO_AGENT = _prepare_translatable(
1636 1636
         comments=r"""
... ...
@@ -1638,7 +1638,7 @@ class ErrMsgTemplate(enum.Enum):
1638 1638
         (errno/strerror).
1639 1639
         """,
1640 1640
         msg='Cannot connect to the SSH agent: {error!s}: {filename!r}.',
1641
-        context='error message',
1641
+        context='Error message',
1642 1642
         flags='python-brace-format',
1643 1643
     )
1644 1644
     CANNOT_DECODEIMPORT_VAULT_SETTINGS = _prepare_translatable(
... ...
@@ -1647,7 +1647,7 @@ class ErrMsgTemplate(enum.Enum):
1647 1647
         (errno/strerror).
1648 1648
         """,
1649 1649
         msg='Cannot import vault settings: cannot decode JSON: {error!s}.',
1650
-        context='error message',
1650
+        context='Error message',
1651 1651
         flags='python-brace-format',
1652 1652
     )
1653 1653
     CANNOT_EXPORT_VAULT_SETTINGS = _prepare_translatable(
... ...
@@ -1656,7 +1656,7 @@ class ErrMsgTemplate(enum.Enum):
1656 1656
         (errno/strerror).
1657 1657
         """,
1658 1658
         msg='Cannot export vault settings: {error!s}: {filename!r}.',
1659
-        context='error message',
1659
+        context='Error message',
1660 1660
         flags='python-brace-format',
1661 1661
     )
1662 1662
     CANNOT_IMPORT_VAULT_SETTINGS = _prepare_translatable(
... ...
@@ -1665,7 +1665,7 @@ class ErrMsgTemplate(enum.Enum):
1665 1665
         (errno/strerror).
1666 1666
         """,
1667 1667
         msg='Cannot import vault settings: {error!s}: {filename!r}.',
1668
-        context='error message',
1668
+        context='Error message',
1669 1669
         flags='python-brace-format',
1670 1670
     )
1671 1671
     CANNOT_LOAD_USER_CONFIG = _prepare_translatable(
... ...
@@ -1674,7 +1674,7 @@ class ErrMsgTemplate(enum.Enum):
1674 1674
         (errno/strerror).
1675 1675
         """,
1676 1676
         msg='Cannot load user config: {error!s}: {filename!r}.',
1677
-        context='error message',
1677
+        context='Error message',
1678 1678
         flags='python-brace-format',
1679 1679
     )
1680 1680
     CANNOT_LOAD_VAULT_SETTINGS = _prepare_translatable(
... ...
@@ -1683,7 +1683,7 @@ class ErrMsgTemplate(enum.Enum):
1683 1683
         (errno/strerror).
1684 1684
         """,
1685 1685
         msg='Cannot load vault settings: {error!s}: {filename!r}.',
1686
-        context='error message',
1686
+        context='Error message',
1687 1687
         flags='python-brace-format',
1688 1688
     )
1689 1689
     CANNOT_PARSE_AS_VAULT_CONFIG = _prepare_translatable(
... ...
@@ -1699,7 +1699,7 @@ class ErrMsgTemplate(enum.Enum):
1699 1699
         Cannot parse {path!r} as a valid vault-native configuration
1700 1700
         file/directory.
1701 1701
         """,
1702
-        context='error message',
1702
+        context='Error message',
1703 1703
         flags='python-brace-format',
1704 1704
     )
1705 1705
     CANNOT_PARSE_AS_VAULT_CONFIG_OSERROR = _prepare_translatable(
... ...
@@ -1711,7 +1711,7 @@ class ErrMsgTemplate(enum.Enum):
1711 1711
         Cannot parse {path!r} as a valid vault-native configuration
1712 1712
         file/directory: {error!s}: {filename!r}.
1713 1713
         """,
1714
-        context='error message',
1714
+        context='Error message',
1715 1715
         flags='python-brace-format',
1716 1716
     )
1717 1717
     CANNOT_STORE_VAULT_SETTINGS = _prepare_translatable(
... ...
@@ -1720,7 +1720,7 @@ class ErrMsgTemplate(enum.Enum):
1720 1720
         (errno/strerror).
1721 1721
         """,
1722 1722
         msg='Cannot store vault settings: {error!s}: {filename!r}.',
1723
-        context='error message',
1723
+        context='Error message',
1724 1724
         flags='python-brace-format',
1725 1725
     )
1726 1726
     CANNOT_UNDERSTAND_AGENT = _prepare_translatable(
... ...
@@ -1737,7 +1737,7 @@ class ErrMsgTemplate(enum.Enum):
1737 1737
         Cannot understand the SSH agent's response because it violates
1738 1738
         the communications protocol.
1739 1739
         """,
1740
-        context='error message',
1740
+        context='Error message',
1741 1741
     )
1742 1742
     CANNOT_UPDATE_SETTINGS_NO_SETTINGS = _prepare_translatable(
1743 1743
         comments=r"""
... ...
@@ -1757,7 +1757,7 @@ class ErrMsgTemplate(enum.Enum):
1757 1757
         You must specify at least one of --lower, ..., --symbol, or
1758 1758
         --phrase or --key.
1759 1759
         """,
1760
-        context='error message',
1760
+        context='Error message',
1761 1761
         flags='python-brace-format',
1762 1762
     )
1763 1763
     INVALID_USER_CONFIG = _prepare_translatable(
... ...
@@ -1768,7 +1768,7 @@ class ErrMsgTemplate(enum.Enum):
1768 1768
         msg=r"""
1769 1769
         The user configuration file is invalid.  {error!s}: {filename!r}.
1770 1770
         """,
1771
-        context='error message',
1771
+        context='Error message',
1772 1772
         flags='python-brace-format',
1773 1773
     )
1774 1774
     INVALID_VAULT_CONFIG = _prepare_translatable(
... ...
@@ -1779,13 +1779,13 @@ class ErrMsgTemplate(enum.Enum):
1779 1779
         parsable, however.
1780 1780
         """,
1781 1781
         msg='Invalid vault config: {config!r}.',
1782
-        context='error message',
1782
+        context='Error message',
1783 1783
         flags='python-brace-format',
1784 1784
     )
1785 1785
     MISSING_MODULE = _prepare_translatable(
1786 1786
         'Cannot load the required Python module {module!r}.',
1787 1787
         comments='',
1788
-        context='error message',
1788
+        context='Error message',
1789 1789
         flags='python-brace-format',
1790 1790
     )
1791 1791
     NO_AF_UNIX = _prepare_translatable(
... ...
@@ -1794,7 +1794,7 @@ class ErrMsgTemplate(enum.Enum):
1794 1794
         not support UNIX domain sockets.
1795 1795
         """,
1796 1796
         comments='',
1797
-        context='error message',
1797
+        context='Error message',
1798 1798
     )
1799 1799
     NO_KEY_OR_PHRASE = _prepare_translatable(
1800 1800
         msg=r"""
... ...
@@ -1802,19 +1802,19 @@ class ErrMsgTemplate(enum.Enum):
1802 1802
         case, the --phrase or --key argument is required.
1803 1803
         """,
1804 1804
         comments='',
1805
-        context='error message',
1805
+        context='Error message',
1806 1806
     )
1807 1807
     NO_SSH_AGENT_FOUND = _prepare_translatable(
1808 1808
         'Cannot find any running SSH agent because SSH_AUTH_SOCK is not set.',
1809 1809
         comments='',
1810
-        context='error message',
1810
+        context='Error message',
1811 1811
     )
1812 1812
     NO_SUITABLE_SSH_KEYS = _prepare_translatable(
1813 1813
         msg="""
1814 1814
         The SSH agent contains no keys suitable for {PROG_NAME!s}.
1815 1815
         """,  # noqa: RUF027
1816 1816
         comments='',
1817
-        context='error message',
1817
+        context='Error message',
1818 1818
         flags='python-brace-format',
1819 1819
     )
1820 1820
     PARAMS_MUTUALLY_EXCLUSIVE = _prepare_translatable(
... ...
@@ -1823,7 +1823,7 @@ class ErrMsgTemplate(enum.Enum):
1823 1823
         Typical example: "--key is mutually exclusive with --phrase."
1824 1824
         """,
1825 1825
         msg='{param1!s} is mutually exclusive with {param2!s}.',
1826
-        context='error message',
1826
+        context='Error message',
1827 1827
         flags='python-brace-format',
1828 1828
     )
1829 1829
     PARAMS_NEEDS_SERVICE_OR_CONFIG = _prepare_translatable(
... ...
@@ -1832,7 +1832,7 @@ class ErrMsgTemplate(enum.Enum):
1832 1832
         the metavar is Label.VAULT_METAVAR_SERVICE.
1833 1833
         """,
1834 1834
         msg='{param!s} requires a {service_metavar!s} or --config.',
1835
-        context='error message',
1835
+        context='Error message',
1836 1836
         flags='python-brace-format',
1837 1837
     )
1838 1838
     PARAMS_NEEDS_SERVICE = _prepare_translatable(
... ...
@@ -1841,7 +1841,7 @@ class ErrMsgTemplate(enum.Enum):
1841 1841
         the metavar is Label.VAULT_METAVAR_SERVICE.
1842 1842
         """,
1843 1843
         msg='{param!s} requires a {service_metavar!s}.',
1844
-        context='error message',
1844
+        context='Error message',
1845 1845
         flags='python-brace-format',
1846 1846
     )
1847 1847
     PARAMS_NO_SERVICE = _prepare_translatable(
... ...
@@ -1850,7 +1850,7 @@ class ErrMsgTemplate(enum.Enum):
1850 1850
         the metavar is Label.VAULT_METAVAR_SERVICE.
1851 1851
         """,
1852 1852
         msg='{param!s} does not take a {service_metavar!s} argument.',
1853
-        context='error message',
1853
+        context='Error message',
1854 1854
         flags='python-brace-format',
1855 1855
     )
1856 1856
     SERVICE_REQUIRED = _prepare_translatable(
... ...
@@ -1858,7 +1858,7 @@ class ErrMsgTemplate(enum.Enum):
1858 1858
         TRANSLATORS: The metavar is Label.VAULT_METAVAR_SERVICE.
1859 1859
         """,
1860 1860
         msg='Deriving a passphrase requires a {service_metavar!s}.',
1861
-        context='error message',
1861
+        context='Error message',
1862 1862
         flags='python-brace-format',
1863 1863
     )
1864 1864
     SET_AND_UNSET_SAME_SETTING = _prepare_translatable(
... ...
@@ -1869,13 +1869,13 @@ class ErrMsgTemplate(enum.Enum):
1869 1869
         translation instead.
1870 1870
         """,
1871 1871
         msg='Attempted to unset and set --{setting!s} at the same time.',
1872
-        context='error message',
1872
+        context='Error message',
1873 1873
         flags='python-brace-format',
1874 1874
     )
1875 1875
     SSH_KEY_NOT_LOADED = _prepare_translatable(
1876 1876
         'The requested SSH key is not loaded into the agent.',
1877 1877
         comments='',
1878
-        context='error message',
1878
+        context='Error message',
1879 1879
     )
1880 1880
     USER_ABORTED_EDIT = _prepare_translatable(
1881 1881
         comments=r"""
... ...
@@ -1883,7 +1883,7 @@ class ErrMsgTemplate(enum.Enum):
1883 1883
         but aborted the request mid-editing.
1884 1884
         """,
1885 1885
         msg='Not saving any new notes: the user aborted the request.',
1886
-        context='error message',
1886
+        context='Error message',
1887 1887
     )
1888 1888
     USER_ABORTED_PASSPHRASE = _prepare_translatable(
1889 1889
         comments=r"""
... ...
@@ -1891,7 +1891,7 @@ class ErrMsgTemplate(enum.Enum):
1891 1891
         but aborted the request.
1892 1892
         """,
1893 1893
         msg='No passphrase was given; the user aborted the request.',
1894
-        context='error message',
1894
+        context='Error message',
1895 1895
     )
1896 1896
     USER_ABORTED_SSH_KEY_SELECTION = _prepare_translatable(
1897 1897
         comments=r"""
... ...
@@ -1899,7 +1899,7 @@ class ErrMsgTemplate(enum.Enum):
1899 1899
         but aborted the request.
1900 1900
         """,
1901 1901
         msg='No SSH key was selected; the user aborted the request.',
1902
-        context='error message',
1902
+        context='Error message',
1903 1903
     )
1904 1904
 
1905 1905
 
1906 1906