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
fa0c3cd5
Commit
fa0c3cd5
authored
17 years ago
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n fixes
parent
3ac61394
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
54 deletions
+54
-54
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+10
-10
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+36
-36
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+2
-2
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+6
-6
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
fa0c3cd5
...
...
@@ -104,11 +104,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
case
CONFIG_CATEGORY
:
if
(
p_item
->
value
.
i
==
-
1
)
break
;
data
=
new
PrefsItemData
();
data
->
name
=
QString
(
q
fu
(
config_CategoryNameGet
data
->
name
=
QString
(
q
tr
(
config_CategoryNameGet
(
p_item
->
value
.
i
)
)
);
psz_help
=
config_CategoryHelpGet
(
p_item
->
value
.
i
);
if
(
psz_help
)
data
->
help
=
QString
(
q
fu
(
psz_help
)
);
data
->
help
=
QString
(
q
tr
(
psz_help
)
);
else
data
->
help
.
clear
();
data
->
i_type
=
TYPE_CATEGORY
;
...
...
@@ -149,11 +149,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
// Data still contains the correct thing
data
->
i_type
=
TYPE_CATSUBCAT
;
data
->
i_subcat_id
=
p_item
->
value
.
i
;
data
->
name
=
QString
(
q
fu
(
config_CategoryNameGet
(
data
->
name
=
QString
(
q
tr
(
config_CategoryNameGet
(
p_item
->
value
.
i
))
);
psz_help
=
config_CategoryHelpGet
(
p_item
->
value
.
i
);
if
(
psz_help
)
data
->
help
=
QString
(
q
fu
(
psz_help
)
);
data
->
help
=
QString
(
q
tr
(
psz_help
)
);
else
data
->
help
.
clear
();
current_item
->
setData
(
0
,
Qt
::
UserRole
,
...
...
@@ -161,11 +161,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
continue
;
}
data
=
new
PrefsItemData
();
data
->
name
=
QString
(
q
fu
(
config_CategoryNameGet
(
data
->
name
=
QString
(
q
tr
(
config_CategoryNameGet
(
p_item
->
value
.
i
))
);
psz_help
=
config_CategoryHelpGet
(
p_item
->
value
.
i
);
if
(
psz_help
)
data
->
help
=
QString
(
q
fu
(
psz_help
)
);
data
->
help
=
QString
(
q
tr
(
psz_help
)
);
else
data
->
help
.
clear
();
data
->
i_type
=
TYPE_SUBCATEGORY
;
...
...
@@ -259,7 +259,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
module_data
->
help
.
clear
();
// TODO image
QTreeWidgetItem
*
module_item
=
new
QTreeWidgetItem
();
module_item
->
setText
(
0
,
q
fu
(
p_module
->
psz_shortname
?
module_item
->
setText
(
0
,
q
tr
(
p_module
->
psz_shortname
?
p_module
->
psz_shortname
:
p_module
->
psz_object_name
)
);
//item->setIcon( 0 , XXX );
module_item
->
setData
(
0
,
Qt
::
UserRole
,
...
...
@@ -390,11 +390,11 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
else
{
head
=
QString
(
q
fu
(
p_module
->
psz_longname
)
);
head
=
QString
(
q
tr
(
p_module
->
psz_longname
)
);
if
(
p_module
->
psz_help
)
{
help
.
append
(
"
\n
"
);
help
.
append
(
q
fu
(
p_module
->
psz_help
)
);
help
.
append
(
q
tr
(
p_module
->
psz_help
)
);
}
}
...
...
@@ -446,7 +446,7 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
layout
->
addWidget
(
box
,
i_line
,
0
,
1
,
2
);
i_line
++
;
}
box
=
new
QGroupBox
(
q
fu
(
p_item
->
psz_text
)
);
box
=
new
QGroupBox
(
q
tr
(
p_item
->
psz_text
)
);
boxlayout
=
new
QGridLayout
();
}
/* Only one hotkey control */
...
...
This diff is collapsed.
Click to expand it.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
fa0c3cd5
This diff is collapsed.
Click to expand it.
modules/gui/qt4/dialogs/help.cpp
View file @
fa0c3cd5
...
...
@@ -93,8 +93,8 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
/* add the tabs to the Tabwidget */
tab
->
addTab
(
NULL
,
_
(
"Information"
)
);
tab
->
addTab
(
NULL
,
_
(
"Authors"
)
);
tab
->
addTab
(
thanksEdit
,
_
(
"Thanks"
)
);
tab
->
addTab
(
licenseEdit
,
_
(
"Distribution License"
)
);
tab
->
addTab
(
thanksEdit
,
qtr
(
"Thanks"
)
);
tab
->
addTab
(
licenseEdit
,
qtr
(
"Distribution License"
)
);
BUTTONACT
(
closeButton
,
close
()
);
}
...
...
This diff is collapsed.
Click to expand it.
modules/gui/qt4/dialogs_provider.hpp
View file @
fa0c3cd5
...
...
@@ -42,32 +42,32 @@
#define EXT_FILTER_SUBTITLE 0x10
#define ADD_FILTER_MEDIA( string ) \
string +=
_
("Media Files"); \
string +=
qtr
("Media Files"); \
string += " ( "; \
string += EXTENSIONS_MEDIA; \
string += ");;";
#define ADD_FILTER_VIDEO( string ) \
string +=
_
("Video Files"); \
string +=
qtr
("Video Files"); \
string += " ( "; \
string += EXTENSIONS_VIDEO; \
string += ");;";
#define ADD_FILTER_AUDIO( string ) \
string +=
_
("Audio Files"); \
string +=
qtr
("Audio Files"); \
string += " ( "; \
string += EXTENSIONS_AUDIO; \
string += ");;";
#define ADD_FILTER_PLAYLIST( string )\
string +=
_
("Playlist Files"); \
string +=
qtr
("Playlist Files"); \
string += " ( "; \
string += EXTENSIONS_PLAYLIST; \
string += ");;";
#define ADD_FILTER_SUBTITLE( string )\
string +=
_
("Subtitles Files"); \
string +=
qtr
("Subtitles Files"); \
string += " ( "; \
string += EXTENSIONS_SUBTITLE; \
string += ");;";
#define ADD_FILTER_ALL( string ) \
string +=
_
("All Files"); \
string +=
qtr
("All Files"); \
string += " (*.*)";
#define OPEN_FILE_TAB 0x0
...
...
This diff is collapsed.
Click to expand it.
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