[Padre-dev] do we want to translate the word Perl ?

Cezary Morga cm at therek.net
Sun Apr 5 01:27:30 PDT 2009


Gabor Szabo wrote:
> On Sun, Apr 5, 2009 at 3:49 AM,  <svn at perlide.org> wrote:
> > Author: therek
> > See also: http://padre.perlide.org/changeset/3729
> > Date: 2009-04-04 17:49:46 -0700 (Sat, 04 Apr 2009)
> > New Revision: 3729
> >
> > Modified:
> >   trunk/Padre/lib/Padre/Wx/Menubar.pm
> > Log:
> > gettext-ify Perl menu name
> >
> > Modified: trunk/Padre/lib/Padre/Wx/Menubar.pm
> > ===================================================================
> > --- trunk/Padre/lib/Padre/Wx/Menubar.pm 2009-04-04 22:16:12 UTC (rev
> > 3728) +++ trunk/Padre/lib/Padre/Wx/Menubar.pm 2009-04-05 00:49:46 UTC
> > (rev 3729) @@ -109,7 +109,7 @@
> >
> >        # Add/Remove the Perl menu
> >        if ( $document and not $menu ) {
> > -               $self->wx->Insert( 4, $self->perl->wx, '&Perl' );
> > +               $self->wx->Insert( 4, $self->perl->wx,
> > Wx::gettext("&Perl") ); } elsif ( $menu and not $document ) {
> >                $self->wx->Remove(4);
> >        }
>
> I don't see a good reason for this, is there one?

I needed this to change the keyboard shortcut. The &File is in Polish &Plik 
which collides with &Perl.
-- 
Cezary Morga
"If everything seems under control, you're not going fast enough" (Mario 
Andretti)



More information about the Padre-dev mailing list