- my $source_wording = $opts->{source} ? "source " : "";
- my $exact_wording = $opts->{exact} ? "named" : "that names contain";
- msg( "You have searched for ${source_wording}packages $exact_wording <em>$keyword_enc</em> in $suite_wording, $section_wording, and $arch_wording." );
+ my $source_wording = $opts->{source} ? _g("source packages") : _g("packages");
+ # sorry to all translators for that one... (patches welcome)
+ msg( sprintf( _g( "You have searched for %s that names contain <em>%s</em> in %s, %s, and %s." ),
+ $source_wording, $keyword_enc,
+ $suite_wording, $section_wording, $arch_wording ) );