Browse Source

- #247373: found untranslatable strings, by Takafumi

Roger López 16 năm trước cách đây
mục cha
commit
c98cff88e7
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      simplemenu.module

+ 5 - 2
simplemenu.module

@@ -114,8 +114,11 @@ function simplemenu_admin_settings() {
   $form['default_menu']['advanced']['simplemenu_element_method'] = array(
     '#type' => 'radios',
     '#title' => t('Attach method'),
-    '#options' => drupal_map_assoc(array('prepend', 'append')),
-    '#default_value' => variable_get('simplemenu_element_method', 'prepend'),
+    '#options' => array(
+    	'prepend' => t('Prepend'), 
+    	'append' => t('Append'),
+    ),    
+  	'#default_value' => variable_get('simplemenu_element_method', 'prepend'),
     '#description' => t('Choose how the menu should be attached to the above selector.'),
     '#required' => TRUE
   );