l10n_client_settings_form()
contributions/l10n_client/l10n_client.module, line 328
Settings form for l10n_client.
Enable users to set up a central server to share translations with.
<?php
function l10n_client_settings_form() {
$form = array();
$form['l10n_client_server'] = array(
'#title' => t('Share translations with server'),
'#type' => 'textfield',
'#description' => t('Address of localization server to use. The server will be used to share translations submitted through the localization client interface. Each local submission will result in a call to this server as well. To be able to submit a translation there, you should be logged in there, but from then on, everything is automated. A list of servers you can use is available from the <a href="@project">Localization server project page</a>.', array('@project' => 'http://drupal.org/project/l10n_server')),
'#default_value' => variable_get('l10n_client_server', ''),
);
return system_settings_form($form);
}
?>