Fix typo if -> of (thanks to Uwe Dittes)
authorCarl Hetherington <cth@carlh.net>
Fri, 20 Aug 2021 21:09:53 +0000 (23:09 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 20 Aug 2021 21:09:53 +0000 (23:09 +0200)
src/lib/dcp_content.cc

index c380e6f84e2ab84f42cb2ee4fc25b3d42f1dd25b..fa6ec383f8ccae10bde9e6990dda77345948fc5c 100644 (file)
@@ -740,7 +740,7 @@ DCPContent::can_reference_text (shared_ptr<const Film> film, TextType type, stri
                                return false;
                        } else if (i->main_subtitle()->entry_point().get_value_or(0) != 0) {
                                /// TRANSLATORS: this string will follow "Cannot reference this DCP: "
                                return false;
                        } else if (i->main_subtitle()->entry_point().get_value_or(0) != 0) {
                                /// TRANSLATORS: this string will follow "Cannot reference this DCP: "
-                               why_not = _("one if its subtitle reels has a non-zero entry point so it must be re-written.");
+                               why_not = _("one of its subtitle reels has a non-zero entry point so it must be re-written.");
                                return false;
                        }
                 }
                                return false;
                        }
                 }
@@ -753,7 +753,7 @@ DCPContent::can_reference_text (shared_ptr<const Film> film, TextType type, stri
                        for (auto j: i->closed_captions()) {
                                if (j->entry_point().get_value_or(0) != 0) {
                                        /// TRANSLATORS: this string will follow "Cannot reference this DCP: "
                        for (auto j: i->closed_captions()) {
                                if (j->entry_point().get_value_or(0) != 0) {
                                        /// TRANSLATORS: this string will follow "Cannot reference this DCP: "
-                                       why_not = _("one if its closed caption has a non-zero entry point so it must be re-written.");
+                                       why_not = _("one of its closed caption has a non-zero entry point so it must be re-written.");
                                        return false;
                                }
                        }
                                        return false;
                                }
                        }