]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 479228: Duplicated words in the error message in importxml.pl when the default...
authorlpsolit%gmail.com <>
Thu, 19 Feb 2009 22:52:47 +0000 (22:52 +0000)
committerlpsolit%gmail.com <>
Thu, 19 Feb 2009 22:52:47 +0000 (22:52 +0000)
importxml.pl

index d24c1ee1c1af10306b860ea8659d5a61b373f2d3..24eff8f635de5f4715f4f93a177626628ad4ad12 100755 (executable)
@@ -326,19 +326,17 @@ sub init() {
     Error( "no urlbase set", "REOPEN", $exporter ) unless ($urlbase);
     my $def_product =
         new Bugzilla::Product( { name => $params->{"moved-default-product"} } )
-        || Error("Cannot import these bugs because an invalid default 
-                  product was defined for the target db."
-                  . $params->{"maintainer"} . " needs to fix the definitions of
-                  moved-default-product. \n", "REOPEN", $exporter);
+        || Error("an invalid default product was defined for the target DB. " .
+                  $params->{"maintainer"} . " needs to fix the definitions of " .
+                 "moved-default-product. \n", "REOPEN", $exporter);
     my $def_component = new Bugzilla::Component(
         {
             product => $def_product,
             name    => $params->{"moved-default-component"}
         })
-    || Error("Cannot import these bugs because an invalid default 
-              component was defined for the target db."
-              . $params->{"maintainer"} . " needs to fix the definitions of
-              moved-default-component.\n", "REOPEN", $exporter);
+    || Error("an invalid default component was defined for the target DB. " .
+             $params->{"maintainer"} . " needs to fix the definitions of " .
+             "moved-default-component.\n", "REOPEN", $exporter);
 }
     
 
@@ -1359,7 +1357,7 @@ importxml - Import bugzilla bug data from xml.
  Options:
        -? --help        brief help message
        -v --verbose     print error and debug information. 
-                        Mulltiple -v increases verbosity
+                        Multiple -v increases verbosity
        -m --sendmail    send mail to recipients with log of bugs imported
        --attach_path    The path to the attachment files.
                         (Required if encoding="filename" is used for attachments.)