/srv/irclogs.ubuntu.com/2012/03/02/#ubuntu-translators.txt

dpmgood morning all08:18
TLEdpm: just saw the light themed doc viewer, awesome08:42
dpmTLE, cool :)08:42
TLEyou must have been busy yesterday, thanks08:42
dpmyeah, it was a bit of a crazy evening: hacking + going out to a concert + a bit more hacking + a few hours sleep :)08:43
dpmbut I succeeded!08:43
dpm:-)08:43
TLEI think I'll merge it right away and edit/comment out a few of the link in the top, and then we are good to go08:43
TLEsounds wild08:43
dpmok, cool08:43
TLEhow long did it take you08:44
dpmthe .css files should probably go inside a css folder, but I didn't change that for now, since then I would have had to change the regexp on the server to serve the static files08:44
dpmI'll change it eventually, but this morning I wasn't in regexp mood :)08:44
TLEyeah, we can do that later08:45
TLEahh that reminds me, I also have some regexp experiemntation lyiing around for the static files, but that will be next week08:45
TLEsomething I think should make them simpler08:45
dpmah, cool, I'm all for simplicity08:48
TLEdpm: hmm, there is something about the paths for the static files, from what I can see the {{ STATIC_URL }} does not return anything on either server, so you must have been fixing that from the Apache side09:01
TLE{{ STATIC_URL }} in the base template that is09:02
dpmTLE, ah, on the development server you'll need to enable the staticfiles app in INSTALLED_APPS for it to work IIRC09:07
dpmI think it's already there but commented out09:07
dpmit only works on django 1.3, though, as the staticfiles app was included in Django 1.2 or 1.3. But on django 1.1 (Lucid) I don't need it, as apache is serving the files09:09
TLEno I fixed that previously, that problem is that the paths for the files don't match with the paths as seen when they are served as static files09:09
TLEI'll look a little around09:10
dpmah, ok. Let me know if you want me to change anything in the server. Right now it's http://pastebin.ubuntu.com/864777/ on the server09:13
TLEAhh I can see that someone reported a few wishlist bugs agains the viewer :)09:25
dpmI wonder who that might be... :)09:31
dpmgood work on bug 944362 kelemengabor :)10:30
kelemengabor:)10:31
kelemengaborthat thing was spectacularly broken :)10:31
dpmbut there you where with your hammer to bring it up in shape :)10:32
TLEdpm: all right, I have made some small changes that will require a change in the AliasMatches and fixed bug: 94460310:36
TLEThe images for the css are now requested as e.g. /static/img/header.png10:36
TLEso I believe the AliasMatch should be changed to: AliasMatch /static/img/([^/]*\.png) /home/ubuntu/ul10ndocs/image_projects/static/img/$110:37
TLEit all pushed to lp:translated-documentation-screenshot-viewer (including your theming of course)10:39
dpmTLE, bummer, python-babel is not in the archive for Lucid. Do you know if it's available from a PPA?10:41
TLED'oh!10:41
TLEI also forgot to add it to the packages we check for in the settings10:42
TLEno I don't think so10:43
dpmno worries, I can't seem to find a PPA, unfortunately10:43
dpmTLE, would python-pyicu be an alternative? While I'd prefer installing a package on this server, I can manually install python-babel for now, but if this ever goes to a Canonical server, that won't fly, it will need to be a package10:47
TLEyeah I know, I was looking it just including babel in the archive10:48
TLElet me look at pyicu10:48
dpmseems easy enough to use http://pypi.python.org/pypi/PyICU10:49
dpmfrom icu import Locale10:50
dpmlocale = Locale('pt_BR')10:50
dpmlocale.getDisplayName()10:50
dpmu'Portuguese (Brazil)'10:50
TLEok, 2 sek10:50
TLEhave to go to lunch now, but it is almost fixed10:58
TLEah nevermind, fixed in rev 2011:04
TLEdpm: ^"11:04
TLEand now pizza (or the closest Danish approximation)11:04
dpmenjoy! :-)11:05
=== bulldog98_ is now known as bulldog98
dpmTLE, it looks good now, but for some reason the country names appear in lowercase -> http://176.34.113.223/ubuntudocs-devel/11:14
dpmcommented on the bug too, there was some issue with PyICU vs. icu, but I've fixed it locally on the server11:20
TLEthey appear capatalized when I look at it11:41
TLEit is wierd because I specifically ask python to capitalize the name, because they come out uncapitalized11:43
TLEdid the AliasMatch with the new paths work?11:43
TLEdpm: ^^11:44
jincreatorHi, has anyone know how to translate Unity menu of Firefox? I can't find page in Launchpad...11:55
TLEdpm: I have fixed the import and also no hover highlighting on the porjects page: rev: 2212:00
=== danilo_ is now known as danilos
TLEloading the precise beta, bbl12:39
dpmTLE, pulled r2213:43
dpmjincreator, which Unity menu? The quicklist? (i.e. what appears on the launcher when you right click on it)13:44
dpmTLE, I didn't have to change the AliasMatch, as as I was about to modify it, I noticed that the old one was still working13:45
dpmI think capitalize() only works with the first word of a sentence13:46
dpmso the country names remain in lowercase. At least here with Firefox and Chromium13:51
dpmTLE, it's weird, on the server, on the console, the names appear correctly capitalized, e.g. http://pastebin.ubuntu.com/865109/13:58
TLEahhhh yes, sorry, you wrote the country names, not the language names14:01
dpmTLE, try using .title() instead of .capitalize()14:11
dpmthat works in the server now14:11
dpmhttp://176.34.113.223/ubuntudocs-oneiric/14:12
jincreatordpm: Yes, I mean quicklist.14:12
jincreatorSorry for delay.14:13
dpmjincreator, no worries. You can follow the steps here: https://wiki.ubuntu.com/Translations/Wanted/FirefoxDesktop14:14
jincreatordpm: Ah, it's in wiki. Thanks!14:15
dpmnp :)14:15
TLEdpm15:11
TLEI changed to title, and thanks for the tip btw15:11
TLEhowever I noticed that there is a problem with the width of the localized screenshots because the page is now narrower15:12
dpmTLE, yeah, I saw that, but I think if the localized images have the right size it should be ok. I only saw it with the Serbian images: they committed images that were larger than the originals15:14
dpmdanilos, it's always the Serbian15:14
TLEyeah, the thing is that I shrink images that are too large, but I don't know which size to aim for, do you know off the top of your head what the width of the grid_12 box is15:15
TLEah aiming for 860 seems to do the trick15:18
dpmthe whole grid is 96015:19
dpmminus 10 on each side should make 940 - padding, off the top of my head15:19
dpmargh, the stats site is down and I don't know why :/15:20
TLEyeah, I think some space is used for something else, the size I put in now should work for the weekend15:20
TLEthen I can calculate it properly later15:20
TLEif you pull rev 23 it should contain both fixes15:20
TLEI'll send out the email and post to google+ and the wiki15:22
TLEunless you want me to wait untill you have a chance to look at the stats page15:23
dpmTLE, ok rev 23 pulled. Give me 15 min to look at the stats site. If I can't get it back online by then, please remove the note about the stats site on the e-mail15:24
TLEdpm: rgr15:31
TLEdpm: the question is, the https://wiki.ubuntu.com/UbuntuGlobalJam/ page looks like more of an overview. If I should create a subpage specifically for this jam and link to that from this page15:33
dpmTLE, no, don't worry about a subpage. We want to keep the front page simple, with a list of tasks. There is already a Jams/Translations subpage with more info15:34
danilosdpm, heh, I blame the Serbians as well!15:34
dpm;-)15:34
TLEdpm: yeah, but don't you think it'll be to bulky if I just paste the whole thing15:35
dpmTLE, I agree, I'd suggest putting just a summary, as in bullet points, not the whole explanation15:36
TLEactually I'll add them to the tasks session of the subpage15:41
TLEthat seems appropriate15:41
dpmok15:42
dpmTLE, feel free to send the e-mail removing the info about the stats page. It seems to be an issue with the public IP addresses in the Canonical cloud instances15:43
dpmI can always add a note later on15:43
dpmor... wait15:48
dpmgive me 5 mins more...15:48
dpmabout to sort it out, I think :)15:48
TLEto late15:52
TLEbut it doesn't matter, you can just reply to the email on the list and edit the google+ post15:52
dpmTLE, yeah no worries. Thanks for taking care of this, btw15:54
TLEnp, maybe you can give it a repost on FB, I don't have access to that15:56
dpmsure, btw I can give access to it to anyone in the utc team15:57
TLEah yeah15:57
TLEwill you post this one?16:00
dpmTLE, I can do, but I'm about to start a call, so it might take me a few mins...16:02
TLEno worries16:03
TLEI think I'll hit the friday bar, I'll check back in with IRC and mail later if there are any problems with any of it16:04
TLEafk16:06
jokerdinoheh no Tamil in here http://176.34.113.223/ubuntudocs-devel/17:18
jokerdino:(17:18
=== bulldog98_ is now known as bulldog98

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!