From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyXrQ-0007Ud-1b for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:27:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyXrJ-0007Q1-SF for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:27:46 -0400 Received: from [199.232.76.173] (port=45173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyXrJ-0007Pk-Lr for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:27:41 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:38601) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyXrJ-0006xg-AX for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:27:41 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e35.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n9FLGmCk030021 for ; Thu, 15 Oct 2009 15:16:48 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n9FLRZVv247864 for ; Thu, 15 Oct 2009 15:27:36 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n9FLRZJc023517 for ; Thu, 15 Oct 2009 15:27:35 -0600 Message-ID: <4AD793C6.9060508@us.ibm.com> Date: Thu, 15 Oct 2009 16:27:34 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 6/9] QError: Add qdev not found error References: <1255453026-18637-1-git-send-email-lcapitulino@redhat.com> <1255453026-18637-7-git-send-email-lcapitulino@redhat.com> <1255561330.29192.2.camel@slab.beaverton.ibm.com> <20091015103405.591e2f3b@doriath> <1255626960.29192.7.camel@slab.beaverton.ibm.com> <20091015145208.1d871f09@doriath> <1255630433.29192.16.camel@slab.beaverton.ibm.com> <20091015160839.7dbef5bf@doriath> <1255637617.29192.59.camel@slab.beaverton.ibm.com> <4AD78CCD.6030006@us.ibm.com> <1255641511.29192.68.camel@slab.beaverton.ibm.com> In-Reply-To: <1255641511.29192.68.camel@slab.beaverton.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: hollisb@linux.vnet.ibm.com Cc: kraxel@redhat.com, qemu-devel@nongnu.org, Luiz Capitulino hollisb@linux.vnet.ibm.com wrote: > It's hard enough to keep localized strings updated for every release > within a single code tree. Beyond that, you expect that every *client* > will update its localized strings for every *server* release? What I meant by highly structured is that you wouldn't pass a string at all. There would just be an error code and whatever information went along with that error code. It would be up to the client to decide how to present a message to the user. From a usability perspective, this is better both for localization but also to ensure a consistent user experience with respect to how errors are described to a user. Basically, I think the conventional wisdom in UI design is that you never want to pass error messages from a server directly to a user. -- Regards, Anthony Liguori