Index: l10n_client.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.js,v retrieving revision 1.10 diff -u -p -r1.10 l10n_client.js --- l10n_client.js 15 Apr 2009 19:10:13 -0000 1.10 +++ l10n_client.js 14 Jul 2009 18:00:16 -0000 @@ -149,16 +149,18 @@ Drupal.behaviors.l10nClient = function ( type: "POST", url: $('#l10n-client-form').attr('action'), // Send source and target strings. - data: 'source=' + Drupal.encodeURIComponent($('#l10n-client-string-editor .source-text').text()) + - '&target=' + Drupal.encodeURIComponent($('#l10n-client-form #edit-target').val()) + - '&form_token=' + Drupal.encodeURIComponent($('#l10n-client-form #edit-l10n-client-form-form-token').val()), + data: { + source: $('#l10n-client-string-editor .source-text').text(), + target: $('#l10n-client-form #edit-target').val(), + 'form_token': $('#l10n-client-form #edit-l10n-client-form-form-token').val() + }, success: function (data) { // Store string in local js Drupal.l10nClient.setString(Drupal.l10nClient.selected, $('#l10n-client-form #edit-target').val()); // Figure out the display of the new translation in the selection list. - var newTranslationDisplay = ''; var newTranslation = $('#l10n-client-form #edit-target').val(); + var newTranslationDisplay = newTranslation; var newTranslationStripped = newTranslation.replace(/<\/?[^<>]+>/gi, '') .replace(/"/g, '"') .replace(/</g, "<") Index: l10n_client.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.module,v retrieving revision 1.22 diff -u -p -r1.22 l10n_client.module --- l10n_client.module 15 Apr 2009 19:10:13 -0000 1.22 +++ l10n_client.module 14 Jul 2009 18:00:16 -0000 @@ -436,7 +436,7 @@ function l10n_client_import_package_form if (!count($names)) { // This only works if there is any foreign language set up. - drupal_set_message(t('No languages set up to reimport packages into.', 'warning')); + drupal_set_message(t('No languages set up to reimport packages into.'), 'warning'); return array(); }