Index: l10n_client.install
===================================================================
RCS file: l10n_client.install
diff -N l10n_client.install
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ l10n_client.install	8 Dec 2010 10:28:51 -0000
@@ -0,0 +1,20 @@
+<?php
+// $Id: l10n_client.module,v 1.22.4.13 2010/10/27 08:54:21 goba Exp $
+
+/**
+ * @file
+ *   Install, uninstall and update functions for localization client.
+ */
+ 
+/**
+ * Update for new l10n_client_server default value.
+ */
+function l10n_client_update_7001() {
+  $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');
+  }
+}
Index: l10n_client.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.module,v
retrieving revision 1.22.4.13
diff -u -p -r1.22.4.13 l10n_client.module
--- l10n_client.module	27 Oct 2010 08:54:21 -0000	1.22.4.13
+++ l10n_client.module	8 Dec 2010 10:28:52 -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);
 }
@@ -496,7 +496,7 @@ function l10n_client_form_user_profile_f
 
     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'),
@@ -554,7 +554,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',
     array('l10n.submit.translation' => array(
       $langcode,
       $source,
