From 29aff1aec0be75d7b6a071ce433bfbfd23aeaaa3 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 23 Apr 2020 12:25:36 +0200 Subject: [PATCH] Bug 25067: Hide deprecation notice unless --verbose flag is given Signed-off-by: Bernardo Gonzalez Kriegel --- misc/translator/translate | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/misc/translator/translate b/misc/translator/translate index 4469743f77..3c186d3ea2 100755 --- a/misc/translator/translate +++ b/misc/translator/translate @@ -76,8 +76,10 @@ if ( $cmd =~ /^(install|compress|uncompress)$/ ) { $command .= " --silent" if (!$verbose); $command .= " --lang $lang" if ($lang); - print STDERR "Deprecation notice: PO creation and update are now gulp tasks. See docs/development/internationalization.md\n"; - print STDERR "Running `$command`\n"; + if ($verbose) { + print STDERR "Deprecation notice: PO creation and update are now gulp tasks. See docs/development/internationalization.md\n"; + print STDERR "Running `$command`\n"; + } system($command); } else { -- 2.20.1