Changeset 3288 for extras/pLoader
- Timestamp:
- May 15, 2009, 7:17:53 PM (16 years ago)
- Location:
- extras/pLoader/trunk
- Files:
-
- 8 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extras/pLoader/trunk/res/login_wdr.pl
r3233 r3288 12 12 use Wx qw( wxALIGN_RIGHT wxALIGN_BOTTOM wxALIGN_CENTER wxALIGN_CENTER_VERTICAL wxALIGN_CENTER_HORIZONTAL ); 13 13 use Wx qw( wxTE_PASSWORD ); 14 use Wx::Locale; 14 15 15 16 # Bitmap functions … … 38 39 my( $item3 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 ); 39 40 40 my( $item4 ) = Wx::StaticText->new( $parent, $main::ID_TEXT, "Piwigo url", wxDefaultPosition, wxDefaultSize, 0 );41 my( $item4 ) = Wx::StaticText->new( $parent, $main::ID_TEXT, gettext("Piwigo url"), wxDefaultPosition, wxDefaultSize, 0 ); 41 42 $item3->AddWindow( $item4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 42 43 … … 44 45 $item3->AddWindow( $item5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 45 46 46 my( $item6 ) = Wx::StaticText->new( $parent, $main::ID_TEXT, "Admin. username :", wxDefaultPosition, wxDefaultSize, 0 );47 my( $item6 ) = Wx::StaticText->new( $parent, $main::ID_TEXT, gettext("Admin. username :"), wxDefaultPosition, wxDefaultSize, 0 ); 47 48 $item3->AddWindow( $item6, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 48 49 … … 50 51 $item3->AddWindow( $item7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 51 52 52 my( $item8 ) = Wx::StaticText->new( $parent, $main::ID_TEXT, "Admin. password :", wxDefaultPosition, wxDefaultSize, 0 );53 my( $item8 ) = Wx::StaticText->new( $parent, $main::ID_TEXT, gettext("Admin. password :"), wxDefaultPosition, wxDefaultSize, 0 ); 53 54 $item3->AddWindow( $item8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 54 55 … … 64 65 my( $item10 ) = Wx::BoxSizer->new( wxHORIZONTAL ); 65 66 66 my( $item11 ) = Wx::Button->new( $parent, $main::ID_PWG_OK, "Connect", wxDefaultPosition, wxDefaultSize, 0 );67 my( $item11 ) = Wx::Button->new( $parent, $main::ID_PWG_OK, gettext("Connect"), wxDefaultPosition, wxDefaultSize, 0 ); 67 68 $item11->SetDefault(); 68 69 $item10->AddWindow( $item11, 0, wxALIGN_CENTER|wxALL, 5 ); 69 70 70 my( $item12 ) = Wx::Button->new( $parent, $main::ID_PWG_OFFLINE, "Work Offline", wxDefaultPosition, wxDefaultSize, 0 );71 my( $item12 ) = Wx::Button->new( $parent, $main::ID_PWG_OFFLINE, gettext("Work Offline"), wxDefaultPosition, wxDefaultSize, 0 ); 71 72 $item10->AddWindow( $item12, 0, wxALIGN_CENTER|wxALL, 5 ); 72 73 73 my( $item13 ) = Wx::Button->new( $parent, $main::ID_PWG_CANCEL, "Exit", wxDefaultPosition, wxDefaultSize, 0 );74 my( $item13 ) = Wx::Button->new( $parent, $main::ID_PWG_CANCEL, gettext("Exit"), wxDefaultPosition, wxDefaultSize, 0 ); 74 75 $item10->AddWindow( $item13, 0, wxALIGN_CENTER|wxALL, 5 ); 75 76
Note: See TracChangeset
for help on using the changeset viewer.