Another idea (pseudocode):
x = _("Transfer at most %1 MB every %2 days")
(a,b,c) = split x at %* boundaries
if %1 precedes %2 in x
insert a, text field for MB, b, text field for days, c
else
insert a, text field for days, b, text field for MB, c
We could use this idea everywhere a control breaks up a string
-- David
Martin wrote:
> On 26/05/10 05:34, Nicolás Alvarez wrote:
>> On 5/24/10, Nicolás Alvarez <[email protected]> wrote:
>>> I thought of a better solution instead of giving different msgids to
>>> the "days" strings, and reported the problem on Trac:
>>> http://boinc.berkeley.edu/trac/ticket/991
>> Turns out that I'll have to do a minor change to the UI to do what I
>> wanted with this particular preference item. I put my proposed changes
>> as comments in Trac #991:
>> http://boinc.berkeley.edu/trac/ticket/991#comment:3
>>
>> I'd like some feedback on that layout change before I try to implement
>> it (I don't want to waste time with code if you don't agree with the
>> *idea*). Although I'll probably try to clean that generated-code mess
>> first...
>
> http://boinc.berkeley.edu/trac/ticket/991#comment:3
>
> That looks fine.
>
> Would your new layout allow for right-to-left scripts to be
> accommodated? (Your problem last box would have the box positions
> reversed in that case.)
>
> Or is that far too hard a case that is pointless due to no support
> elsewhere throughout Boinc?
>
>
> Regards,
> Martin
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.