| 29 |
'#maxlength' => 255, |
'#maxlength' => 255, |
| 30 |
'#description' => t('Number of HTTP redirects that should be followed by the request'), |
'#description' => t('Number of HTTP redirects that should be followed by the request'), |
| 31 |
); |
); |
| 32 |
|
$form['settings']['google_translation_max_string_size'] = array( |
| 33 |
|
'#type' => 'textfield', |
| 34 |
|
'#title' => t('Maximum String Size'), |
| 35 |
|
'#default_value' => variable_get('google_translation_max_string_size', 500), |
| 36 |
|
'#size' => 10, |
| 37 |
|
'#maxlength' => 10, |
| 38 |
|
'#description' => t('Google Translation API has a maximum limit of around 500 to 700 in the url string, so this allows you to limit the string chunks being sent too the google translation api'), |
| 39 |
|
); |
| 40 |
return system_settings_form($form); |
return system_settings_form($form); |
| 41 |
} |
} |
| 42 |
|
|