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

jokerdinohey dpm is the translation stats server down?08:14
dpmjokerdino, it seems it is, yes08:15
dpmlet me check what's going on08:15
jokerdinoah, i see08:16
dpmjokerdino, the server is back up, thanks for the heads up09:54
jokerdinodpm awesome thanks!09:56
jokerdinodpm, i think i have found two bugs here.10:01
jokerdinosorting by percent translated gives weird results10:01
dpmlet me check...10:01
dpmwhich page are you looking at?10:02
jokerdinohttp://91.189.93.77/stats/precise/ta10:02
jokerdinoand the other bug is that eog for tamil is fully translated, but it still says 3 remaining10:02
dpmjokerdino, ok, the first one is a bug, I'll have to investigate. The second one isn't: the stats are updated only once a day, as we're not getting more current data from Launchpad. That means the translations have been done, but the stats are not yet refreshed10:04
dpmI'll look into the ordering one, thanks a lot for helping with this!10:04
jokerdinodpm: it says the same in the launchpad page as well.10:05
jokerdinohttps://translations.launchpad.net/ubuntu/precise/+lang/ta the last one10:06
jokerdinoit's been like that since quite some time10:06
dpmjokerdino, ah, then it's a known bug in Launchpad: sometimes the stats don't update. Would you mind mentioning it on #launchpad?10:06
jokerdinooh, ok moving there10:07
dpmkelemengabor, we've been discussing this translation with our team: https://translations.launchpad.net/ubuntu/precise/+source/libgweather/+pots/libgweather/hu/+translate?batch=10&show=all&search=default_radar -> we translated it to a space in upstream, but LP shows it then as untranslated, as it's eating the space. I see in Hungarian you've translated it to '---'10:35
dpmDoes that not break things?10:36
dpmi.e. using '---' instead of ' '10:36
kelemengabordpm: good question10:36
kelemengaborwhere is this string used? Probably weather-applet, I use it on Lucid, and doesn't looks to be broken10:38
kelemengaborso maybe it has a sane default for such cases?10:39
dpmnot sure where it's used tbh, I haven't been using the weather-applet for quite a while10:41
dpmkelemengabor, I see the Hungarian team was busy this weekend too, over 400 strings translated :) http://91.189.93.77/stats/precise/hu11:11
kelemengabordpm: actually more, but some are not reviewed yet and a lot went into upstream Gnome :)11:12
dpmthe upstream ones will count when they're imported, good work!11:13
kelemengaborbtw, why are hours displayed on the horizontal axis? wouldn't days map better to data points (which are 1/day), in the longer term?11:14
dpmkelemengabor, yeah, I need to fix that, just haven't had the chance11:16
kelemengaborand now some priority setting!11:20
kelemengaborhttp://paste.ubuntu.com/869691/ that was short :(11:21
kelemengaborargh, it exported comments in the 4th column11:22
kelemengaborhttp://paste.ubuntu.com/869699/11:26
kelemengaborstill not better11:26
kelemengaborHTTP Error 400: Bad Request11:26
kelemengaborinput file was this: http://ubuntuone.com/4qe8pCR64h7VyZH44FGa7U11:30
kelemengabor$ translations-set-pot-priority -l -v -p 7200 -s gnome-online-accounts -t gnome-online-accounts11:32
kelemengabor(snip)11:32
kelemengaborERROR: priority must be within the 0-9999 range. You specified 720011:32
kelemengaboras we say in my country: and now this how?11:33
kelemengabordpm: any clue?11:34
dpmkelemengabor, weird give me 15 mins and I'll have a look11:35
kelemengaborthanks!11:35
dpmkelemengabor, ok, not yet fixed, but with the latest timestamp now days appear: http://91.189.93.77/stats/precise/hu12:09
kelemengaborbetter :)12:10
dpmkelemengabor, ok, sorted. It will still take a while to build the PPA with the fixes. Would you mind doing a 'bzr branch lp:ubuntu-l10n-tools' and running the tools from the bzr branch until then?12:37
kelemengaborsure, in a few minutes12:38
dpmcool12:38
dpmnotice that staging does not seem to work right now12:39
dpmbut I think it should be safe to use production. I've just changed this one and it worked well:12:39
dpmhttps://api.launchpad.net/1.0/ubuntu/precise/+source/gnome-online-accounts/+pots/gnome-online-accounts12:39
dpmin any case, that's for a single one. If you're using a csv file, you might want to test first with a file that contains only one or two entries, and see if that works before feeding it a big file12:40
kelemengabordpm: still not good: http://paste.ubuntu.com/869801/12:56
kelemengaborI have built a deb package from the branch, and I get this with a small csv12:57
dpmkelemengabor, can you run it with -d instead of -v? I.e. debug instead of verbose12:57
dpmand then paste the output12:57
kelemengaborsur12:57
kelemengabore12:57
dpm:12:57
dpm)12:57
dpmthanks :)12:57
kelemengabor$ translations-set-pot-priority -d -f temptest.csv12:58
kelemengabor2012-03-05 13:57:59,277 INFO Logging in to Launchpad...12:58
kelemengabor2012-03-05 13:58:01,121 DEBUG Use staging: False12:58
kelemengabor2012-03-05 13:58:01,122 DEBUG Specified releases: precise12:58
kelemengaborTraceback (most recent call last):12:58
kelemengabornot much more :(12:59
kelemengabortraceback is the same12:59
dpmkelemengabor, are you sure it's the exact same traceback? Could you paste the full output on pastebin.u.c?13:30
dpmargh, no worries, I see what's happening13:34
dpmkelemengabor, ok, try to pull now and see if it's any better. If it doesn't work and you could paste somewhere the csv file you're using, I'll try to run it myself13:38
kelemengaborokay, it's building now13:42
kelemengabordpm: new error: http://paste.ubuntu.com/869877/13:52
dpmkelemengabor, it seems that template does not exist in precise: https://api.launchpad.net/1.0/ubuntu/precise/+source/networkmanager-pptp/+pots/networkmanager-pptp13:53
kelemengaborhttps://translations.launchpad.net/ubuntu/precise/+source/network-manager-pptp/+pots/networkmanager-pptp13:53
kelemengaborlooks pretty existing...13:53
dpm:)13:54
dpmweird, it seems non-existing to LP13:54
dpmthere is a typo in the source package in the csv file13:55
dpmit needs to be 'network-manager'13:56
dpmwell 'network-manager-pptp'13:56
kelemengaborUbuntu             Precise (12.04)             Translations             “network-manager-pptp” source package             Template “networkmanager-pptp”13:57
kelemengaborhm, but it looks to be good, source is with hyhphen, template is without13:57
dpmthen perhaps the script reads them incorrectly? Just a sec13:59
dpmkelemengabor, can you paste the csv file somewhere?13:59
kelemengaborit's at the end of the prevoius paste14:00
kelemengaborline 4114:00
kelemengaborstrange, I have tried removing it, and leaving aisleriot only14:01
dpmah, gotcha, thanks14:01
kelemengaborit didn't crash, but didn't set the priority either14:02
kelemengaborhttps://translations.launchpad.net/ubuntu/precise/+source/aisleriot/+pots/aisleriot/+edit - still has 0 but I got this:14:03
kelemengabor$ translations-set-pot-priority -d -f temptest.csv14:03
kelemengabor2012-03-05 14:58:44,735 INFO Logging in to Launchpad...14:03
kelemengabor2012-03-05 14:58:55,232 DEBUG Use staging: False14:03
kelemengabor2012-03-05 14:58:55,232 DEBUG Specified releases: precise14:03
kelemengabor2012-03-05 14:58:56,496 DEBUG API URL: https://api.launchpad.net/1.0/ubuntu14:03
dpmkelemengabor, I think that's because the tool expects the first line to be the csv file headers14:04
dpmlook at the help output of 'translations-set-priority -h'14:04
kelemengabornah, it even expects headers?14:04
kelemengaborokay, I have added it, has not reported any problems14:06
kelemengaborhttps://translations.launchpad.net/ubuntu/precise/+source/network-manager-pptp/+pots/networkmanager-pptp/+edit14:06
kelemengaborsuccess!14:06
kelemengaborhttps://translations.launchpad.net/ubuntu/precise/+source/aisleriot/+pots/aisleriot/+edit14:07
kelemengaborhere too14:07
dpmexcellent, yeah, the same here :)14:07
dpmok, I guess you can try now with the big file and report on the next #fail :)14:08
kelemengaborokay14:08
kelemengaborbtw, how did Andrej get the list of templates with 0 priority?14:13
kelemengaborwe will soon need a new one, I think14:14
kelemengaborokay, it finished the run. there is like 20 templates left with 0 priority14:16
kelemengaboractually, I'd also like to get the list of all the templates and their priority. it would be interesting to see how many of them are on the CD and have low priority14:19
dpmkelemengabor, you can get that info from https://translations.launchpad.net/ubuntu/precise/+templates - or did you mean something else?14:25
kelemengaboryes, a more spreadsheet-friendly form :)14:26
kelemengaboror is it just a matter of copy-pasting?14:26
dpmkelemengabor, I think for now it's rather copy-pasting, as it would require some extra work to put it on a script to generate that output. But from reordering the priority column on that page, I see that there are only a bunch of templates with 0 priority now14:28
dpmas you mentioned14:28
dpmafaik, andrejz copied and pasted from the templates list into the spreadsheet14:29
dpmso he probably ordered the list, copied those with 0 priority and then pasted14:29
dpmI wonder why gnome-screenshot had 0 priority. I would have thought we set it a while ago14:37
dpmah, it's the command-line tool, that's why14:38
* dpm sets it to 10014:38
dpmactually, 100014:39
dpmkelemengabor, I think now we've got the most important priorities set with the CSV file. I had an action to set priorities, so I'll tick off my part in there. If you want to set them more finely-grained, I'll leave it up to you. Does that sound ok?14:44
kelemengaboryes, thanks for the help14:44
kelemengaborI have the remaining templates listed on a separate sheet, will set them soon too14:45
jokerdinohey, string freeze is active right?14:46
dpmkelemengabor, cool, thanks14:49
dpmjokerdino, yes, it is14:49
jokerdinoi see, thanks.14:50
kelemengabordpm: and how do we enforce it? I see 3 untranslated strings in update-manager, which were not there yesterday14:50
jokerdinoi did a quick calculation and our team needs about 6k strings to translate before Tamil will be included.14:51
* jokerdino looks for the translation deadline14:51
jokerdinoapril 19th if i looked at the right place.14:52
dpmkelemengabor, was not there an exception request for update-manager a few days ago?14:52
jokerdinoi remember there was. for update manager14:53
kelemengaborI see, there was14:53
kelemengaborrather an announcement, but will do14:54
dpm:)14:54
kelemengaborwhat I'm trying to say, without a notification system like the one Gnome has, I don't know how could we detect freeze breaks. and even if so, can we say "too late, please undo it"?14:56
kelemengabornot like I'd want to say such things, but what's the point anyway?14:58
dpmwe can say "please undo it" if necessary. There is a bug for each freeze exception (and if there isn't it can be filled to indicate that there has been an unannounced break) and the translations team can comment and say -1, although the release team has got the final say. That doesn't answer the question on the notification system, as I don't really have an answer. It would probably be possible to set up a notification system, but that would requi15:06
dpmre some work, and unless someone steps up to do it, or to start planning it I cannot see it happening.15:06
dpmwith the new stats page I could probably do something though...15:06
dpmlike storing the total number of strings and send an e-mail if that changes15:07
dpmor detecting the total on a template-by-template basis15:08
dpmright now I'm deleting the template info from the database, as it's much simpler than trying to keep the template names, source packages and domains with Launchpad15:09
dpmbut I could also update them rather than deleting them, and keep track of changes in the total strings from each template15:10
=== bulldog98_ is now known as bulldog98

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