From fb97e918fad728509ea2eb097e954f798b854600 Mon Sep 17 00:00:00 2001 From: Tian Shixiong Date: Mon, 24 May 2021 12:11:05 +0800 Subject: [PATCH] Add the missing word --- gramps/plugins/test/reports_test.py | 2 +- gramps/plugins/test/tools_test.py | 2 +- gramps/plugins/tool/check.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/test/reports_test.py b/gramps/plugins/test/reports_test.py index 237821b29..2d4be16b1 100644 --- a/gramps/plugins/test/reports_test.py +++ b/gramps/plugins/test/reports_test.py @@ -366,7 +366,7 @@ reports.addcli(TestDynamic, "tool_verify", "--options", "name=verify") 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", out_does_contain(txt_list), [None], diff --git a/gramps/plugins/test/tools_test.py b/gramps/plugins/test/tools_test.py index 4613d98c3..80e6cf346 100644 --- a/gramps/plugins/test/tools_test.py +++ b/gramps/plugins/test/tools_test.py @@ -140,7 +140,7 @@ class ToolControl(unittest.TestCase): "4 broken spouse/family links were fixed", "1 place alternate name fixed", "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", "1 invalid birth event name was fixed", "1 invalid death event name was fixed", diff --git a/gramps/plugins/tool/check.py b/gramps/plugins/tool/check.py index 16e159179..410df7384 100644 --- a/gramps/plugins/tool/check.py +++ b/gramps/plugins/tool/check.py @@ -2617,7 +2617,7 @@ class CheckIntegrity: # translators: leave all/any {...} untranslated ngettext( "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) )