summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc11
1 files changed, 2 insertions, 9 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 1dae9c722..fe01cbd3d 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -2801,15 +2801,8 @@ function _locale_translate_seek() {
);
}
- if (count($rows)) {
- $output .= theme('table', array('header' => $header, 'rows' => $rows));
- if ($pager = theme('pager', array('tags' => NULL))) {
- $output .= $pager;
- }
- }
- else {
- $output .= t('No strings found for your search.');
- }
+ $output .= theme('table', array('header' => $header, 'rows' => $rows, 'empty' => t('No strings available.')));
+ $output .= theme('pager', array('tags' => NULL));
return $output;
}