1) porting stats, timeline, dashboard to catalyst/TT
2009-11-14 31817, 2009
ruaok
2) writing more reports. The report infrastructure is in place, but we only have two reports.
2009-11-14 31834, 2009
ruaok
3) If you're daring, port CD Stubs. :)
2009-11-14 31813, 2009
ruaok
bed time.
2009-11-14 31814, 2009
ruaok
nn
2009-11-14 31819, 2009
nikki
sleep well!
2009-11-14 31813, 2009
warp breaks his debian.
2009-11-14 31817, 2009
nikki
:o
2009-11-14 31826, 2009
nikki
hmm...
2009-11-14 31851, 2009
nikki
does IE support max-width?
2009-11-14 31835, 2009
warp
IE6 doesn't, I would hope it was fixed in either 7 or 8.
2009-11-14 31846, 2009
warp
and i've broken it even more >_<
2009-11-14 31854, 2009
nikki
:(
2009-11-14 31833, 2009
warp
I shouldn't have used third party .deb packages
2009-11-14 31813, 2009
warp re-installs.
2009-11-14 31802, 2009
warp is almost back up and running.
2009-11-14 31846, 2009
warp
ok, debian back up and running the way I want it too... now to get mb_server running again
2009-11-14 31816, 2009
warp
yay! everything running again :)
2009-11-14 31856, 2009
nikki
:D
2009-11-14 31832, 2009
warp
hm, unix timestamps don't work very well to represent the birth date of e.g. Mozart
2009-11-14 31854, 2009
nikki
heh
2009-11-14 31818, 2009
nikki
-700000000000 or something? :D
2009-11-14 31849, 2009
nikki
hmm... I can't remember which browsers we said we'd support
2009-11-14 31837, 2009
warp
any idea if/how we're doing translations of the website?
2009-11-14 31800, 2009
nikki
we have the strings wrapped in some function, I don't know when we're planning to actually translate it though
2009-11-14 31835, 2009
warp
any idea about plurals? :)
2009-11-14 31821, 2009
warp
for english it's just '1 year' and 'X years', but other languages may be more complicated.
2009-11-14 31857, 2009
nikki
heh, like all the slavic ones go "one plural form? pfffft!"
2009-11-14 31806, 2009
warp
:)
2009-11-14 31813, 2009
nikki is searching the code
2009-11-14 31820, 2009
nikki
unsuccessfully at the moment :P
2009-11-14 31830, 2009
nikki
an example: [%- ln('There is also one anonymous subscriber.', 'There are also {num} anonymous subscribers.', anonymous_subscribers, {num => anonymous_subscribers}) -%]
2009-11-14 31848, 2009
warp
so I gues that means the current codebase doesn't handle other plural thingies?
2009-11-14 31807, 2009
nikki
it does, but those are the defaults
2009-11-14 31827, 2009
warp
oh, right.
2009-11-14 31832, 2009
nikki
the gettexty thingy deals with plurals elsewhere
2009-11-14 31841, 2009
nikki knows how it works but isn't good at explaining :/
which resolves to 'c.ngettext(text, plural, num, args)
2009-11-14 31823, 2009
nikki
bah, no nice examples of how the plural forms work
2009-11-14 31825, 2009
nikki
well anyway, each language has some formula thingy which says how many different plurals there are and which numbers use which ones, and then there are that many strings in the translation file
2009-11-14 31829, 2009
nikki
so if arabic needs 6 or whatever, you don't end up having to enter 6 strings for english because the arabic stuff is in the arabic file and the english stuff is in the english file :o
2009-11-14 31852, 2009
warp
yeah, I see ngettext just assumes english for the message ids always.
2009-11-14 31824, 2009
nikki
yeah, I'm not entirely sure why, I guess it's so english speakers can be lazy or something and end up with strings that make sense even if they don't create a translation file thingy
2009-11-14 31800, 2009
warp
yay!
2009-11-14 31802, 2009
warp
aCiD2: help!
2009-11-14 31844, 2009
warp
aCiD2: in a .tt file I can call ngettext() on 'c'. how do I get a $c which can do that in a .t file?
2009-11-14 31846, 2009
warp
(I _think_ 'c' is a MusicBrainz::Server::Context, but if I create one with MusicBrainz::Server::Context->create_test_context() it doesn't have ngettext)
2009-11-14 31825, 2009
luks joined the channel
2009-11-14 31806, 2009
warp
luks!
2009-11-14 31820, 2009
luks
hi
2009-11-14 31802, 2009
warp
perhaps you can help me :)
2009-11-14 31819, 2009
warp
in a .tt file I can call ngettext() on 'c'. how do I get a $c which can do that in a .t file?
2009-11-14 31823, 2009
warp
(I _think_ 'c' is a MusicBrainz::Server::Context, but if I create one with MusicBrainz::Server::Context->create_test_context() it doesn't have ngettext)
2009-11-14 31824, 2009
luks
$c is the catalyst server instance
2009-11-14 31830, 2009
luks
so MusicBrainz::Server
2009-11-14 31848, 2009
luks
it's provided by a plugin
2009-11-14 31854, 2009
nikki
hey luks!
2009-11-14 31805, 2009
luks
(catalyst plugins extend the Catalyst base class)
2009-11-14 31807, 2009
luks
hi nikki
2009-11-14 31847, 2009
warp
luks: thanks. with my $c = MusicBrainz::Server->new() it actually works :)
2009-11-14 31817, 2009
luks
what do you need it for?
2009-11-14 31841, 2009
luks
just plain MusicBrainz::Server->new() would be probably wrong in a test
2009-11-14 31859, 2009
nikki
oh, I remember what I'd been wondering now...
2009-11-14 31823, 2009
warp
luks: yes, I understand that. but I always want something that works first, then worry about the right way to do things second.
2009-11-14 31823, 2009
nikki
luks: when you made the ngs design thing, did you put the dropdown before the input box for any particular reason?
2009-11-14 31817, 2009
luks
nikki: you mean in the search form?
2009-11-14 31820, 2009
warp
luks: I'm calculating the age (ticket #172), so I need to output '1 year', 'X years', etc.. want to put that through ngettext() available from $c.
2009-11-14 31836, 2009
nikki
er, yes
2009-11-14 31849, 2009
luks
nikki: no reason at all then
2009-11-14 31813, 2009
nikki hates when she misses out half of the details
2009-11-14 31806, 2009
luks
warp: I think a template should do that
2009-11-14 31834, 2009
nikki
ah, 'cause I was wondering if we could switch it round, since it always seems back to front to me
2009-11-14 31853, 2009
luks
nikki: I have no problem with changing it :)
2009-11-14 31843, 2009
warp
luks: a template just for formatting that string?
2009-11-14 31844, 2009
luks
warp: well, is the string used somewhere in perl code?