Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7fd36323
Commit
7fd36323
authored
Apr 02, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WX Strings review by Steven Sheehy (Refs:#438)
parent
fdb85a0d
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
59 additions
and
59 deletions
+59
-59
modules/gui/wxwidgets/dialogs/fileinfo.cpp
modules/gui/wxwidgets/dialogs/fileinfo.cpp
+1
-1
modules/gui/wxwidgets/dialogs/interaction.cpp
modules/gui/wxwidgets/dialogs/interaction.cpp
+1
-1
modules/gui/wxwidgets/dialogs/open.cpp
modules/gui/wxwidgets/dialogs/open.cpp
+2
-2
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+7
-7
modules/gui/wxwidgets/dialogs/preferences_widgets.cpp
modules/gui/wxwidgets/dialogs/preferences_widgets.cpp
+2
-2
modules/gui/wxwidgets/dialogs/streamout.cpp
modules/gui/wxwidgets/dialogs/streamout.cpp
+3
-3
modules/gui/wxwidgets/dialogs/updatevlc.cpp
modules/gui/wxwidgets/dialogs/updatevlc.cpp
+1
-1
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
+2
-2
modules/gui/wxwidgets/dialogs/wizard.cpp
modules/gui/wxwidgets/dialogs/wizard.cpp
+32
-32
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/interface.cpp
+3
-3
modules/gui/wxwidgets/streamdata.cpp
modules/gui/wxwidgets/streamdata.cpp
+3
-3
modules/gui/wxwidgets/wxwidgets.cpp
modules/gui/wxwidgets/wxwidgets.cpp
+1
-1
modules/gui/wxwidgets/wxwidgets.hpp
modules/gui/wxwidgets/wxwidgets.hpp
+1
-1
No files found.
modules/gui/wxwidgets/dialogs/fileinfo.cpp
View file @
7fd36323
...
...
@@ -51,7 +51,7 @@ END_EVENT_TABLE()
* Constructor.
*****************************************************************************/
FileInfo
::
FileInfo
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
)
:
wxFrame
(
p_parent
,
-
1
,
wxU
(
_
(
"Stream and
media i
nfo"
)),
wxDefaultPosition
,
wxFrame
(
p_parent
,
-
1
,
wxU
(
_
(
"Stream and
Media I
nfo"
)),
wxDefaultPosition
,
wxDefaultSize
,
wxDEFAULT_FRAME_STYLE
)
{
p_intf
=
_p_intf
;
...
...
modules/gui/wxwidgets/dialogs/interaction.cpp
View file @
7fd36323
...
...
@@ -113,7 +113,7 @@ void InteractionDialog::Render()
{
wxTextCtrl
*
errors
;
// Special case
label
=
new
wxStaticText
(
widgets_panel
,
-
1
,
wxU
(
_
(
"The following errors
happen
ed. More details might be "
wxU
(
_
(
"The following errors
occurr
ed. More details might be "
"available in the Messages window."
)
)
);
errors
=
new
wxTextCtrl
(
widgets_panel
,
-
1
,
wxT
(
""
),
wxDefaultPosition
,
wxDefaultSize
,
...
...
modules/gui/wxwidgets/dialogs/open.cpp
View file @
7fd36323
...
...
@@ -428,7 +428,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, wxWindow *_p_parent,
/* Create Stream Output checkox */
sout_checkbox
=
new
wxCheckBox
(
panel
,
SoutEnable_Event
,
wxU
(
_
(
"Stream/Save"
))
);
sout_checkbox
->
SetToolTip
(
wxU
(
_
(
"Use VLC as a s
erver of streams
"
))
);
sout_checkbox
->
SetToolTip
(
wxU
(
_
(
"Use VLC as a s
tream server
"
))
);
common_opt_sizer
->
Add
(
sout_checkbox
,
0
,
wxALIGN_RIGHT
|
wxALIGN_CENTER_VERTICAL
);
...
...
@@ -1667,7 +1667,7 @@ void OpenDialog::OnDiscTypeChange( wxCommandEvent& WXUNUSED(event) )
disc_title
->
SetToolTip
(
wxU
(
_
(
"Title number."
))
);
disc_sub
->
SetToolTip
(
wxU
(
_
(
"DVD's can have up to 32 subtitles numbered 0..31. "
"Note this is not the same thing as a subtitle name
e.g. 'en'
. "
"Note this is not the same thing as a subtitle name
(e.g. 'en')
. "
"If a value -1 is used, no subtitle will be shown."
))
);
disc_audio
->
SetToolTip
(
wxU
(
_
(
"Audio track number. "
"DVD's can have up to 8 audio tracks numbered 0..7."
...
...
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
7fd36323
...
...
@@ -237,7 +237,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
manage_menu
->
Append
(
AddDir_Event
,
wxU
(
_
(
"Add &Directory..."
))
);
manage_menu
->
Append
(
AddMRL_Event
,
wxU
(
_
(
"&Add URL..."
))
);
manage_menu
->
AppendSeparator
();
manage_menu
->
Append
(
MenuDummy_Event
,
wxU
(
_
(
"Services
d
iscovery"
)),
manage_menu
->
Append
(
MenuDummy_Event
,
wxU
(
_
(
"Services
D
iscovery"
)),
p_sd_menu
);
manage_menu
->
AppendSeparator
();
manage_menu
->
Append
(
Open_Event
,
wxU
(
_
(
"&Open Playlist..."
))
);
...
...
@@ -247,8 +247,8 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
/* Create our "Sort" menu */
wxMenu
*
sort_menu
=
new
wxMenu
;
sort_menu
->
Append
(
SortTitle_Event
,
wxU
(
_
(
"Sort by &
t
itle"
))
);
sort_menu
->
Append
(
RSortTitle_Event
,
wxU
(
_
(
"&Reverse
sort by t
itle"
))
);
sort_menu
->
Append
(
SortTitle_Event
,
wxU
(
_
(
"Sort by &
T
itle"
))
);
sort_menu
->
Append
(
RSortTitle_Event
,
wxU
(
_
(
"&Reverse
Sort by T
itle"
))
);
sort_menu
->
AppendSeparator
();
sort_menu
->
Append
(
Randomize_Event
,
wxU
(
_
(
"&Shuffle"
))
);
...
...
@@ -272,12 +272,12 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
/* Create the popup menu */
node_popup
=
new
wxMenu
;
node_popup
->
Append
(
PopupPlay_Event
,
wxU
(
_
(
"Play"
))
);
node_popup
->
Append
(
PopupPlayThis_Event
,
wxU
(
_
(
"Play this
b
ranch"
))
);
node_popup
->
Append
(
PopupPlayThis_Event
,
wxU
(
_
(
"Play this
B
ranch"
))
);
node_popup
->
Append
(
PopupPreparse_Event
,
wxU
(
_
(
"Preparse"
))
);
node_popup
->
Append
(
PopupSort_Event
,
wxU
(
_
(
"Sort this
b
ranch"
))
);
node_popup
->
Append
(
PopupSort_Event
,
wxU
(
_
(
"Sort this
B
ranch"
))
);
node_popup
->
Append
(
PopupDel_Event
,
wxU
(
_
(
"Delete"
))
);
node_popup
->
Append
(
PopupInfo_Event
,
wxU
(
_
(
"Info"
))
);
node_popup
->
Append
(
PopupAddNode_Event
,
wxU
(
_
(
"Add
n
ode"
))
);
node_popup
->
Append
(
PopupAddNode_Event
,
wxU
(
_
(
"Add
N
ode"
))
);
item_popup
=
new
wxMenu
;
item_popup
->
Append
(
PopupPlay_Event
,
wxU
(
_
(
"Play"
))
);
...
...
@@ -1414,7 +1414,7 @@ wxMenu * Playlist::ViewMenu()
p_view_menu
->
Append
(
FirstView_Event
+
VIEW_CATEGORY
,
wxU
(
_
(
"Normal"
)
)
);
p_view_menu
->
Append
(
FirstView_Event
+
VIEW_S_AUTHOR
,
wxU
(
_
(
"Sorted by
a
rtist"
)
)
);
wxU
(
_
(
"Sorted by
A
rtist"
)
)
);
p_view_menu
->
Append
(
FirstView_Event
+
VIEW_S_ALBUM
,
wxU
(
_
(
"Sorted by Album"
)
)
);
...
...
modules/gui/wxwidgets/dialogs/preferences_widgets.cpp
View file @
7fd36323
...
...
@@ -431,8 +431,8 @@ ModuleListCatConfigControl::ModuleListCatConfigControl( vlc_object_t *p_this,
sizer
->
Add
(
text
,
0
,
wxEXPAND
|
wxALL
,
5
);
sizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
vlc_wraptext
(
_
(
"Select "
"
which modules you want to use. To get more advanced control, you
"
"
can also modify the resulting
\"
chain
\"
by yourself
"
)
,
72
)
)
)
);
"
the desired modules. For more advanced control, the
"
"
resulting
\"
chain
\"
can be modified.
"
)
,
72
)
)
)
);
sizer
->
Layout
();
this
->
SetSizerAndFit
(
sizer
);
...
...
modules/gui/wxwidgets/dialogs/streamout.cpp
View file @
7fd36323
...
...
@@ -171,9 +171,9 @@ SoutDialog::SoutDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
wxU
(
_
(
"Target:"
)));
mrl_combo
=
new
wxComboBox
(
panel
,
MRL_Event
,
wxT
(
""
),
wxPoint
(
20
,
25
),
wxSize
(
120
,
-
1
)
);
mrl_combo
->
SetToolTip
(
wxU
(
_
(
"
You can use this field directly by typing
"
"
the full MRL you want to stream to.
\n
""Alternatively, the field will b
e "
"
filled automatically when you use the controls below
"
))
);
mrl_combo
->
SetToolTip
(
wxU
(
_
(
"
Specifies the MRL. This can be specified
"
"
directly or filled in automatically by adjusting th
e "
"
stream settings.
"
))
);
mrl_sizer
->
Add
(
mrl_label
,
0
,
wxALL
|
wxALIGN_CENTER
,
5
);
mrl_sizer
->
Add
(
mrl_combo
,
1
,
wxALL
|
wxALIGN_CENTER
,
5
);
...
...
modules/gui/wxwidgets/dialogs/updatevlc.cpp
View file @
7fd36323
...
...
@@ -152,7 +152,7 @@ void UpdateVLC::OnCheckForUpdate( wxCommandEvent& event )
}
main_sizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
_
(
"
\n
Available "
"updates and related downloads
\n
"
"updates and related downloads
.
\n
"
"(Double click on a file to download it)
\n
"
)
)
)
);
main_sizer
->
Add
(
list
);
SetSizerAndFit
(
main_sizer
);
...
...
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
View file @
7fd36323
...
...
@@ -216,7 +216,7 @@ void VLMPanel::OnLoad( wxCommandEvent &event )
wxT
(
"*"
),
wxOPEN
|
wxMULTIPLE
);
if
(
p_file_dialog
==
NULL
)
return
;
p_file_dialog
->
SetTitle
(
wxU
(
_
(
"Load
c
onfiguration"
)
)
);
p_file_dialog
->
SetTitle
(
wxU
(
_
(
"Load
C
onfiguration"
)
)
);
if
(
p_file_dialog
->
ShowModal
()
==
wxID_OK
)
{
vlm_Load
(
p_vlm
->
GetVLM
(),
p_file_dialog
->
GetPath
().
mb_str
()
);
...
...
@@ -230,7 +230,7 @@ void VLMPanel::OnSave( wxCommandEvent &event )
wxT
(
"*"
),
wxSAVE
|
wxOVERWRITE_PROMPT
);
if
(
p_file_dialog
==
NULL
)
return
;
p_file_dialog
->
SetTitle
(
wxU
(
_
(
"Save
c
onfiguration"
)
)
);
p_file_dialog
->
SetTitle
(
wxU
(
_
(
"Save
C
onfiguration"
)
)
);
if
(
p_file_dialog
->
ShowModal
()
==
wxID_OK
)
{
vlm_Save
(
p_vlm
->
GetVLM
(),
p_file_dialog
->
GetPath
().
mb_str
()
);
...
...
modules/gui/wxwidgets/dialogs/wizard.cpp
View file @
7fd36323
...
...
@@ -90,17 +90,17 @@ END_EVENT_TABLE()
#define HELLO_TRANSCODE _("Transcode/Save to file")
#define HELLO_TRANSCODE_DESC _("Use this to re-encode a stream and save it "\
"to a file.")
#define HELLO_NOTICE _("This wizard only
gives access to
a small subset " \
#define HELLO_NOTICE _("This wizard only
contains
a small subset " \
"of VLC's streaming and transcoding capabilities. Use the Open "\
"and Stream Output dialogs to
get
all of them.")
"and Stream Output dialogs to
access
all of them.")
#define MOREINFO_STREAM _("Use this to stream on a network")
#define MOREINFO_TRANSCODE _("
Use this to save a stream to a file. You have "
\
"
the ability to reencode the stream. You can save whatever
" \
"
VLC can read.\nPlease notice that VLC is not very suited
" \
"
for file to file transcoding. You should use i
ts transcoding " \
"features
to save network streams, for example
." )
#define MOREINFO_TRANSCODE _("
Saves the stream to a file. The stream must "
\
"
be a format that VLC recognizes. If desired, the stream can also
" \
"
be transcoded to another format.\n\nPlease note that VLC is not very
" \
"
suited for file-to-file transcoding. I
ts transcoding " \
"features
are more appropriate for saving network streams
." )
/* Input page */
#define INPUT_TITLE _("Input")
...
...
@@ -110,58 +110,58 @@ END_EVENT_TABLE()
#define INPUT_PL _( "Existing playlist item" )
#define CHOOSE_STREAM _("You must choose a stream")
#define NO_PLAYLIST _("U
h Oh! Unable to find playlist !
")
#define NO_PLAYLIST _("U
nable to find playlist
")
#define PARTIAL _("Use this to read only a part of the stream. " \
"You must be able to control the incoming stream " \
"To use, enter the starting and ending times (in seconds)." \
"\n\nNote: You must be able to control the incoming stream " \
"(for example, a file or a disc, but not a RTP/UDP " \
"network stream
.)
\n" \
"Enter the starting and ending times (in seconds)."
)
"network stream
).
\n" \
)
#define INPUT_BUTTON _("Choose")
/* Transcode 1 */
#define TRANSCODE1_TITLE _("Transcode")
#define TRANSCODE1_TEXT _("If you want to change the compression format " \
"of the audio or video tracks, fill in this page. " \
"(If you only want to change the container format, proceed to next " \
" page.)")
#define TRANSCODE1_TEXT _("Changes the compression format " \
"of the audio or video tracks. To change only the " \
"container format, proceed to the next page.")
#define TR_VIDEO_TEXT0 _("Transcode video (if
your stream has som
e)" )
#define TR_VIDEO_TEXT _("Select the target video codec. C
lick one to get more
" \
"
information
.")
#define TR_VIDEO_TEXT0 _("Transcode video (if
availabl
e)" )
#define TR_VIDEO_TEXT _("Select the target video codec. C
hoose a codec to
" \
"
display more information about it
.")
#define TR_AUDIO_TEXT0 _("Transcode audio (if
your stream has som
e)"
#define TR_AUDIO_TEXT _("Select the target audio codec. C
lick one to get more
" \
"
information
.")
#define TR_AUDIO_TEXT0 _("Transcode audio (if
availabl
e)"
#define TR_AUDIO_TEXT _("Select the target audio codec. C
hoose a codec to
" \
"
display more information about it
.")
/* Streaming 1 */
#define STREAMING1_TITLE _("Streaming")
#define STREAMING1_TEXT _("
In this page, you will select how your
input stream will be sent.")
#define STREAMING1_TEXT _("
Determines how the
input stream will be sent.")
#define INVALID_MCAST_ADDRESS _("This does not appear to be a valid " \
"multicast address" )
#define NO_ADDRESS_TEXT _("
You need to
enter an address" )
#define NO_ADDRESS_TEXT _("
Please
enter an address" )
/* Encap */
#define ENCAP_TITLE _("Encapsulation format")
#define ENCAP_TEXT _("
In this page, you will select how the stream will be "
\
"
encapsulated. Depending on the choices you made, all "
\
"
formats won'
t be available." )
#define ENCAP_TEXT _("
Determines how the stream will be encapsulated. "
\
"
Depending on the previous choices, some formats "
\
"
might no
t be available." )
/* Transcode 2 */
#define EXTRATRANSCODE_TITLE _("Additional transcode options")
#define EXTRATRANSCODE_TEXT _("
In this page, you will define a few
" \
"
additionnal parameters for your transcoding
" )
#define EXTRATRANSCODE_TEXT _("
Defines a few additional parameters
" \
"
for the transcoding.
" )
#define CHOOSE_OUTFILE _("You must choose a file to save to")
/* Streaming 2 */
#define EXTRASTREAMING_TITLE _("Additional streaming options")
#define EXTRASTREAMING_TEXT _("
In this page, you will define a few
" \
"
additionnal parameters for your stream
" )
#define EXTRASTREAMING_TEXT _("
Defines a few additional parameters
" \
"
for the stream.
" )
#define TTL _("Define the TTL (Time-To-Live) of the stream. This parameter " \
"is the maximum number of routers your stream can go through. " \
...
...
@@ -172,8 +172,8 @@ END_EVENT_TABLE()
"using the SAP/SDP announcing protocol. This way, the clients " \
"won't have to type in the multicast address, it will appear " \
"in their playlist if they enable the SAP extra interface.\n" \
"If you want to give a name to your stream, enter it here
,
" \
"
else, a default name will be used
" )
"If you want to give a name to your stream, enter it here
.
" \
"
Otherwise, a default name will be used.
" )
/*****************************************************************************
* All the pages of the wizard, declaration
...
...
modules/gui/wxwidgets/interface.cpp
View file @
7fd36323
...
...
@@ -590,7 +590,7 @@ void Interface::CreateOurMenuBar()
}
view_menu
->
Append
(
Logs_Event
,
wxU
(
_
(
"&Messages...
\t
Ctrl-M"
))
);
view_menu
->
Append
(
FileInfo_Event
,
wxU
(
_
(
"Stream and Media &
i
nfo...
\t
Ctrl-I"
))
);
wxU
(
_
(
"Stream and Media &
I
nfo...
\t
Ctrl-I"
))
);
view_menu
->
Append
(
VLM_Event
,
wxU
(
_
(
"VLM Control...
\t
Ctrl-V"
))
);
...
...
@@ -604,7 +604,7 @@ void Interface::CreateOurMenuBar()
wxMenu
*
help_menu
=
new
wxMenu
;
help_menu
->
Append
(
About_Event
,
wxU
(
_
(
"About..."
))
);
help_menu
->
AppendSeparator
();
help_menu
->
Append
(
UpdateVLC_Event
,
wxU
(
_
(
"Check for
u
pdates..."
))
);
help_menu
->
Append
(
UpdateVLC_Event
,
wxU
(
_
(
"Check for
U
pdates..."
))
);
/* Append the freshly created menus to the menu bar... */
wxMenuBar
*
menubar
=
new
wxMenuBar
();
...
...
@@ -1493,7 +1493,7 @@ wxMenu* Systray::CreatePopupMenu()
systray_menu
->
Append
(
StopStream_Event
,
wxU
(
_
(
"Stop"
))
);
}
systray_menu
->
AppendSeparator
();
systray_menu
->
Append
(
Iconize_Event
,
wxU
(
_
(
"Show/Hide
i
nterface"
))
);
systray_menu
->
Append
(
Iconize_Event
,
wxU
(
_
(
"Show/Hide
I
nterface"
))
);
return
systray_menu
;
}
...
...
modules/gui/wxwidgets/streamdata.cpp
View file @
7fd36323
...
...
@@ -125,10 +125,10 @@ const struct method methods_array[] =
{
"rtp"
,
N_
(
"RTP Multicast"
),
N_
(
"Stream to a dynamic group of computers on a "
"multicast-enabled network. This is the most efficient method "
"to stream to several computers, but it does not work over Internet."
),
N_
(
"Enter the multicast address to stream to
in this field
. "
"to stream to several computers, but it does not work over
the
Internet."
),
N_
(
"Enter the multicast address to stream to. "
"This must be an IP address between 224.0.0.0 an 239.255.255.255. "
"For
a
private use, enter an address beginning with 239.255."
),
"For private use, enter an address beginning with 239.255."
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"http"
,
"HTTP"
,
N_
(
"Stream to several computers. This method is "
...
...
modules/gui/wxwidgets/wxwidgets.cpp
View file @
7fd36323
...
...
@@ -107,7 +107,7 @@ private:
#define PLAYLIST_LONGTEXT N_("There are two possible playlist views in the " \
"interface : the normal playlist (separate window), or an " \
"embedded playlist (within the main interface, but with " \
"less features. You can select which one will be available " \
"less features
)
. You can select which one will be available " \
"on the toolbar (or both)." )
static
int
pi_playlist_views
[]
=
{
0
,
1
,
2
};
...
...
modules/gui/wxwidgets/wxwidgets.hpp
View file @
7fd36323
...
...
@@ -82,7 +82,7 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
/*
* wxL2U() use to convert localized “data” strings (while wxU() would convert
* strings from gettext messages). Nowadays, the core use UTF-8 internally
* and wxL2U() is only an obsol
o
ted name for wxU().
* and wxL2U() is only an obsol
e
ted name for wxU().
*/
#define wxL2U(utf8) wxU(utf8)
...
...
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