Add the missing word

This commit is contained in:
Tian Shixiong 2021-05-24 12:11:05 +08:00 committed by Nick Hall
parent e1d296f613
commit fb97e918fa
3 changed files with 3 additions and 3 deletions

View File

@ -366,7 +366,7 @@ reports.addcli(TestDynamic, "tool_verify",
"--options", "name=verify") "--options", "name=verify")
txt_list = ["6 media objects were referenced, but not found", txt_list = ["6 media objects were referenced, but not found",
"References to 6 media objects were kept"] "References to 6 missing media objects were kept"]
reports.addcli(TestDynamic, "tool_check", reports.addcli(TestDynamic, "tool_check",
out_does_contain(txt_list), out_does_contain(txt_list),
[None], [None],

View File

@ -140,7 +140,7 @@ class ToolControl(unittest.TestCase):
"4 broken spouse/family links were fixed", "4 broken spouse/family links were fixed",
"1 place alternate name fixed", "1 place alternate name fixed",
"10 media objects were referenced, but not found", "10 media objects were referenced, but not found",
"References to 10 media objects were kept", "References to 10 missing media objects were kept",
"3 events were referenced, but not found", "3 events were referenced, but not found",
"1 invalid birth event name was fixed", "1 invalid birth event name was fixed",
"1 invalid death event name was fixed", "1 invalid death event name was fixed",

View File

@ -2617,7 +2617,7 @@ class CheckIntegrity:
# translators: leave all/any {...} untranslated # translators: leave all/any {...} untranslated
ngettext( ngettext(
"Reference to {quantity} missing media object was kept\n", "Reference to {quantity} missing media object was kept\n",
"References to {quantity} media objects were kept\n", "References to {quantity} missing media objects were kept\n",
bad_photos).format(quantity=bad_photos) bad_photos).format(quantity=bad_photos)
) )