[Kolab-devel] 3 commits - lib/kolab_api_controller.php lib/kolab_client_task.php public_html/js

Jeroen van Meeuwen (Kolab Systems) vanmeeuwen at kolabsys.com
Thu Feb 23 13:53:09 CET 2012


On 2012-02-23 10:48, Aleksander Machniak wrote:
> lib/kolab_api_controller.php  |   67 ++++++++++++++++++++++--------
>  lib/kolab_client_task.php     |   93
> ++++++++++++++++++++++++++----------------
>  public_html/js/kolab_admin.js |    8 +--
>  3 files changed, 111 insertions(+), 57 deletions(-)
>
> New commits:
> commit 4bf2d1c7d09bd20bccc0b6449486804899e53b91
> Author: Aleksander Machniak <alec at alec.pl>
> Date:   Thu Feb 23 11:45:08 2012 +0100
>
>     Added system.configure action
>

Hi Alec,

Please allow me, maybe I'm not understanding what you are trying to 
achieve here;

I'm wondering what the purpose is for the language to be saved in the 
$_SESSION on the API backend.

Isn't it simpler/better/easier to have the API backend return the 
messages (in en_US.utf-8), with error code, and provide the client with 
the means to translate those messages?

Kind regards,

Jeroen van Meeuwen

-- 
Systems Architect, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com

pgp: 9342 BF08




More information about the devel mailing list