Inform user on submission if string was not saved remotely

Gábor Hojtsy - September 4, 2009 - 05:51
Project:Localization client
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently we save errors into the watchdog when the remote submission did not work, but do not inform the user. It can still happen that someone generally has the permission on the server to use remote submission, but is not a member of the groups it is being submitted to, which overrides the general permissions for good reasons. So we should inform users when a remote submission error happens. There is also that case of course that the server is not up, etc. Basically, the l10n_client_submit_translation() code should somehow communicate errors back to the JS UI.

 
 

Drupal is a registered trademark of Dries Buytaert.