Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f6589017
Commit
f6589017
authored
Mar 25, 2009
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: i18n fixes
parent
1b82d1b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+1
-1
modules/gui/qt4/components/controller.hpp
modules/gui/qt4/components/controller.hpp
+14
-14
modules/gui/qt4/dialogs/toolbar.cpp
modules/gui/qt4/dialogs/toolbar.cpp
+1
-1
No files found.
modules/gui/qt4/components/controller.cpp
View file @
f6589017
...
...
@@ -166,7 +166,7 @@ void AbstractController::createAndAddWidget( QBoxLayout *controlLayout,
CONNECT_MAP( a ); \
SET_MAPPING( a, b );
#define BUTTON_SET_BAR( a_button ) \
a_button->setToolTip(
tooltipL[button] );
\
a_button->setToolTip(
qtr( tooltipL[button] ) );
\
a_button->setIcon( QIcon( iconL[button] ) );
#define BUTTON_SET_BAR2( button, image, tooltip ) \
button->setToolTip( tooltip ); \
...
...
modules/gui/qt4/components/controller.hpp
View file @
f6589017
...
...
@@ -97,20 +97,20 @@ typedef enum buttonType_e
}
buttonType_e
;
static
const
QString
nameL
[
BUTTON_MAX
]
=
{
"Play"
,
"Stop"
,
"Open"
,
"Previous"
,
"Next"
,
"Slower"
,
"Faster"
,
"Fullscreen"
,
"De-Fullscreen"
,
"Extended panel"
,
"Playlist"
,
"Snapshot"
,
"Record"
,
"A->B Loop"
,
"Frame By Frame"
,
"Trickplay Reverse"
,
"Step backward"
,
"Step forward"
,
"Quit"
};
static
const
QString
tooltipL
[
BUTTON_MAX
]
=
{
I_PLAY_TOOLTIP
,
_
(
"Stop playback"
),
_
(
"Open a medium"
),
_
(
"Previous media in the playlist"
),
_
(
"Next media in the playlist"
),
_
(
"Slower"
),
_
(
"Faster"
),
_
(
"Toggle the video in fullscreen"
),
_
(
"Toggle the video out fullscreen"
),
_
(
"Show extended settings"
),
_
(
"Show playlist"
),
_
(
"Take a snapsho
t"
),
_
(
"Record"
),
_
(
"Loop from point A to point B continuously.
"
),
_
(
"Frame by frame"
),
_
(
"Reverse"
),
_
(
"Step backward"
),
_
(
"Step forward
"
),
_
(
"Quit"
)
};
static
const
char
*
nameL
[
BUTTON_MAX
]
=
{
N_
(
"Play"
),
N_
(
"Stop"
),
N_
(
"Open"
)
,
N_
(
"Previous"
),
N_
(
"Next"
),
N_
(
"Slower"
),
N_
(
"Faster"
),
N_
(
"Fullscreen"
)
,
N_
(
"De-Fullscreen"
),
N_
(
"Extended panel"
),
N_
(
"Playlist"
),
N_
(
"Snapshot"
)
,
N_
(
"Record"
),
N_
(
"A->B Loop"
),
N_
(
"Frame By Frame"
),
N_
(
"Trickplay Reverse"
)
,
N_
(
"Step backward"
),
N_
(
"Step forward"
),
N_
(
"Quit"
)
};
static
const
char
*
tooltipL
[
BUTTON_MAX
]
=
{
I_PLAY_TOOLTIP
,
N_
(
"Stop playback"
),
N
_
(
"Open a medium"
),
N
_
(
"Previous media in the playlist"
),
N_
(
"Next media in the playlist"
),
N_
(
"Slower"
),
N
_
(
"Faster"
),
N_
(
"Toggle the video in fullscreen"
),
N
_
(
"Toggle the video out fullscreen"
),
N_
(
"Show extended settings"
),
N_
(
"Show playlis
t"
),
N_
(
"Take a snapshot"
),
N_
(
"Record
"
),
N_
(
"Loop from point A to point B continuously."
),
N_
(
"Frame by frame
"
),
N_
(
"Reverse"
),
N_
(
"Step backward"
),
N_
(
"Step forward"
),
N
_
(
"Quit"
)
};
static
const
QString
iconL
[
BUTTON_MAX
]
=
{
":/play_b"
,
":/stop_b"
,
":/eject"
,
":/previous_b"
,
":/next_b"
,
":/slower"
,
":/faster"
,
":/fullscreen"
,
":/defullscreen"
,
":/extended"
,
":/playlist"
,
":/snapshot"
,
":/record"
,
...
...
modules/gui/qt4/dialogs/toolbar.cpp
View file @
f6589017
...
...
@@ -284,7 +284,7 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
for
(
int
i
=
0
;
i
<
BUTTON_MAX
;
i
++
)
{
QListWidgetItem
*
widgetItem
=
new
QListWidgetItem
(
this
);
widgetItem
->
setText
(
nameL
[
i
]
);
widgetItem
->
setText
(
qtr
(
nameL
[
i
]
)
);
widgetItem
->
setIcon
(
QIcon
(
iconL
[
i
]
)
);
widgetItem
->
setData
(
Qt
::
UserRole
,
QVariant
(
i
)
);
addItem
(
widgetItem
);
...
...
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