Re: [Usability] [Conglomerate-devel] User-friendly error dialogs for GnomeVFS errors
- From: Christian Neumair <chris gnome-de org>
- To: merchan baton phys lsu edu
- Cc: usability gnome org
- Subject: Re: [Usability] [Conglomerate-devel] User-friendly error dialogs for GnomeVFS errors
- Date: 15 Jun 2003 13:59:38 +0200
Am Sam, 2003-06-14 um 14.48 schrieb Gregory Joseph Merchan:
> I think it would be great to have common dialogs in a shared library.
>
> Raised on the HIG list a while back was which GError's user-friendly
> messages should be: primary or secondary alert text. The discussion didn't
> carry far, as I recall.
>
> Another issue was the use of markup in alert text. I don't know what the
> status of this is. Marked up strings are frequently a problem for
> translators.
We have similar markup problems with gnome-panel.
Programmers tend to construct error dialog strings like "<b>We have a
problem</b>\n\nDetails: Wow. This is weird".
My proposal is to solve the problem by doing some strconcat magic:
g_strconcat ("<b>",
_(string-no-markup),
"<b>\n\n",
_("Details: %s"),
NULL);
and then inserting the error string into %s gap - this allows us to
correctly circumvent RTL issues. This concat magic could be packed into
a public dialog construction function exported through a header which
would then allow to pass a few parameters.
I could try to add such a HIG compliant dialog, if desired - maybe
that's even a good idea to add it to libgnomeui. Almost all GNOME core
packages use such dialogs and construct them in a bogus, not
HIG-compliant manner.
regs,
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]