Evolution String Fix Questions (61980)



I've been investigating bug 61980: 

http://bugzilla.ximian.com/show_bug.cgi?id=61980

I've had trouble coming up with strings that describe some of the
recurrences in plain language. Specifically the strings on lines 603,
618 and 631 (in the bug, the line numbers have actually changed).

For 603, "Every %d weeks on", after the "on" part comes a list of days
of the week, ie "Every 2 weeks on Tuesday, Wednesday and Thursday".  My
only idea currently is to do something like "Every 2 weeks on: Tuesday,
Wednesday, Thursday".

For 618, "The %s day of ", is the nth day of a month, ie "The 16th day
of November".  I don't know what to do here short of creating all
possible strings.

For 631, "The %s %s of ", is the nth occuring day in a month, ie "The
2nd Tuesday of November).  Same as 618 for a solution.

One further note, ngettext seems to fall short in a couple of cases, for
instance I'd like to say for daily recurrences:

Every day a total of once (1,1)
Every %d days a total of once (2+, 1)
Every day a total of %d times (1, 2+)
Every %d days a total of %d times (2+, 2+)

I'm nesting ngettext statements to do this, but it fails in the (1, 2+)
case because I always need to supply two format args in the same order.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]