Changeset 4075


Ignore:
Timestamp:
Oct 21, 2009, 1:22:39 PM (11 years ago)
Author:
ronosman
Message:

Feature 1190 and bug 1184 fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/wxFrameAUI.pm

    r3504 r4075  
    1 # +-----------------------------------------------------------------------+
     1# +-----------------------------------------------------------------------+
    22# | pLoader - a Perl photo uploader for Piwigo                            |
    33# +-----------------------------------------------------------------------+
     
    380380use Uploader::GUI::wxPropertyGridPanel;
    381381use Encode qw/encode decode is_utf8/;
    382 
     382use utf8;
    383383$|=1;
    384384
     
    11241124
    11251125  my $languages = [
    1126              ['Dutch', wxLANGUAGE_DUTCH, ],   
     1126             ['中文 (Chinese)', wxLANGUAGE_CHINESE, ],   
     1127             ['Česky (Czech)', wxLANGUAGE_CZECH, ],   
     1128             ['Dansk (Danish)', wxLANGUAGE_DANISH, ],   
     1129             ['Deutsch (German)', wxLANGUAGE_GERMAN, ],   
    11271130             ['English', wxLANGUAGE_ENGLISH, ],   
    1128              ['French', wxLANGUAGE_FRENCH, ],   
    1129              ['German', wxLANGUAGE_GERMAN, ],   
    1130              ['Italian', wxLANGUAGE_ITALIAN, ],   
    1131              ['Polish', wxLANGUAGE_POLISH, ],   
    1132              ['Portuguese', wxLANGUAGE_PORTUGUESE, ],   
    1133              ['Russian', wxLANGUAGE_RUSSIAN, ],   
    1134              ['Spanish', wxLANGUAGE_SPANISH, ],   
     1131             ['Español (Spanish)', wxLANGUAGE_SPANISH, ],   
     1132             ['Français (French)', wxLANGUAGE_FRENCH, ],   
     1133             ['Italiano (Italian)', wxLANGUAGE_ITALIAN, ],   
     1134             ['日本語 (にほんご) (Japanese)', wxLANGUAGE_JAPANESE, ],   
     1135             ['Nederlands (Dutch)', wxLANGUAGE_DUTCH, ],   
     1136             ['Polski (Polish)', wxLANGUAGE_POLISH, ],   
     1137             ['Português Brasileiro (Portuguese Brazil)', wxLANGUAGE_PORTUGUESE_BRAZILIAN, ],   
     1138             ['Português Portugal (Portuguese Portugal)', wxLANGUAGE_PORTUGUESE, ],   
     1139             ['Русский (Russian)', wxLANGUAGE_RUSSIAN, ],
     1140             ['Slovenčina (Slovak)', wxLANGUAGE_SLOVAK, ],
    11351141  ];
    11361142
    1137   my $dialog = new Wx::SingleChoiceDialog
    1138     ( undef, gettext( "Choose a language" ), gettext( "Choose a language" ),
    1139       [ map { Wx::GetTranslation( ${$_}[0] ) } @$languages ] );
     1143  my $dialog = new Wx::SingleChoiceDialog(
     1144    undef,
     1145    gettext( "Choose a language" ),
     1146    gettext( "Choose a language" ),
     1147    [ map { $_->[0] } @$languages ]
     1148  );
    11401149
    11411150  if( $dialog->ShowModal() == wxID_OK ) {
Note: See TracChangeset for help on using the changeset viewer.