/srv/irclogs.ubuntu.com/2011/05/30/#ubuntu-translators.txt

=== braiam is now known as cap_nemo
=== cap_nemo is now known as braiam
=== braiam is now known as cap_nemo
=== cap_nemo is now known as braiam
dpmgood morning all08:20
andrejzgood morning08:36
dpmmorning andrejz :)08:42
andrejzi have a couple of questions about import queue but will ask you in about half an hour08:43
andrejzneed to do something work related before that08:43
dpmok, cool, yeah, ask whenever :)08:51
RawChidGood morning09:00
andrejzGood morning RawChid09:10
RawChidHi andrejz09:12
RawChidHow is the "template priority thing" going?09:13
andrejz@RawChid: I am already done with it :) About 10 packages with new names appeared in oneiric, so i have to only sort those out09:20
andrejzNow i am working on the import queue09:22
andrejzi started on friday and there were 219 items in need review and now tehre are only 102 left09:24
dpm\o/09:25
RawChidGood work :)09:25
andrejzsome of them are there normally (they linger there for a day or two before they get imported) so actual value is lower09:26
RawChiddpm, I see launchpadmanager in the code. But that file/class doesn't exist. Is it something you didn't copied yet, or is it to be built?09:31
RawChidI don't know where to find it, already looked in some other branches09:34
dpmRawChid, err, sorry, I moved it to another folder and it seems I forgot to commit the change :( - anyway, it's online now, you can find it by pulling the latest commit, thanks for the heads up! :)09:43
RawChidAhh great. I discovered something about the search tool09:48
RawChidWhen searching in dutch translations, it didn't worked before I login (into Gnome) once with a user using Dutch09:49
RawChidSo the lang pakcs getting copied or something09:49
dpmRawChid, I'm not sure what you mean by "login into GNOME". The only thing the tool does is to search the translations in the .mo files in /usr/share/locale-langpack09:55
dpmoh, I think I see what you mean now...09:56
dpmthe tool, when called with no arguments,09:56
dpmdetects the language of your session09:56
dpmand searches for that language09:56
dpmbut you can specify a language explicitly in the command line09:57
RawChidYes, I know09:57
RawChidAlready checked it. But I suspect the /usr/share/locale* dirs getting filled the first time a user logs in09:58
dpmRawChid, I'm not sure what you mean there. Those dirs are filled when the system installs (or when someone installs a new language)10:08
RawChidHmm, I had it last weekend on another system. Can't re-check it right now. Maybe I did something wrong. For the time being not very interesting10:12
dpmok :)10:14
andrejzok dpm, now it's my turn to bug you :)10:25
andrejzmy first question is how to find out if a package is in main10:26
andrejzfor example tehre are many postgresql related packages with need review status10:26
andrejzdpm, are you thre?11:06
dpmhi andrejz, I'm here now13:06
dpmall templates that end up in the imports queue are in main13:07
dpmas we're only allowing main imports for now13:07
andrejzok, cool13:08
andrejznext question ;)13:08
dpmhowever, sometimes templates get imported because they were in main,13:08
dpmand then they get demoted to universe13:08
dpmin those cases we need a way to see if they are in main/universe13:08
andrejzdoes it make sense import things such as gcc and postgresql, which are going to be used exclusively by more tehcnical users?13:08
dpmandrejz, I think it still makes sense, although I'd definitely give them a low priority. Generally, I haven't accepted gcc translations because they seem to come from different packages, and until now I haven't investigated what the right one is13:10
andrejzok will do13:10
andrejzand now for the third question, what to do with packages which include version number13:10
andrejzfor example13:10
andrejzgnome session13:10
andrejzin 11.04 there is gnome-session-2.013:10
andrejzbut now there is gnome-session-3.0 in import queue13:11
andrejzhow to use existing translations in such a case?13:11
dpmandrejz, I guess we'll have to do the same thing as in evolution13:11
andrejzthe same goes for gcc (gcc-4.5, gcc-4.6) and such13:11
andrejz@dpm: but there is important difference13:11
andrejzin that case we need to rename gnome-session-3.0 to gnome-session-2.0, which is incorrect13:12
andrejzevolution-3.0 > evolution is ok, gnome-session-3.0 > gnome-session-2.0 in not, IMO13:12
andrejzdo you undestrand my dilemma, dpm?13:13
dpmandrejz, good point. In that case, what do you think if we first rename 'gnome-session-2.0' in all distros to 'gnome-session', and then in oneiric only 'gnome-session-2.0' to 'gnome-session'?13:14
dpmlet me check out what the name was in other releases and if there ever was a 'gnome-session' template or 'gnome-session-1.0'...13:15
andrejzok13:15
dpmandrejz, ok, I've changed 'gnome-session-2.0' to 'gnome-session' to all releases from dapper to oneiric. Do you want to finish this off and approve the new 'gnome-session-3.0' template (and renaming it to 'gnome-session' before you press the button)?13:37
andrejzsure13:37
andrejzi should import the first file if there are several of the same files, correct?13:38
dpmandrejz, correct. If you import the first one, the auto-approver script in Launchpad will take care of the next ones in the queue13:45
andrejzcool13:46
andrejzfor gcc both 4.5 and 4.6 are in the import queue13:46
andrejzprobably only the newer version should be imported13:47
=== henninge is now known as henninge-lunch
andrejzdpm i suggest renaming of postgresql packages13:52
andrejzsince now they include version number13:52
andrejzso if i want to do that i should only change natty, correct?13:53
dpmandrejz, ok, let me have a look first...13:53
dpmandrejz, if we change template names, we should make sure we do it for all releases, since otherwise message sharing won't work (I know, it's a pain :( ). The other thing is that we should probably use version numbers in the case we're shipping two different versions of the software, which looking at https://translations.launchpad.net/ubuntu/oneiric/+templates seems to be the case in oneiric (postgresql 8.4 and 9.0). Let me check if the 8.4 templa14:02
dpmtes should remain active or not...14:02
dpmok, it seems that postgresql-8.4 has been demoted to universe, so I'll disable the 8.4 templates first of all14:03
dpm(in oneiric)14:04
dpmactually, there is no need to rename templates in previous versions14:06
dpmfor this particular package14:06
andrejzbut if we want to transfer the translations form previous versions names need to be the same14:08
dpmsince the 8.4 translations come from a postgresql-8.4 source package and the 9.0 ones from another. So since the templates are in different source packages translations won't be shared anyway. So the only thing we need to to is to disable all the 8.4 templates in oneiric and approve the 9.0 ones without a version number in the name (as you've already corectly been doing)14:08
andrejzok14:09
andrejzi also added postgresql in front of the name to make it clearer to translator where they come from14:09
dpmandrejz, yeah, that's a really good idea :)14:12
andrejzmost of the packages start with pg- prefix but not all14:12
dpmok, all 8.4 packages are disabled in oneiric now14:18
dpmandrejz, I've noticed xkeyboard-config is on the queue, although it had been approved before. After investigating it, I saw that in the admin page the path of the oneiric template in LP was different than the one in the import queue entry. The one in the import queue entry is the correct one (upstream changed it), so that one you can just approve as it is in the queue (after approving it, the existing template in LP will be updated with the new pa14:20
dpmth value)14:20
dpmbrb14:20
andrejzok14:24
dpmandrejz, the localechooser and choosemirror templates are part of debian-installer (they are just generated during the build), so they should be blocked rather than accepted. In general, all templares named templates.pot should be looked at first, because they can generally be blocked14:32
serfusdo typos in different languages (not the english source) should be filed as bugs?14:33
andrejzok, i looked at them and they made sense so i accepted them, wasn't aware they are a part of debian installer14:33
andrejz@serfus: sure. even better get in contact with your translation team directly and tell them about the bug14:34
=== henninge-lunch is now known as henninge
andrejzlist of reported bugs is not actively checked by all teams14:34
dpmbut they get notified when we assign the bugs to them14:34
serfusi think that typos should be dealt within a team,14:37
serfuswhat i mean is that i see no reason for a bug14:37
andrejz@sefus: we enourage everyone to just report bugs directly on the mailing list or our chat room, especially if it's something small since it causes extra overhead for everyone if it's reported in launchpad14:38
dpmserfus, we report them as bugs so that teams can be notified. Now if the reporter knows how to contact each translation team and does that, then there is no need to report the bug. But most people don't know/won't directly contact the translations teams14:38
andrejzat dpm just wrote what i was about to add :)14:39
dpm;)14:39
serfusroger that14:39
dpm:)14:42
dpmandrejz, for gcc we should keep the version number in the template name, since we're shipping both gcc-4.6 and gcc-4.514:42
andrejz is it possible to share translations between them in that case?14:43
andrejzi have disabled debian installer templates14:46
dpmandrejz, no, translations are only shared between the same source package and template. In this case they come from two different source packages. To be clear, though, message sharing will still happen for e.g. gcc-4.5 in all previous (and future) Ubuntu releases, and gcc-4.6 for all (future) releases14:46
andrejzok i get it14:46
dpmcool, yeah, thanks for disabling them. As I say, the 'templates.pot' templates are always suspect, and in most cases they should be blocked14:47
dpmthere is something else in gcc apart from the need to rename it, and this is why I hadn't approved the templates yet: there are several imports with the same template but a different path, and I'm not sure which one the right one is. Let me see if I can find out more...14:49
andrejzok, i will wait with gcc until i get more information14:55
dpmandrejz,15:09
dpm<dpm> hi doko, I'm looking at the translations imports queue in LP, and there are a couple of .pot templates coming from gcc which I'm not sure what to do with. They are the same template but come from different paths. My guess is that I should approve one (the one from src/) and block the other one (the one from src-spu/), could you please confim? They're these:15:09
dpm src/libcpp/po/cpplib.pot15:09
dpm src-spu/libcpp/po/cpplib.pot15:09
dpm<doko> dpm: ignore the src-spu one (only built on powerpc)15:09
dpm<dpm> doko, ok, cool, thanks15:09
dpmso we can block the src-spu templates in gcc and approve the others15:10
andrejzok, will do15:10
dpmandrejz, awesome, thanks15:10
andrejzdpm how long does it take for the script to import all newer templates with the same name15:12
andrejzdpm, can't find xkeyboard config, have you approved it before me?15:13
dpmandrejz, the same time it takes for it to import other new templates ~20 minutes if there is no load, ~1 day as a rule of thumb. xkeyboard-config: yeah, I had it opened on a tab, so I thought I might as well approve it :)15:14
andrejzi am naming gcc packages something like -"gcc-4.6-cpplib"15:15
andrejzdpm if i understand gcc 4.4. can be safely disabled in 11.10?15:16
dpmandrejz, apparently gcc-4.4 is still in main, so we need to keep it. As per renaming, in this particular case I'd not rename the templates, since it'd be too much work for too little gain (you'd need to rename all source packages and templates for all releases, and it's not an important template). I'd just stick to the naming we've been following until now (and I'm hoping it was consistent :)15:19
andrejzso just cpplib as suggested?15:20
dpmlet me think for a second...15:21
dpmso we've got these 3 templates: cpplib15:22
dpmgcc15:22
dpmlibstdcpp15:22
dpmfor gcc-4.4, gcc-4.5 and gcc-4.615:22
dpmso perhaps we should just attach the -4.4, -4.5 or -4.6 suffix to each of them15:23
andrejzok, sure15:24
dpmandrejz, if you're doing it, please do that only for the gcc-4.5 and gcc-4.6 source packages, which are new (had not been approved before). For gcc-4.4 we'll need to rename the templates in all series to make message sharing work, but15:25
dpmI don't want to do this manually, so let me see if I can extend the tool to set priorities to do renames as well15:26
serfusi would like to fix Bug #789567 as the fix is very easy, but i have no idea where to start... one of you knows and have some time to spare? ;-)15:26
ubot4`Launchpad bug 789567 in sessioninstaller (Ubuntu) (and 1 other project) "Typo string 38 (affects: 1) (heat: 6)" [Undecided,Confirmed] https://launchpad.net/bugs/78956715:26
dpmand let's leave the gcc-4.4 template name untouched, so that we remember they need to be changed15:26
andrejzok dpm15:26
dpmserfus, great :) So here's how you can start, if you're familiar with bzr. Run 'bzr branch sessioninstaller'15:27
dpmerr, sorry, typo:15:28
dpm    bzr branch lp:sessioninstaller15:28
serfusya :)15:29
serfusokay got it15:29
serfus(first time a bzr-ed this way)15:29
serfusdpm, what would the translation file look like?15:30
dpmserfus, the source file reference in launchpad tells you where in the source code this string comes from, but you can also search it manually. So now you can change directory to the sessioninstaller branch you've just checked out and run:15:37
dpm    grep -R -n --exclude *.po "opened and" *15:37
dpmthe output of this command will tell you in which file the original string comes from15:38
dpmso it seems it's the sessioninstaller/core.py file, on line 761, right?15:38
dpmeverything clear so far?15:38
serfusright15:40
serfusbut there is no such file or directory15:40
dpmthere is on my system, I've just checked out the branch and followed the steps as I was explaining15:41
dpmserfus, are you inside the sessioninstaller directory?15:42
dpmyou can open it in nautilus15:42
serfusyes15:42
serfusi am in nautilus15:42
dpminside there should be another 'sessioninstaller' directory15:42
serfuscould be i just don't see it15:42
dpmserfus, what exactly can't you see?15:43
serfusoh i see15:43
serfusmy bad15:43
serfus:)15:43
dpmok, no worries :) have you found the core.py file where the string comes from?15:43
serfusyes15:44
dpmif so, you can now open it with an editor, go to line 761 and fix the string15:44
dpmlet me know when you're done15:44
andrejzonly about 50 templates imported before 2011-05-29 remaining :)15:44
serfusdpm, done15:45
dpmandrejz, wow, cool :)15:45
andrejzdpm i will bug you again tommorow, i wan't to get it at least down to 30 before translations open15:46
dpmserfus, ok, now save the file in the editor and go back to the command line, where you should type 'bzr status' and then let me know what the output of the command line is15:46
dpmandrejz, excellent :)15:46
serfusmodified:15:47
serfus  sessioninstaller/core.py15:47
serfusarr dpm i have to leave now... thanks allot, i'll be back later and will continue15:49
dpmexcellent, now you can just commit your changes:15:49
dpm     bzr commit --fixes=lp:78956715:51
dpmThen you push the branch into LP:15:51
dpm    bzr push lp:~serfus/sessioninstaller/bug-78956715:52
dpmthen go to your https://code.launchpad.net/~serfus code page in LP, find the branch, click on it, and then click on the "Propose for merging" button15:54
dpmThis will submit your branch to the sessioninstaller developers to merge your changes.15:54
dpmAdditionally, you should go to bug 789567, click on "Link a related branch" and add the link to the branch15:55
ubot4`Launchpad bug 789567 in sessioninstaller (Ubuntu) (and 1 other project) "Typo string 38 (affects: 1) (heat: 6)" [Undecided,Confirmed] https://launchpad.net/bugs/78956715:55
dpmAnd that should be it :)15:55

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