Friday, 2008-01-25

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** nash has quit IRC00:22
*** mithro has quit IRC01:49
*** mithro has joined #tp02:41
*** mithro has quit IRC03:29
*** zzorn has joined #tp03:57
*** mithro has joined #tp04:40
mithrohey people04:40
*** Epyon has joined #tp04:43
mithrohey Epyon, ping?05:01
JLPahoy *05:18
JLPmithro: pong05:19
mithrohey JLP05:27
mithroany luck translating?05:27
JLPmithro: I completed the translation of tpclient-pywx las night05:29
JLPmithro: I just couldn't make it to work05:29
mithrooh?05:32
mithrowhat was happening?05:32
JLPmithro: have no idea, like the client isn't even loading the translations05:32
mithrookay, where did you put the translation?05:39
mithrothey have to be compile after you do that?05:39
JLPmithro: usual place /usr/share/locale/sl/LC_MESSAGES/05:40
mithrothe po needs to turn to a mo or something?05:40
JLPmithro: yeah I know I compiled it with msgfmt05:40
mithrothe uninstalled version looks locally in05:40
mithrotpclient-pywx-dev/locale/sl05:40
mithrofrom what I understand05:41
JLPmithro: oh yeah, didn't think of that, i'll try05:41
mithroJLP: any luck?05:42
JLPmithro: nope, i put it next to *.po file but still not translated05:44
JLPmithro: should I have some extra python package installed for this?05:44
mithropython-gettext05:46
mithrobut if you don't have that installed05:46
mithroit should say05:46
mithroreason = "Without gettext support localisation will be disabled."05:46
mithrowhat is your locale setting?05:47
JLPhm, i don't get the error, locale is set to sl_SI.utf805:48
mithrowhat is sl_SI ?06:09
mithroas appose to sl_??06:09
JLPsl ... slovrnian language, SI .. Slovenia06:12
mithroahh okay06:14
mithrohrm...06:20
mithrocan you send me your latest .po and .mo files?06:20
mithroI think I have it figured out06:20
mithrocd  locale/sl06:21
mithroln -s . LC_MESSAGES06:21
mithrothen give it a go?06:21
JLPmithro: creating the link didn't help06:32
CIA-12jlp tpclient-pywx-development * r4982ed429124 /locale/sl/ (tpclient-pywx.mo tpclient-pywx.po): Updated Slovenian translation06:36
mithroJLP: hrm. this is annoying because it use to work06:52
mithroany change you could track down what change in the locale stuff?06:52
JLPmithro: i'm afraid i can't think of anything that i did differently, all other applications work fine, so i also don't see any reason why tpclient-pywx couldn't find the translation in standard folder07:03
mithrodo you some bits translated?07:05
mithro(like the stock buttons07:05
JLPmithro: yeah the buttons are translated, like OK > V redu and similar07:05
mithroI think it is because the translation is loaded after the xrc07:21
mithrowell I managed to get it translated now07:29
JLPawsome07:32
mithrothe locale is being loaded too late07:32
mithrobut I think the fix breaks mac07:32
CIA-12mithro tpclient-pywx-development * r8661304e59d4 /requirements.py: Fixed the localization under Linux - need to check it doesn't break MacOS.07:39
mithroJLP: give that a try07:40
JLPmithro: it works now :)07:43
JLPalthough some stuff is not translated, like Verses and other stuff from the menus above the skymap07:44
JLPand it looks like the translated Fit and Fram now don't work07:44
mithrooh?07:49
mithroI need a little bit more info07:49
mithroahh07:50
mithroI see07:50
mithroJLP: here is how to fix it07:50
mithrofind where the string is use in python07:50
mithrothen wrap it in _()07:50
mithroso for example07:50
mithrochange the "Verses" into _("Verses")07:50
JLPmithro: ok cool, will go thru it07:52
JLPmithro: what about the strings from the zoom menu07:52
mithrothey will be listed somewhere too...07:53
JLPhere the expected returned string is probably in english but it should be translated for view07:53
mithrojust as long as you translate it everywhere it may still work08:16
mithroJLP: have a play08:54
*** JLP has quit IRC09:02
*** remaxim has joined #tp10:11
*** remaxim has left #tp10:54
*** remaxim has joined #tp10:54
*** Demitar has quit IRC12:24
*** remaxim has left #tp13:24
*** remaxim has joined #tp13:24
*** Erroneous has joined #tp13:28
*** mithro has quit IRC13:28
tpbaloril has quit worldforge (Remote host closed the connection)14:06
*** remaxim has left #tp14:12
tpbaloril has joined on worldforge14:12
*** peres has joined #tp15:52
*** greywhind has quit IRC17:33
zzornHi18:23
zzornIs tpb some bot?18:23
*** zzorn_ has joined #tp18:32
*** CIA-12 has quit IRC18:41
*** zzorn has quit IRC18:49
*** CIA-13 has joined #tp18:49
*** Demitar has joined #tp18:51
*** tuna has quit IRC19:22
*** peres has left #tp19:57
*** zzorn_ has quit IRC20:45
*** zzorn has joined #tp20:49
*** Erroneous has quit IRC20:52
*** Epyon has quit IRC21:07
*** mithro has joined #tp22:51
mithrohey people22:52
mithrobit empty in here today22:52
jothamhey mithro22:56
mithrohey :)22:56
jothamam dicking with the event system and trying to find gui stuff22:57
jothamfor pyglet22:57
mithrocool23:02
mithrojotham: think you'll have anything to show in the near future?23:03
jothamdunno, i am moving out soon23:03
jothamand i don't have a new place to live23:03
*** greywhind_ has joined #tp23:19
mithrohey greywhind_23:19
greywhind_hey mithro23:19
mithroI need you to test some stuff for me23:20
greywhind_nick greywhind23:20
*** greywhind_ is now known as greywhind23:20
mithroI think I broke the client under MacOS X23:20
greywhindyeah?23:20
greywhindlet me see23:20
greywhindmithro: yep23:22
greywhindhttp://rafb.net/p/hJBYmj29.html (12 lines)23:22
tpbTitle: Nopaste - No description (at rafb.net)23:22
mithronow we have a problem :(23:22
mithrobasically if I load the translation stuff where you put it in the __init__ not everything gets translated23:23
greywhindmithro: well, i worked for a couple hours on the sorting problem with IdleFinder... but i still can't get the names to sort correctly. the ID sort and the "type of object" sort work, but not the names23:24
greywhindwhat's odd is that the names and "type of object" sorts use the same comparison method23:24
mithrogreywhind: did you look at some of the howtos on the wxWiki?23:29
greywhindmithro: i did a general search, but i don't think i looked at the wiki23:29
mithrohttp://wiki.wxpython.org/Recipes_L10n_I18n_-_How_to_sort_ListCtrl_items_under_a_locale.?highlight=%28sort%2923:29
tpb<http://ln-s.net/1SPC> (at wiki.wxpython.org)23:29
mithromaybe that might help?23:29
mithrothis might work too23:31
mithrohttp://mail.python.org/pipermail/python-list/2004-October/286315.html23:31
tpb<http://ln-s.net/1SPD> (at mail.python.org)23:31
mithrooh and23:32
mithrohttp://www.wxpython.org/docs/api/wx.lib.mixins.listctrl.ColumnSorterMixin-class.html23:32
tpb<http://ln-s.net/1SPF> (at www.wxpython.org)23:32
greywhindmithro: i think i can figure it out now23:32
greywhindmithro: thanks for the links23:32
mithrogreywhind: okay cool23:32
mithrodo you have some time for some interactive debugging of the locale stuff?23:33
greywhindmithro: can you give me a minute?23:34
mithrookay23:34
greywhindmithro: just need to reset some stuff23:34
greywhindmithro: ok. everything is updated, and the client won't start.23:35
greywhindmithro: and i have no local changes23:36
mithrookay23:36
mithrocan you change line 101 in requirements to False23:36
mithroand see if it starts?23:37
greywhindmithro: it does.23:37
mithrookay23:39
mithronow try the following23:39
mithroLANG=sl_SI.UTF-8 ./tpclient-pywx23:39
mithroand see if any of the resulting text is translated23:39
greywhindmithro: doesn't look like anything is translated23:41
mithrookay23:41
greywhindmithro: i should warn you that i removed pretty much all localization from my computer23:41
mithrogreywhind: well, I'm afraid we need to reinstall it then23:42
greywhindmithro: i'm afraid i can't23:42
mithrooh? why23:42
greywhindmithro: pretty sure i'd have to reinstall the OS to do so23:42
mithrohow did you uninstall them?23:43
greywhindmithro: i believe I used "Monolingual"23:43
mithrogreywhind: do you know if apple supports "language packs" which you can install?23:48
mithrowe just need 1 other langauge then english23:48
greywhindmithro: maybe23:48
mithroeven something silly like klingon :P23:49
greywhindmithro: i see a bunch of stuff about removing localization, but nothing about adding it23:51
mithrogreywhind: hrm, well I guess we will have to put that on hold then23:57
greywhindmithro: yeah, sorry23:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!