*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** nash has quit IRC | 00:22 | |
*** mithro has quit IRC | 01:49 | |
*** mithro has joined #tp | 02:41 | |
*** mithro has quit IRC | 03:29 | |
*** zzorn has joined #tp | 03:57 | |
*** mithro has joined #tp | 04:40 | |
mithro | hey people | 04:40 |
---|---|---|
*** Epyon has joined #tp | 04:43 | |
mithro | hey Epyon, ping? | 05:01 |
JLP | ahoy * | 05:18 |
JLP | mithro: pong | 05:19 |
mithro | hey JLP | 05:27 |
mithro | any luck translating? | 05:27 |
JLP | mithro: I completed the translation of tpclient-pywx las night | 05:29 |
JLP | mithro: I just couldn't make it to work | 05:29 |
mithro | oh? | 05:32 |
mithro | what was happening? | 05:32 |
JLP | mithro: have no idea, like the client isn't even loading the translations | 05:32 |
mithro | okay, where did you put the translation? | 05:39 |
mithro | they have to be compile after you do that? | 05:39 |
JLP | mithro: usual place /usr/share/locale/sl/LC_MESSAGES/ | 05:40 |
mithro | the po needs to turn to a mo or something? | 05:40 |
JLP | mithro: yeah I know I compiled it with msgfmt | 05:40 |
mithro | the uninstalled version looks locally in | 05:40 |
mithro | tpclient-pywx-dev/locale/sl | 05:40 |
mithro | from what I understand | 05:41 |
JLP | mithro: oh yeah, didn't think of that, i'll try | 05:41 |
mithro | JLP: any luck? | 05:42 |
JLP | mithro: nope, i put it next to *.po file but still not translated | 05:44 |
JLP | mithro: should I have some extra python package installed for this? | 05:44 |
mithro | python-gettext | 05:46 |
mithro | but if you don't have that installed | 05:46 |
mithro | it should say | 05:46 |
mithro | reason = "Without gettext support localisation will be disabled." | 05:46 |
mithro | what is your locale setting? | 05:47 |
JLP | hm, i don't get the error, locale is set to sl_SI.utf8 | 05:48 |
mithro | what is sl_SI ? | 06:09 |
mithro | as appose to sl_?? | 06:09 |
JLP | sl ... slovrnian language, SI .. Slovenia | 06:12 |
mithro | ahh okay | 06:14 |
mithro | hrm... | 06:20 |
mithro | can you send me your latest .po and .mo files? | 06:20 |
mithro | I think I have it figured out | 06:20 |
mithro | cd locale/sl | 06:21 |
mithro | ln -s . LC_MESSAGES | 06:21 |
mithro | then give it a go? | 06:21 |
JLP | mithro: creating the link didn't help | 06:32 |
CIA-12 | jlp tpclient-pywx-development * r4982ed429124 /locale/sl/ (tpclient-pywx.mo tpclient-pywx.po): Updated Slovenian translation | 06:36 |
mithro | JLP: hrm. this is annoying because it use to work | 06:52 |
mithro | any change you could track down what change in the locale stuff? | 06:52 |
JLP | mithro: 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 folder | 07:03 |
mithro | do you some bits translated? | 07:05 |
mithro | (like the stock buttons | 07:05 |
JLP | mithro: yeah the buttons are translated, like OK > V redu and similar | 07:05 |
mithro | I think it is because the translation is loaded after the xrc | 07:21 |
mithro | well I managed to get it translated now | 07:29 |
JLP | awsome | 07:32 |
mithro | the locale is being loaded too late | 07:32 |
mithro | but I think the fix breaks mac | 07:32 |
CIA-12 | mithro tpclient-pywx-development * r8661304e59d4 /requirements.py: Fixed the localization under Linux - need to check it doesn't break MacOS. | 07:39 |
mithro | JLP: give that a try | 07:40 |
JLP | mithro: it works now :) | 07:43 |
JLP | although some stuff is not translated, like Verses and other stuff from the menus above the skymap | 07:44 |
JLP | and it looks like the translated Fit and Fram now don't work | 07:44 |
mithro | oh? | 07:49 |
mithro | I need a little bit more info | 07:49 |
mithro | ahh | 07:50 |
mithro | I see | 07:50 |
mithro | JLP: here is how to fix it | 07:50 |
mithro | find where the string is use in python | 07:50 |
mithro | then wrap it in _() | 07:50 |
mithro | so for example | 07:50 |
mithro | change the "Verses" into _("Verses") | 07:50 |
JLP | mithro: ok cool, will go thru it | 07:52 |
JLP | mithro: what about the strings from the zoom menu | 07:52 |
mithro | they will be listed somewhere too... | 07:53 |
JLP | here the expected returned string is probably in english but it should be translated for view | 07:53 |
mithro | just as long as you translate it everywhere it may still work | 08:16 |
mithro | JLP: have a play | 08:54 |
*** JLP has quit IRC | 09:02 | |
*** remaxim has joined #tp | 10:11 | |
*** remaxim has left #tp | 10:54 | |
*** remaxim has joined #tp | 10:54 | |
*** Demitar has quit IRC | 12:24 | |
*** remaxim has left #tp | 13:24 | |
*** remaxim has joined #tp | 13:24 | |
*** Erroneous has joined #tp | 13:28 | |
*** mithro has quit IRC | 13:28 | |
tpb | aloril has quit worldforge (Remote host closed the connection) | 14:06 |
*** remaxim has left #tp | 14:12 | |
tpb | aloril has joined on worldforge | 14:12 |
*** peres has joined #tp | 15:52 | |
*** greywhind has quit IRC | 17:33 | |
zzorn | Hi | 18:23 |
zzorn | Is tpb some bot? | 18:23 |
*** zzorn_ has joined #tp | 18:32 | |
*** CIA-12 has quit IRC | 18:41 | |
*** zzorn has quit IRC | 18:49 | |
*** CIA-13 has joined #tp | 18:49 | |
*** Demitar has joined #tp | 18:51 | |
*** tuna has quit IRC | 19:22 | |
*** peres has left #tp | 19:57 | |
*** zzorn_ has quit IRC | 20:45 | |
*** zzorn has joined #tp | 20:49 | |
*** Erroneous has quit IRC | 20:52 | |
*** Epyon has quit IRC | 21:07 | |
*** mithro has joined #tp | 22:51 | |
mithro | hey people | 22:52 |
mithro | bit empty in here today | 22:52 |
jotham | hey mithro | 22:56 |
mithro | hey :) | 22:56 |
jotham | am dicking with the event system and trying to find gui stuff | 22:57 |
jotham | for pyglet | 22:57 |
mithro | cool | 23:02 |
mithro | jotham: think you'll have anything to show in the near future? | 23:03 |
jotham | dunno, i am moving out soon | 23:03 |
jotham | and i don't have a new place to live | 23:03 |
*** greywhind_ has joined #tp | 23:19 | |
mithro | hey greywhind_ | 23:19 |
greywhind_ | hey mithro | 23:19 |
mithro | I need you to test some stuff for me | 23:20 |
greywhind_ | nick greywhind | 23:20 |
*** greywhind_ is now known as greywhind | 23:20 | |
mithro | I think I broke the client under MacOS X | 23:20 |
greywhind | yeah? | 23:20 |
greywhind | let me see | 23:20 |
greywhind | mithro: yep | 23:22 |
greywhind | http://rafb.net/p/hJBYmj29.html (12 lines) | 23:22 |
tpb | Title: Nopaste - No description (at rafb.net) | 23:22 |
mithro | now we have a problem :( | 23:22 |
mithro | basically if I load the translation stuff where you put it in the __init__ not everything gets translated | 23:23 |
greywhind | mithro: 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 names | 23:24 |
greywhind | what's odd is that the names and "type of object" sorts use the same comparison method | 23:24 |
mithro | greywhind: did you look at some of the howtos on the wxWiki? | 23:29 |
greywhind | mithro: i did a general search, but i don't think i looked at the wiki | 23:29 |
mithro | http://wiki.wxpython.org/Recipes_L10n_I18n_-_How_to_sort_ListCtrl_items_under_a_locale.?highlight=%28sort%29 | 23:29 |
tpb | <http://ln-s.net/1SPC> (at wiki.wxpython.org) | 23:29 |
mithro | maybe that might help? | 23:29 |
mithro | this might work too | 23:31 |
mithro | http://mail.python.org/pipermail/python-list/2004-October/286315.html | 23:31 |
tpb | <http://ln-s.net/1SPD> (at mail.python.org) | 23:31 |
mithro | oh and | 23:32 |
mithro | http://www.wxpython.org/docs/api/wx.lib.mixins.listctrl.ColumnSorterMixin-class.html | 23:32 |
tpb | <http://ln-s.net/1SPF> (at www.wxpython.org) | 23:32 |
greywhind | mithro: i think i can figure it out now | 23:32 |
greywhind | mithro: thanks for the links | 23:32 |
mithro | greywhind: okay cool | 23:32 |
mithro | do you have some time for some interactive debugging of the locale stuff? | 23:33 |
greywhind | mithro: can you give me a minute? | 23:34 |
mithro | okay | 23:34 |
greywhind | mithro: just need to reset some stuff | 23:34 |
greywhind | mithro: ok. everything is updated, and the client won't start. | 23:35 |
greywhind | mithro: and i have no local changes | 23:36 |
mithro | okay | 23:36 |
mithro | can you change line 101 in requirements to False | 23:36 |
mithro | and see if it starts? | 23:37 |
greywhind | mithro: it does. | 23:37 |
mithro | okay | 23:39 |
mithro | now try the following | 23:39 |
mithro | LANG=sl_SI.UTF-8 ./tpclient-pywx | 23:39 |
mithro | and see if any of the resulting text is translated | 23:39 |
greywhind | mithro: doesn't look like anything is translated | 23:41 |
mithro | okay | 23:41 |
greywhind | mithro: i should warn you that i removed pretty much all localization from my computer | 23:41 |
mithro | greywhind: well, I'm afraid we need to reinstall it then | 23:42 |
greywhind | mithro: i'm afraid i can't | 23:42 |
mithro | oh? why | 23:42 |
greywhind | mithro: pretty sure i'd have to reinstall the OS to do so | 23:42 |
mithro | how did you uninstall them? | 23:43 |
greywhind | mithro: i believe I used "Monolingual" | 23:43 |
mithro | greywhind: do you know if apple supports "language packs" which you can install? | 23:48 |
mithro | we just need 1 other langauge then english | 23:48 |
greywhind | mithro: maybe | 23:48 |
mithro | even something silly like klingon :P | 23:49 |
greywhind | mithro: i see a bunch of stuff about removing localization, but nothing about adding it | 23:51 |
mithro | greywhind: hrm, well I guess we will have to put that on hold then | 23:57 |
greywhind | mithro: yeah, sorry | 23:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!