Index: l10n_client.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.install,v
retrieving revision 1.1.4.2
diff -u -p -r1.1.4.2 l10n_client.install
--- l10n_client.install	20 Apr 2010 20:50:44 -0000	1.1.4.2
+++ l10n_client.install	8 Dec 2010 10:39:04 -0000
@@ -14,3 +14,16 @@ function l10n_client_uninstall() {
   db_query("DELETE FROM {variable} WHERE name LIKE 'l10n_client_%%'");
 }
 
+/**
+ * Update for new l10n_client_server default value.
+ */
+function l10n_client_update_6001() {
+  $server_setting = variable_get('l10n_client_server', NULL);
+  if (!variable_get('l10n_client_use_server', FALSE) && empty($server_setting) && !is_null($server_setting)) {
+    // User saved empty translation server setting, and has sharing disabled now.
+    // Drop the setting to fall back on the new localize.drupal.org default.
+    // User will get new default when she enables sharing.
+    variable_del('l10n_client_server');
+  }
+  return array();
+}
Index: l10n_client.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.module,v
retrieving revision 1.22.2.13.2.1
diff -u -p -r1.22.2.13.2.1 l10n_client.module
--- l10n_client.module	27 Oct 2010 08:53:56 -0000	1.22.2.13.2.1
+++ l10n_client.module	8 Dec 2010 10:39:05 -0000
@@ -449,8 +449,8 @@ function l10n_client_settings_form() {
   $form['l10n_client_server'] = array(
     '#title' => t('Address of localization server to use'),
     '#type' => 'textfield',
-    '#description' => t('Each translation submission will also be submitted to the server, if the personal key is set up for the submitter in their user profile. We suggest you set this to <a href="@localize">http://localize.drupal.org</a> to share with the greater Drupal community.', array('@localize' => 'http://localize.drupal.org')),
-    '#default_value' => variable_get('l10n_client_server', ''),
+    '#description' => t('Each translation submission will also be submitted to this server. We suggest you enter <a href="@localize">http://localize.drupal.org</a> to share with the greater Drupal community. Make sure you set up an API-key in the user account settings for each user that will participate in the translations.', array('@localize' => 'http://localize.drupal.org')),
+    '#default_value' => variable_get('l10n_client_server', 'http://localize.drupal.org'),
   );
   return system_settings_form($form);
 }
@@ -495,7 +495,7 @@ function l10n_client_user($type, &$edit,
 
     if (variable_get('l10n_client_use_server', FALSE) && user_access('submit translations to localization server', $account)) {
       // Build link to retrieve user key.
-      $server_link = variable_get('l10n_client_server', '') .'?q=translate/remote/userkey/'. l10n_client_user_token($account);
+      $server_link = variable_get('l10n_client_server', 'http://localize.drupal.org') .'?q=translate/remote/userkey/'. l10n_client_user_token($account);
       $items['l10n_client_key'] = array(
         '#type' => 'textfield',
         '#title' => t('Your Localization Server API key'),
@@ -549,7 +549,7 @@ function l10n_client_submit_translation(
   $signature = md5($user_key . $langcode . $source . $translation . $user_token);
 
   $response = xmlrpc(
-    variable_get('l10n_client_server', '') .'/xmlrpc.php',
+    variable_get('l10n_client_server', 'http://localize.drupal.org') .'/xmlrpc.php',
     'l10n.submit.translation',
     $langcode,
     $source,
