Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
4f6fb365
Commit
4f6fb365
authored
Sep 17, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
String updates from tonsofpcs
parent
3d2c8734
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
24 deletions
+23
-24
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+4
-4
modules/gui/qt4/dialogs/podcast_configuration.cpp
modules/gui/qt4/dialogs/podcast_configuration.cpp
+1
-1
modules/gui/qt4/dialogs/preferences.cpp
modules/gui/qt4/dialogs/preferences.cpp
+3
-4
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+2
-2
modules/gui/qt4/dialogs/vlm.cpp
modules/gui/qt4/dialogs/vlm.cpp
+4
-4
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+3
-3
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+5
-5
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+1
-1
No files found.
modules/gui/qt4/dialogs/messages.cpp
View file @
4f6fb365
...
...
@@ -81,9 +81,9 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
/* Buttons and general layout */
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
closeButton
->
setDefault
(
true
);
clearUpdateButton
=
new
QPushButton
(
qtr
(
"
&C
lear"
)
);
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
(
"Save
s
all the displayed logs to a file"
)
);
verbosityBox
=
new
QSpinBox
();
verbosityBox
->
setRange
(
0
,
2
);
...
...
@@ -246,7 +246,7 @@ void MessagesDialog::clear()
bool
MessagesDialog
::
save
()
{
QString
saveLogFileName
=
QFileDialog
::
getSaveFileName
(
this
,
qtr
(
"S
elect a name for the logs file
"
),
this
,
qtr
(
"S
ave log file as...
"
),
qfu
(
config_GetHomeDir
()
),
qtr
(
"Texts / Logs (*.log *.txt);; All (*.*) "
)
);
...
...
@@ -255,7 +255,7 @@ bool MessagesDialog::save()
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
;
...
...
modules/gui/qt4/dialogs/podcast_configuration.cpp
View file @
4f6fb365
...
...
@@ -34,7 +34,7 @@ PodcastConfigDialog::PodcastConfigDialog( QWidget *parent, intf_thread_t *_p_int
{
ui
.
setupUi
(
this
);
ui
.
podcastDelete
->
setToolTip
(
qtr
(
"Delete the selected item"
)
);
ui
.
podcastDelete
->
setToolTip
(
qtr
(
"Delete
s
the selected item"
)
);
QPushButton
*
okButton
=
new
QPushButton
(
qtr
(
"&Close"
),
this
);
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"&Cancel"
),
this
);
ui
.
okCancel
->
addButton
(
okButton
,
QDialogButtonBox
::
AcceptRole
);
...
...
modules/gui/qt4/dialogs/preferences.cpp
View file @
4f6fb365
...
...
@@ -68,10 +68,10 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
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
);
...
...
@@ -351,8 +351,7 @@ void PrefsDialog::reset()
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
);
...
...
modules/gui/qt4/dialogs/sout.cpp
View file @
4f6fb365
...
...
@@ -234,7 +234,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf,
ui
.
mrlEdit
->
setToolTip
(
qtr
(
"Stream output string.
\n
"
"This is automatically generated "
"when you change the above settings,
\n
"
"but you can
updat
e it manually."
)
)
;
"but you can
chang
e it manually."
)
)
;
// /* Connect everything to the updateMRL function */
#define CB( x ) CONNECT( ui.x, toggled( bool ), this, updateMRL() );
...
...
@@ -286,7 +286,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf,
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
();
...
...
modules/gui/qt4/dialogs/vlm.cpp
View file @
4f6fb365
...
...
@@ -130,10 +130,10 @@ VLMDialog::VLMDialog( QWidget *parent, intf_thread_t *_p_intf ) : QVLCDialog( pa
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"
)
);
...
...
@@ -263,7 +263,7 @@ void VLMDialog::addVLMItem()
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 (*.*)"
)
);
...
...
@@ -333,7 +333,7 @@ void VLMDialog::mediasPopulator()
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 (*.*)"
)
);
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
4f6fb365
...
...
@@ -455,7 +455,7 @@ void DialogsProvider::MLAppendDir()
****************/
void
DialogsProvider
::
openAPlaylist
()
{
QStringList
files
=
showSimpleOpen
(
qtr
(
"Open playlist
file
"
),
QStringList
files
=
showSimpleOpen
(
qtr
(
"Open playlist
...
"
),
EXT_FILTER_PLAYLIST
);
foreach
(
QString
file
,
files
)
{
...
...
@@ -466,7 +466,7 @@ void DialogsProvider::openAPlaylist()
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 (*.*) "
)
);
...
...
@@ -626,7 +626,7 @@ void DialogsProvider::loadSubtitlesFile()
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
);
...
...
modules/gui/qt4/main_interface.cpp
View file @
4f6fb365
...
...
@@ -486,13 +486,13 @@ int MainInterface::privacyDialog( QList<ConfigControl *> *controls )
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 re
quest 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 re
treive 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
);
...
...
modules/gui/qt4/menus.cpp
View file @
4f6fb365
...
...
@@ -490,7 +490,7 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment