- if ($tag)
- $title = sprintf(L10n::t('Items tagged with: %s'), $search);
- else
- $title = sprintf(L10n::t('Results for: %s'), $search);
+ if ($tag) {
+ $title = L10n::t('Items tagged with: %s', $search);
+ } else {
+ $title = L10n::t('Results for: %s', $search);
+ }