Ignore:
Timestamp:
Aug 31, 2016, 5:31:04 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.8.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/prefadvanced.cpp

    r176 r181  
    8181
    8282QPixmap PrefAdvanced::sectionIcon() {
    83     return Images::icon("pref_advanced", 22);
     83        return Images::icon("pref_advanced");
    8484}
    8585
     
    9595        shortnames_check->setText( tr("&Pass short filenames (8+3) to %1").arg(PLAYER_NAME) );
    9696        mplayer_crashes_check->setText( tr("R&eport %1 crashes").arg(PLAYER_NAME) );
    97         advanced_tab->setTabText(1, tr("O&ptions for %1").arg(PLAYER_NAME) );
    98         options_info_label->setText( tr("Here you can pass extra options to %1.").arg(PLAYER_NAME) +"<br>"+
    99                 tr("Write them separated by spaces.") + "<br>" + tr("Example:") + " -volume 50 -fps 25" );
     97        advanced_tab->setTabText(1, PLAYER_NAME);
     98        player_group->setTitle(tr("Options for %1").arg(PLAYER_NAME));
     99        options_info_label->setText( tr("Here you can pass options and filters to %1.").arg(PLAYER_NAME) );
    100100        mplayer_log_box->setTitle(PLAYER_NAME);
    101101        log_mplayer_check->setText( tr("Log %1 &output").arg(PLAYER_NAME) );
     
    110110        setMonitorAspect( pref->monitor_aspect );
    111111
    112 #if REPAINT_BACKGROUND_OPTION   
     112#if REPAINT_BACKGROUND_OPTION
    113113        setRepaintVideoBackground( pref->repaint_video_background );
    114114#endif
     
    452452        tr("Select the aspect ratio of your monitor.") );
    453453
    454         setWhatsThis(mplayer_use_window_check, tr("Run %1 in its own window").arg(PLAYER_NAME),
    455         tr("If you check this option, the %1 video window won't be "
    456            "embedded in SMPlayer's main window but instead it will use its "
    457            "own window. Note that mouse and keyboard events will be handled "
    458            "directly by %1, that means key shortcuts and mouse clicks "
    459            "probably won't work as expected when the %1 window has the "
    460            "focus.").arg(PLAYER_NAME) );
    461 
    462454        setWhatsThis(idx_check, tr("Rebuild index if needed"),
    463455                tr("Rebuilds index of files if no index was found, allowing seeking. "
     
    470462                tr("If this option is checked, the lavf demuxer will be used for all formats."));
    471463
    472 #ifdef Q_OS_WIN
    473         setWhatsThis(shortnames_check, tr("Pass short filenames (8+3) to %1").arg(PLAYER_NAME),
    474                 tr("If this option is checked, SMPlayer will pass to %1 the short version of the filenames.").arg(PLAYER_NAME) );
    475 #endif
    476 
    477464#if REPAINT_BACKGROUND_OPTION
    478         setWhatsThis(repaint_video_background_check, 
     465        setWhatsThis(repaint_video_background_check,
    479466        tr("Repaint the background of the video window"),
    480467                tr("Checking this option may reduce flickering, but it also might "
     
    482469#endif
    483470
    484         setWhatsThis(mplayer_crashes_check,
    485                 tr("Report %1 crashes").arg(PLAYER_NAME),
    486                 tr("If this option is checked, a window will appear to inform "
    487            "about %1 crashes. Otherwise those failures will be "
    488            "silently ignored.").arg(PLAYER_NAME) );
    489 
    490 #ifdef MPLAYER_SUPPORT
    491         setWhatsThis(use_playlist_check, tr("Pass the %1 option to MPlayer (security risk)").arg("-playlist"),
    492                 tr("This option may be needed to play playlist files (m3u, pls...). "
    493            "However it can involve a security risk when playing internet sources because "
    494            "the way MPlayer parses and uses playlist files is not "
    495            "safe against maliciously constructed files.") );
    496 #endif
    497471
    498472        setWhatsThis(correct_pts_combo, tr("Correct pts"),
     
    518492           "audio or video filter).").arg(PLAYER_NAME) );
    519493
     494        setWhatsThis(show_tag_in_title_check, tr("Show tag info in window title"),
     495                tr("If this option is enabled, information from tags will be "
     496                   "shown in window title. "
     497           "Otherwise only the filename will be shown.") );
     498
    520499#if USE_COLORKEY
    521500        setWhatsThis(colorkey_view, tr("Colorkey"),
     
    525504#endif
    526505
    527         setWhatsThis(show_tag_in_title_check, tr("Show tag info in window title"),
    528                 tr("If this option is enabled, information from tags will be "
    529                    "shown in window title. "
    530            "Otherwise only the filename will be shown.") );
    531 
    532         addSectionTitle(tr("Options for %1").arg(PLAYER_NAME));
     506
     507        addSectionTitle(PLAYER_NAME);
    533508
    534509        setWhatsThis(mplayer_args_edit, tr("Options"),
    535510        tr("Here you can type options for %1.").arg(PLAYER_NAME) +" "+
    536         tr("Write them separated by spaces."));
     511        tr("Write them separated by spaces.") +"<br>"+ tr("Example:") +" -flip -nosound");
    537512
    538513        setWhatsThis(mplayer_vfilters_edit, tr("Video filters"),
    539514        tr("Here you can add video filters for %1.").arg(PLAYER_NAME) +" "+
    540         tr("Write them separated by commas. Don't use spaces!"));
     515        tr("Write them separated by commas. Don't use spaces!") +"<br>"+ tr("Example:") +" scale=512:-2,mirror");
    541516
    542517        setWhatsThis(mplayer_afilters_edit, tr("Audio filters"),
    543518        tr("Here you can add audio filters for %1.").arg(PLAYER_NAME) +" "+
    544         tr("Write them separated by commas. Don't use spaces!"));
     519        tr("Write them separated by commas. Don't use spaces!") +"<br>"+ tr("Example:") +" extrastereo,karaoke");
     520
     521        setWhatsThis(mplayer_use_window_check, tr("Run %1 in its own window").arg(PLAYER_NAME),
     522        tr("If you check this option, the %1 video window won't be "
     523           "embedded in SMPlayer's main window but instead it will use its "
     524           "own window. Note that mouse and keyboard events will be handled "
     525           "directly by %1, that means key shortcuts and mouse clicks "
     526           "probably won't work as expected when the %1 window has the "
     527           "focus.").arg(PLAYER_NAME) );
     528
     529        setWhatsThis(mplayer_crashes_check,
     530                tr("Report %1 crashes").arg(PLAYER_NAME),
     531                tr("If this option is checked, a window will appear to inform "
     532           "about %1 crashes. Otherwise those failures will be "
     533           "silently ignored.").arg(PLAYER_NAME) );
     534
     535#ifdef MPLAYER_SUPPORT
     536        setWhatsThis(use_playlist_check, tr("Pass the %1 option to MPlayer (security risk)").arg("-playlist"),
     537                tr("This option may be needed to play playlist files (m3u, pls...). "
     538           "However it can involve a security risk when playing internet sources because "
     539           "the way MPlayer parses and uses playlist files is not "
     540           "safe against maliciously constructed files.") );
     541#endif
     542
     543#ifdef Q_OS_WIN
     544        setWhatsThis(shortnames_check, tr("Pass short filenames (8+3) to %1").arg(PLAYER_NAME),
     545                tr("If this option is checked, SMPlayer will pass to %1 the short version of the filenames.").arg(PLAYER_NAME) );
     546#endif
     547
    545548
    546549        addSectionTitle(tr("Network"));
Note: See TracChangeset for help on using the changeset viewer.