Re: [[email protected]: [monopd-devel] auctions, debts, events and queuing]
Rob Kaper <[email protected]>
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 09, 2003 at 07:53:13AM +0200, Erik Sigra wrote: > Yes, this is very important. The server should never send text that the client > just shows. It must send the message in a form that the client code can > understand (a code or XML tag) and then the client formulates a message text > that is translated into the language of the user. In the case of buttons, the > server should not send buttons directly, but send whatever the client needs > to know to enable/disable appropriate KActions. Yes, this is already something I am working on. Making all the object properties dynamic will help this. Now, monopd only needs to bond "canroll" to a dynamic action ".r" command. Monopd could still suggest titles though. Got it, and will make this a priority. > The patch http://bugs.kde.org/show_bug.cgi?id=54538 was inteded to solve an > instance of this bug. Hm, that's a patch to automate tax decisions.. it would remove two buttons (but also the fun game element of making mistakes) but would not solve the issue of translatable strings. I'd have to check, but I believe we can move new strings into 3.1 if - and that's true in our case - the strings were previously there but not translatable. But I'm not a fan for requiring an upgrade so it makes sense to keep the old messages as well. > The obvious fix for this would be to have revision numbers for the > trade. Together with disabling the accept button for a few seconds > after updates, this would solve the problem completely, because: > 1. The server sends a revision number with each update of the trade. > 2. When the client accepts a trade, it does not just send ".Ta" and > the ID, but also the revision number that it accepts. > 3. The server only handles trade accept requests where the revision > number is the newest (highest) revision number for that trade ID. Full ack. Rob -- Rob Kaper | "They that can give up essential liberty to obtain a little [email protected] | temporary safety deserve neither liberty nor safety." www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759 _______________________________________________ atlantik-devel mailing list [email protected] http://mail.kde.org/mailman/listinfo/atlantik-devel
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/C7qCtppIl2G1SjcRAjDDAJkBIFDZxZvN5q5CjRUWX0wESzdkfACgswT3 ZpNkMdH7NLM6rn8yW/h6rzs= =lm/0 -----END PGP SIGNATURE-----