/* Buttons and general layout */
QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
closeButton->setDefault( true );
- clearUpdateButton = new QPushButton( qtr( "&Clear" ) );
+ clearUpdateButton = new QPushButton( qtr( "C&lear" ) );
saveLogButton = new QPushButton( qtr( "&Save as..." ) );
- saveLogButton->setToolTip( qtr( "Save all the displayed logs to a file" ) );
+ saveLogButton->setToolTip( qtr( "Saves all the displayed logs to a file" ) );
verbosityBox = new QSpinBox();
verbosityBox->setRange( 0, 2 );
bool MessagesDialog::save()
{
QString saveLogFileName = QFileDialog::getSaveFileName(
- this, qtr( "Select a name for the logs file" ),
+ this, qtr( "Save log file as..." ),
qfu( config_GetHomeDir() ),
qtr( "Texts / Logs (*.log *.txt);; All (*.*) ") );
QFile file( saveLogFileName );
if ( !file.open( QFile::WriteOnly | QFile::Text ) ) {
QMessageBox::warning( this, qtr( "Application" ),
- qtr( "Cannot write file %1:\n%2." )
+ qtr( "Cannot write to file %1:\n%2." )
.arg( saveLogFileName )
.arg( file.errorString() ) );
return false;
{
ui.setupUi( this );
- ui.podcastDelete->setToolTip( qtr( "Delete the selected item" ) );
+ ui.podcastDelete->setToolTip( qtr( "Deletes the selected item" ) );
QPushButton *okButton = new QPushButton( qtr( "&Close" ), this );
QPushButton *cancelButton = new QPushButton( qtr( "&Cancel" ), this );
ui.okCancel->addButton( okButton, QDialogButtonBox::AcceptRole );
QHBoxLayout *types_l = new QHBoxLayout;
types_l->setSpacing( 3 ); types_l->setMargin( 3 );
small = new QRadioButton( qtr( "Simple" ), types );
- small->setToolTip( qtr( "Switch to simple preferences" ) );
+ small->setToolTip( qtr( "Switch to simple preferences view" ) );
types_l->addWidget( small );
all = new QRadioButton( qtr("All"), types ); types_l->addWidget( all );
- all->setToolTip( qtr( "Switch to complete preferences" ) );
+ all->setToolTip( qtr( "Switch to full preferences view" ) );
types->setLayout( types_l );
small->setChecked( true );
int ret = QMessageBox::question(
this,
qtr( "Reset Preferences" ),
- qtr( "This will reset your VLC media player preferences.\n"
- "Are you sure you want to continue?" ),
+ qtr( "Are you sure you want to reset your VLC media player preferences?" ),
QMessageBox::Ok | QMessageBox::Cancel,
QMessageBox::Ok);
ui.mrlEdit->setToolTip ( qtr( "Stream output string.\n"
"This is automatically generated "
"when you change the above settings,\n"
- "but you can update it manually." ) ) ;
+ "but you can change it manually." ) ) ;
// /* Connect everything to the updateMRL function */
#define CB( x ) CONNECT( ui.x, toggled( bool ), this, updateMRL() );
void SoutDialog::fileBrowse()
{
- QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file" ), "",
+ QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file..." ), "",
qtr( "Containers (*.ps *.ts *.mpg *.ogg *.asf *.mp4 *.mov *.wav *.raw *.flv)" ) );
ui.fileEdit->setText( fileName );
updateMRL();
new QSpacerItem( 10, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
vlmItemLayout->addItem( spacer );
- QPushButton *importButton = new QPushButton( qtr( "Import" ) );
+ QPushButton *importButton = new QPushButton( qtr( "I&mport" ) );
ui.buttonBox->addButton( importButton, QDialogButtonBox::ActionRole );
- QPushButton *exportButton = new QPushButton( qtr( "Export" ) );
+ QPushButton *exportButton = new QPushButton( qtr( "E&xport" ) );
ui.buttonBox->addButton( exportButton, QDialogButtonBox::ActionRole );
QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
bool VLMDialog::exportVLMConf()
{
QString saveVLMConfFileName = QFileDialog::getSaveFileName(
- this, qtr( "Choose a filename to save the VLM configuration..." ),
+ this, qtr( "Save VLM configuration as..." ),
qfu( config_GetHomeDir() ),
qtr( "VLM conf (*.vlm) ;; All (*.*)" ) );
bool VLMDialog::importVLMConf()
{
QString openVLMConfFileName = QFileDialog::getOpenFileName(
- this, qtr( "Open a VLM Configuration File" ),
+ this, qtr( "Open VLM configuration..." ),
qfu( config_GetHomeDir() ),
qtr( "VLM conf (*.vlm) ;; All (*.*)" ) );
****************/
void DialogsProvider::openAPlaylist()
{
- QStringList files = showSimpleOpen( qtr( "Open playlist file" ),
+ QStringList files = showSimpleOpen( qtr( "Open playlist..." ),
EXT_FILTER_PLAYLIST );
foreach( QString file, files )
{
void DialogsProvider::saveAPlaylist()
{
QFileDialog *qfd = new QFileDialog( NULL,
- qtr( "Choose a filename to save playlist" ),
+ qtr( "Save playlist as..." ),
qfu( p_intf->p_sys->psz_filepath ),
qtr( "XSPF playlist (*.xspf);; " ) +
qtr( "M3U playlist (*.m3u);; Any (*.*) " ) );
char *sep = strrchr( path, DIR_SEP_CHAR );
if( sep )
*sep = '\0';
- QStringList qsl = showSimpleOpen( qtr( "Open subtitles file" ),
+ QStringList qsl = showSimpleOpen( qtr( "Open subtitles..." ),
EXT_FILTER_SUBTITLE,
path );
free( path );
QLabel *text = new QLabel( qtr(
"<p>The <i>VideoLAN Team</i> doesn't like when an application goes "
"online without authorization.</p>\n "
- "<p><i>VLC media player</i> can request limited information on "
- "the Internet, especially to get CD covers or to know "
- "if updates are available.</p>\n"
+ "<p><i>VLC media player</i> can retreive limited information from "
+ "the Internet in order to get CD covers or to check "
+ "for available updates.</p>\n"
"<p><i>VLC media player</i> <b>DOES NOT</b> send or collect <b>ANY</b> "
"information, even anonymously, about your usage.</p>\n"
- "<p>Therefore please check the following options, the default being "
- "almost no access on the web.</p>\n") );
+ "<p>Therefore please select from the following options, the default being "
+ "almost no access to the web.</p>\n") );
text->setWordWrap( true );
text->setTextFormat( Qt::RichText );
QMenu *submenu = new QMenu( qtr( "&Subtitles Track" ), current );
action = current->addMenu( submenu );
action->setData( "spu-es" );
- addDPStaticEntry( submenu, qtr( "Load File..." ), "", "",
+ addDPStaticEntry( submenu, qtr( "Open File..." ), "", "",
SLOT( loadSubtitlesFile() ) );
submenu->addSeparator();