Changeset 4098 for extensions/pLoader/trunk
- Timestamp:
- Oct 23, 2009, 7:30:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pLoader/trunk/src/Uploader/GUI/wxApp.pm
r4096 r4098 145 145 ] 146 146 ); 147 # some languages may be unavailable due to system configuration. 147 148 $self->_filter_available_languages; 148 149 149 Wx::InitAllImageHandlers(); 150 150 my $applicationName = "pLoader" ; … … 232 232 grep {$_} 233 233 map{ 234 my $locale = Wx::Locale->new($_->[1]); 235 $locale->AddCatalogLookupPathPrefix('../locale'); 236 $_ if $locale->AddCatalog('pLoader'); 234 # a locale may be unavailable due to system limitations ( ex: chinese, japanese when language pack are not installed ) 235 if(Wx::Locale::IsAvailable($_->[1])){ 236 my $locale = Wx::Locale->new($_->[1]); 237 $locale->AddCatalogLookupPathPrefix('../locale'); 238 $_ if $locale->AddCatalog('pLoader'); 239 } 237 240 } 238 241 @{$self->languages}
Note: See TracChangeset
for help on using the changeset viewer.