Changeset 3360


Ignore:
Timestamp:
05/28/09 09:55:25 (10 years ago)
Author:
ronosman
Message:

Bug 997 fixed. Accented characters in photo caption not supported.

Location:
extensions/pLoader/trunk/src/Uploader
Files:
3 edited

Legend:

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

    r3359 r3360  
    14611461    my $dialog = Wx::TextEntryDialog->new(  
    14621462        $self,  
    1463         sprintf("Category name :", wxTheApp->branding->{Category}),  
     1463        sprintf("%s name :", wxTheApp->branding->{Category}),  
    14641464        sprintf("Add new %s", wxTheApp->branding->{category}), 
    14651465        sprintf("New %s", wxTheApp->branding->{category}),  
  • extensions/pLoader/trunk/src/Uploader/ImageList.pm

    r3286 r3360  
    348348    my ( $self, $file, $info, $i ) = @_; 
    349349     
    350     $file = encode('iso-8859-1', $file); 
     350#    $file = encode('iso-8859-1', $file); 
    351351     
    352352    my $name; 
     
    912912     
    913913            # update upload progress dialog 
    914             $self->progressbar_refresh->(0.25); 
     914            $self->progressbar_refresh->(0.20); 
    915915        }; 
    916916        # user cancelled : dialog box is destroyed 
  • extensions/pLoader/trunk/src/Uploader/PWG/WebServices.pm

    r3285 r3360  
    207207        }; 
    208208 
     209    my $site_image_name = is_utf8($self->site_image_name) ?  
     210                                  $self->site_image_name :  
     211                                  encode('utf8', $self->site_image_name); 
     212 
    209213    my $image_id = $hresult->{result}{$original_sum}; 
    210214    if(!defined($image_id)){ 
     
    224228            } 
    225229        ); 
    226          
    227          
     230         
    228231        $form = { 
    229232            method            => 'pwg.images.add', 
     
    232235            thumbnail_sum     => $thumbnail_sum, 
    233236            categories        => $self->categories, 
    234             name              => $self->site_image_name, 
     237            name              => $site_image_name, 
    235238            rank              => $self->rank, 
    236239            author            => $self->site_author, 
     
    257260            image_id          => $image_id, 
    258261            categories        => $self->categories, 
    259             name              => $self->site_image_name, 
     262            name              => $site_image_name, 
    260263            rank              => $self->rank, 
    261264            author            => $self->site_author, 
Note: See TracChangeset for help on using the changeset viewer.