Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (10 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/prefadvanced.cpp

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <[email protected]>
     2    Copyright (C) 2006-201 Ricardo Villalba <[email protected]>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    2222#include "preferences.h"
    2323#include "paths.h"
     24
    2425#include <QColorDialog>
    2526
     
    5152#ifndef LOG_SMPLAYER
    5253        smplayer_log_box->hide();
     54
     55
     56
     57
    5358#endif
    5459
     
    8792        monitoraspect_combo->setItemText(0, tr("Auto") );
    8893
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
    89106        createHelp();
    90107}
     
    128145
    129146        setMplayerCrashes( pref->report_mplayer_crashes );
     147
     148
     149
     150
    130151}
    131152
     
    198219
    199220        pref->report_mplayer_crashes = mplayerCrashes();
     221
     222
     223
     224
    200225}
    201226
     
    427452        tr("Select the aspect ratio of your monitor.") );
    428453
    429         setWhatsThis(mplayer_use_window_check, tr("Run MPlayer in its own window"),
    430         tr("If you check this option, the MPlayer video window won't be "
     454        setWhatsThis(mplayer_use_window_check, tr("Run ),
     455        tr("If you check this option, the video window won't be "
    431456           "embedded in SMPlayer's main window but instead it will use its "
    432457           "own window. Note that mouse and keyboard events will be handled "
    433            "directly by MPlayer, that means key shortcuts and mouse clicks "
    434            "probably won't work as expected when the MPlayer window has the "
    435            "focus.") );
     458           "directly by , that means key shortcuts and mouse clicks "
     459           "probably won't work as expected when the window has the "
     460           "focus.") );
    436461
    437462        setWhatsThis(idx_check, tr("Rebuild index if needed"),
     
    443468
    444469        setWhatsThis(lavf_demuxer_check, tr("Use the lavf demuxer by default"),
    445                 tr("If this option is checked, the lavf demuxer will be used for all formats.") +" "+
    446                 tr("Notice: mplayer2 already uses the lavf demuxer by default so "
    447                    "enabling this option with mplayer2 won't have any effect."));
     470                tr("If this option is checked, the lavf demuxer will be used for all formats."));
    448471
    449472#ifdef Q_OS_WIN
    450         setWhatsThis(shortnames_check, tr("Pass short filenames (8+3) to MPlayer"),
    451                 tr("Currently MPlayer can't open filenames which contains characters "
    452            "outside the local codepage. Checking this option will make "
    453            "SMPlayer to pass to MPlayer the short version of the filenames, "
    454            "and thus it will able to open them.") );
     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) );
    455475#endif
    456476
     
    463483
    464484        setWhatsThis(mplayer_crashes_check,
    465                 tr("Report MPlayer crashes"),
     485                tr("Report ),
    466486                tr("If this option is checked, a window will appear to inform "
    467            "about MPlayer crashes. Otherwise those failures will be "
    468            "silently ignored.") );
     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
    469497
    470498        setWhatsThis(correct_pts_combo, tr("Correct pts"),
    471                 tr("Switches MPlayer to an experimental mode where timestamps for "
     499                tr("Switches to an experimental mode where timestamps for "
    472500           "video frames are calculated differently and video filters which "
    473501           "add new frames or modify timestamps of existing ones are "
     
    476504           "SSA/ASS library enabled. Without correct pts the subtitle timing "
    477505           "will typically be off by some frames. This option does not work "
    478            "correctly with some demuxers and codecs.") );
     506           "correctly with some demuxers and codecs.") );
    479507
    480508        setWhatsThis(actions_to_run_edit, tr("Actions list"),
     
    487515                tr("Example:") +" <i>auto_zoom compact true</i><br>" +
    488516                tr("Limitation: the actions are run only when a file is opened and "
    489            "not when the mplayer process is restarted (e.g. you select an "
    490            "audio or video filter).") );
     517           "not when the process is restarted (e.g. you select an "
     518           "audio or video filter).") );
    491519
    492520#if USE_COLORKEY
     
    502530           "Otherwise only the filename will be shown.") );
    503531
    504         addSectionTitle(tr("Options for MPlayer"));
     532        addSectionTitle(tr("Options for ));
    505533
    506534        setWhatsThis(mplayer_args_edit, tr("Options"),
    507         tr("Here you can type options for MPlayer. Write them separated "
    508            "by spaces.") );
     535        tr("Here you can type options for
     536        );
    509537
    510538        setWhatsThis(mplayer_vfilters_edit, tr("Video filters"),
    511         tr("Here you can add video filters for MPlayer. Write them separated "
    512            "by commas. Don't use spaces!") );
     539        tr("Here you can add video filters for
     540        );
    513541
    514542        setWhatsThis(mplayer_afilters_edit, tr("Audio filters"),
    515         tr("Here you can add audio filters for MPlayer. Write them separated "
    516            "by commas. Don't use spaces!") );
     543        tr("Here you can add audio filters for
     544        );
    517545
    518546        addSectionTitle(tr("Network"));
     
    540568
    541569#ifdef LOG_MPLAYER
    542         setWhatsThis(log_mplayer_check, tr("Log MPlayer output"),
    543                 tr("If checked, SMPlayer will store the output of MPlayer "
    544            "(you can see it in <b>Options -> View logs -> MPlayer</b>). "
     570        setWhatsThis(log_mplayer_check, tr("Log ),
     571                tr("If checked, SMPlayer will store the output of "
     572           "(you can see it in <b>Options -> View logs -> </b>). "
    545573           "In case of problems this log can contain important information, "
    546            "so it's recommended to keep this option checked.") );
    547 
    548         setWhatsThis(log_mplayer_save_check, tr("Autosave MPlayer log"),
    549                 tr("If this option is checked, the MPlayer log will be saved to the "
     574           "so it's recommended to keep this option checked.") );
     575
     576        setWhatsThis(log_mplayer_save_check, tr("Autosave ),
     577                tr("If this option is checked, the log will be saved to the "
    550578           "specified file every time a new file starts to play. "
    551579           "It's intended for external applications, so they can get "
    552            "info about the file you're playing.") );
    553 
    554         setWhatsThis(log_mplayer_save_name, tr("Autosave MPlayer log filename"),
     580           "info about the file you're playing.") );
     581
     582        setWhatsThis(log_mplayer_save_name, tr("Autosave ),
    555583                tr("Enter here the path and filename that will be used to save the "
    556            "MPlayer log.") );
     584           ") );
    557585#endif
    558586
Note: See TracChangeset for help on using the changeset viewer.