summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 5cf2a9894..aeb114878 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -550,7 +550,8 @@ function locale_translate_seek_form() {
'#default_value' => @$query['string'],
'#description' => t('Leave blank to show all strings. The search is case sensitive.'),
);
- $form['search']['language'] = array('#type' => 'radios',
+ $form['search']['language'] = array(
+ '#type' => (count($languages) <= 5 ? 'radios' : 'select'),
'#title' => t('Language'),
'#default_value' => (!empty($query['language']) ? $query['language'] : 'all'),
'#options' => array_merge(array('all' => t('All languages'), 'en' => t('English (provided by Drupal)')), $languages),