Camelia, the Perl 6 bug

IRC log for #padre, 2010-02-16

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:17 teejay joined #padre
00:48 CSJewell Just a question: If I want a plugin registered, I currently have to bring up the Padre GUI, correct? There is no way to just run perl -MPadre -e"register_plugin PerlTidy" when I'm creating a dist?
00:49 CSJewell (It would be nice to have this ability)
00:51 Alias_ Define "Creating a dist"
00:57 CSJewell Along the lines of "Strawberry + Padre", or "Strawberry Perl Professional"
00:57 CSJewell That way, we can have included plugins activated at installation.
00:58 CSJewell Maybe it could be in a different module than the main Padre, but the idea is to provide a preconfigured Padre.
01:00 Alias_ hrm
01:01 Alias_ You can't really do that
01:01 Alias_ The decision whether or not to enable plugins by default is a per-user configuration issue
01:01 Alias_ There's no support for vendor configs
01:01 Alias_ We'd need to add specific support for it
01:02 CSJewell So, no such luck, at the moment...
01:02 Alias_ Nope
01:02 Alias_ We don't enable ANY plugins by default
01:02 Alias_ ... right now
01:03 CSJewell But vendor-config support could be added, hopefully.
01:03 Alias_ It could be
01:03 CSJewell You're being vague enough, I'm wondering if your next statement is that I'm going to have to do it.
01:04 Alias_ It's Padre, there is no roadmap
01:04 Alias_ If you have an itch...
01:05 CSJewell ... and enough unspent tuits...
01:06 CSJewell (That's my problem right now.)
01:07 CSJewell My tuits are committed for the next month or so... but I could always check it out and take a look.
01:08 CSJewell I know you aren't unbusy, either.
01:09 CSJewell Gotta go. Will be back in 4 hours or so.
01:28 Alias_ I'd say avoid the area, we've never done vendor stuff before, and I'm not sure where we'd put it.
02:09 cognominal joined #padre
03:40 ioan joined #padre
03:53 |Sno| joined #padre
03:59 Sno|Laptop joined #padre
04:08 ioan left #padre
04:09 ioan_ joined #padre
04:10 jazzanova joined #padre
04:59 szabgab Alias, CSJewell shouldn't this "vendor-config" be actually part of the "Padre::FirstRun" where a vendor could enable certain plugins on first run and/or set configurations?
05:00 szabgab Alias, Alias_ why are you twice?
05:08 Alias_ My machine at home must not have sleep'ed itself
05:08 Alias_ And yeah, I would think that Padre::FirstTime::Vendor would be some kind of logical place to put stuff
05:25 CSJewell2 joined #padre
06:06 Sewi joined #padre
06:07 Sewi gm
06:21 CSJewell szabgab: That's exactly what I was thinking of.
06:28 kaare joined #padre
06:33 pece joined #padre
06:36 waxhead joined #padre
06:43 marcela joined #padre
06:47 waxhead_ joined #padre
06:48 ecocode joined #padre
07:08 cognominal joined #padre
07:12 patspam joined #padre
07:13 patspam joined #padre
07:25 tsee joined #padre
08:27 danlucraft joined #padre
09:09 kgish joined #padre
09:17 pece joined #padre
09:21 sblandin joined #padre
09:21 sblandin Hello there... I need some help with plugin translation
09:23 sblandin left #padre
09:24 sblandin joined #padre
09:25 sblandin Sorry I accidentally close the chat window
09:25 sblandin So I need some help with Padre plugin translation
09:26 sblandin I usually use Poedit to edit translation
09:27 sblandin When I started Padre translation I opened the message.pot file
09:27 sblandin I started to edit it and I saved it with a .po extension
09:28 Sewi Sorry, busy, but: Use poedit
09:28 sblandin When Padre source get update, poedit is able to update the .po
09:28 sblandin I can't get the same behavior with many plugins
09:29 sblandin Poedit is not able to update catalog from plugin source... any hint?
09:29 Sewi catalog -> update from pot file
09:29 Sewi There is a update_messages_pot.pl (or so) in tools
09:30 sciurius sblandin: I can send you a script that I use, it may contain helpful hints.
09:31 sblandin How can I get the script?
09:31 pece joined #padre
09:33 waxhead sblandin, the script in tools?
09:33 sblandin update_pot_file.pl
09:33 waxhead svn check out trunk, tools is at the same level as Padre itself
09:34 waxhead sblandin, have you checked out the Padre source tree?
09:34 sblandin Yes I found update_pot_file.pl
09:34 waxhead sblandin, cool...
09:34 waxhead sblandin, what language are you doing?
09:34 sblandin Italian
09:35 waxhead sblandin, excellent!!
09:36 sblandin Thanks
09:37 sblandin bye
09:37 sblandin left #padre
09:49 marcela joined #padre
10:08 sblandin joined #padre
10:08 sblandin Here I am again
10:08 sblandin The pot updating script worked nicely
10:09 Hyppolit svn: r10800 | waxhead++ | http://padre.perlide.org/trac/changeset/10800
10:09 Hyppolit fixes error: method "IsChecked" on an undefined value {show_outline}
10:09 Hyppolit trunk/Padre/lib/Padre/Wx/
10:09 sblandin Now how can I install the development plugin in my development version of Padre?
10:09 waxhead sblandin, that's great...
10:10 waxhead sblandin, if you run the dev.pl script with -a it enables all plugins
10:10 sblandin thanks
10:11 waxhead sblandin, have you run the make process?  ie svn update trunk, then cd trunk/Padre and then perl Makefile.PL then make ( and if you want to make test ).  Just don't make install.. and hten you can run ./dev.pl -a
10:11 waxhead sblandin, don't forget to commit your changes to trunk either
10:12 sblandin Yes... I prefer to test it first
10:12 waxhead there's a translation report page that used to run all the time so you could see where the lanuages were at...
10:12 waxhead sblandin, fair enough... that's fine.. just checking
10:15 sblandin Mmmh the plugin is not localized...
10:16 sblandin I need to add something in the plugin source?
10:17 waxhead sblandin, I'm not really sure to be honest...
10:18 sblandin I'll check the wiki
10:18 waxhead sblandin, I think there's something on the wiki about it.. it needs a mo file or something?  And the strings should be using gettext or _T which is a convience method.. I think...
10:19 sblandin Poedit creates the .mo file
10:19 sblandin But Padre seems not to use it
10:20 waxhead sblandin, http://padre.perlide.org/t​rac/wiki/TranslationIntro
10:20 waxhead there's something about plugins down the page
10:25 sblandin It's present also a French version... but if switch from italian to French the plugin localisation is still in English
10:25 sblandin I am trying with Padre-Plugin-Alarm
10:27 waxhead sblandin, I'm not really sure how it all works to be honest...
10:28 sblandin Don't worry
10:28 sblandin me too ;-)
10:32 daxim joined #padre
10:34 sblandin TortoiseSVN don't see either my localisation as an item to add to trunk
10:34 waxhead sblandin, how did you check out trunk?
10:34 sblandin With Tortoise SVN
10:35 sblandin It shows me .po file as unversioned... and this right after all
10:35 sblandin My .po file never was in trunk
10:36 waxhead sblandin, can you add it?
10:36 sblandin Yes
10:37 waxhead sblandin, so you right click and go add...
10:37 Hyppolit svn: r10801 | sblandin++ | http://padre.perlide.org/trac/changeset/10801
10:37 Hyppolit Updated Padre::Plugin::Alarm Italian Translation
10:37 Hyppolit trunk/Padre-Plugin-Alarm/share/locale/
10:37 sblandin Done
10:37 waxhead that's it then.
10:37 waxhead :)
10:39 Alias_ joined #padre
10:39 sblandin Now I hope to be able to see it somehow
10:40 waxhead sblandin, see what?
10:40 waxhead the changes?
10:40 mmanso joined #padre
10:41 sblandin No the plugin translation inside Padre
10:41 waxhead sblandin, Umm.. try closing the Padre you're running and start it again..
10:42 sblandin Already done
10:42 sblandin I'll try to disable and reenable plugin
10:42 waxhead can't see the changes?
10:43 sblandin No
10:43 sblandin Alro reenabling does not work
10:43 waxhead I just updated trunk and saw the new po file
10:44 sblandin I vaguely remember that when I started Padre translation I had to modify a specific source file
10:44 sblandin To let know Padre that an Italian translation existed
10:44 waxhead sblandin, hmm...
10:44 sblandin But I can't remember Which
10:45 sblandin Maybe for plugin is the same
10:45 waxhead I get this error when I switched the language to italian... 21:44:20: Error: Cannot set locale to 'it_IT'.
10:45 waxhead oh.. but the menus have all changed!  :)
10:46 sblandin Yes... all padre interface is localized
10:46 sblandin Only plugins are not
10:46 waxhead I see that the menus have change to italian but the plugin for Alarm isn't...
10:46 sblandin Maybe also .mo file is needed
10:47 sblandin Yes that is the problem
10:48 waxhead sblandin, yep.. I think so: There is indeed a new method plugin_locale_directory() that your plugin can implement. It should return a directory where Padre can find the *.mo files for your plugin
10:48 waxhead as long as the .mo file is in the right place..
10:48 waxhead otherwise you can see it yourself using the above method
10:48 sblandin So I should commit also .mo file?
10:49 waxhead I guess I should think about localising the SVN Plugin...
10:49 waxhead sblandin, hang on...
10:49 sblandin OK
10:52 waxhead sblandin, you know I'm really not sure...
10:52 Sno|Laptop joined #padre
10:52 waxhead the wiki implies that you release a plugin with the .mo files, but since it's something that is done when you build the module I'm not sure the .mo files are commited to the source tree...
10:52 waxhead just the .po file
10:53 sblandin OK I am not developing plugin either... just translations
10:54 waxhead sblandin,  if you look at the start of make when you build padre from trunk you can see this:
10:54 waxhead pete@owl:~/Programming/Perl/Padre/trunk/Padre$ make
10:54 waxhead Installing blib/lib/auto/share/dist/Padre/locale/it-it.po
10:54 waxhead Installing blib/lib/auto/share/dist/Padre/locale/messages.pot
10:54 waxhead blib/lib/auto/share/dist/Padre/locale -> blib/lib/auto/share/dist/Padre/locale
10:54 waxhead -blib/lib/auto/share/dist/​Padre/locale/messages.pot
10:54 waxhead so building must create the mo files...
10:55 sblandin So I should re-make my development ersion of Padre
10:56 waxhead sblandin, yes,if you want to see the changes you made in padre itself.. not the plugins...
10:56 waxhead the plugins are a bit different..
10:57 waxhead I guess you could run the make or build on the plugin itself... don't know that it would do the right thing though
10:58 sblandin I'll Try
10:59 sblandin Now I discvered some string I missed from Padre translation
10:59 waxhead sblandin, cool1
10:59 waxhead !
10:59 waxhead even
10:59 sblandin I finish them then I'll try with plugin
11:00 sblandin If you use Italian translation you can see language names are still in english
11:11 Hyppolit svn: r10802 | sblandin++ | http://padre.perlide.org/trac/changeset/10802
11:11 Hyppolit Updated Padre Italian Translation
11:11 Hyppolit trunk/Padre/share/locale/
11:16 sblandin Mmmh... I launched plugin Makefile.PL
11:16 sblandin I get the following message
11:18 sblandin wait
11:20 sblandin Now I don't get it
11:20 sblandin It was something about missing .p files
11:20 sblandin missing .po files
11:24 sblandin It does not work
11:24 sblandin Plugin text is still in English
11:39 sblandin I'll be back later
11:39 sblandin bye
11:39 sblandin left #padre
12:12 eeswar joined #padre
12:12 azawawi joined #padre
12:17 azawawi hi
12:17 azawawi Sewi: el-pingo
12:22 Alias_ joined #padre
12:22 Alias joined #padre
12:36 kthakore joined #padre
12:38 Hyppolit svn: r10803 | azawawi++ | http://padre.perlide.org/trac/changeset/10803
12:38 Hyppolit Used constants instead of rogue strings :)
12:38 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
12:46 Hyppolit svn: r10804 | azawawi++ | http://padre.perlide.org/trac/changeset/10804
12:46 Hyppolit Perl tidy (11 files)
12:46 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Action/ trunk/Padre/lib/Padre/File/ trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/Menu/ trunk/Padre/script/
13:12 azawawi Alias_: ping
13:17 Hyppolit svn: r10805 | azawawi++ | http://padre.perlide.org/trac/changeset/10805
13:17 Hyppolit Refactored handling of boolean preferences. They are now displayed everywhere as "True" and "False"
13:17 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
13:44 ashgenesis hi !
13:45 ecocode ho ?
13:51 ashgenesis when i check for common errors i have an error on my script an assignement into a conditionnal statement but in my code i haven't any assignement in conditionnal statement where can i open ticket for reporting this bug and what information must be incorporated in this ticket
13:55 Hyppolit svn: r10806 | azawawi++ | http://padre.perlide.org/trac/changeset/10806
13:55 Hyppolit Perl tidy to previous commit (1 file changed)
13:55 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
14:14 kaare_ joined #padre
14:23 sblandin joined #padre
14:24 sblandin Hello there
14:24 sblandin Still no luck when I try to see the localized version of Padre::Plugin::Alarm inside Padre
14:25 sblandin The plugin interface is in English
14:35 pece2 joined #padre
14:40 pece2 joined #padre
14:40 sblandin I see also from plugin source that some plugin strings are not set as localizable according to the instructions given in http://padre.perlide.org/t​rac/wiki/TranslationIntro
14:45 sblandin I should contact the plugin author or i can make the necessary changes myself?
14:47 pece joined #padre
15:51 dapatrick joined #padre
15:54 asphere joined #padre
15:59 sblandin left #padre
16:29 Haarg joined #padre
17:38 Sewi hi all
18:49 CSJewell Hello, Sewi.
19:11 Sewi Hi CSJewell
19:19 * Sewi passed the check flight today!
19:21 CSJewell Well, congratulations!
19:22 Sewi thanks
19:42 kgish joined #padre
19:46 dapatrick joined #padre
19:47 dapatrick1 joined #padre
19:51 asphere joined #padre
19:58 LeK joined #padre
19:59 LeK hi
20:01 LeK i've received clearance to commit french translation updates from jq... do I need superpowers, higher than those required to create tickets in trac?
20:07 ggoebel joined #padre
20:08 Sewi Yes, Luke, the force must be with you :-)
20:08 Sewi You need a commit bit.
20:09 LeK oh, please obiwan, I want to master the commit bit now, to help my friends! :)
20:12 Sewi Oh, I'm not Obiwan, sorry.
20:13 Sewi You should look out for our Jedimaster szabgab.
20:15 LeK sounds like a klingon name :)
20:18 Sewi Hmm, I think you mixed up the universes :-)
20:18 LeK that was what I intended to do :)
20:21 CSJewell <sarcasm>He does have the look of a shaved klingon!</sarcasm>
20:22 * LeK 's not a star trek addict, but that's the only ET race name that came to my mind :)
20:22 Sewi lol
20:23 LeK ok, now that french translation is a bit improved, I've swithced back to english (muuuuch better! :) )
20:48 cognominal joined #padre
22:25 SvenDowideit joined #padre
22:33 CSJewell2 joined #padre
22:57 Alias joined #padre
22:57 Alias_ joined #padre
23:24 LeK bye, we'll see another day for comitting the translation changes...
23:28 SvenDowideit joined #padre
23:58 asphere joined #padre

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary