/[drupal]/contributions/modules/translation_framework/contrib/google_translation/google_translation.admin.inc
ViewVC logotype

Diff of /contributions/modules/translation_framework/contrib/google_translation/google_translation.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1, Tue Apr 14 17:39:34 2009 UTC revision 1.1.2.2, Thu Apr 23 22:18:03 2009 UTC
# Line 29  function google_translation_admin_settin Line 29  function google_translation_admin_settin
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    

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2