Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
a6423545
Commit
a6423545
authored
Jan 16, 2010
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix translation auto detection
parent
ddd13389
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/CMakeLists.txt
src/CMakeLists.txt
+1
-0
src/Gui/LanguagePreferences.cpp
src/Gui/LanguagePreferences.cpp
+1
-1
No files found.
src/CMakeLists.txt
View file @
a6423545
...
...
@@ -24,6 +24,7 @@ ENDMACRO(ADD_TRANSLATION_FILES)
FILE
(
GLOB TS_FILES
${
CMAKE_SOURCE_DIR
}
/ts/*.ts
)
set_property
(
DIRECTORY PROPERTY APPEND PROPERTY COMPILE_DEFINITIONS TS_DIR=
"
${
CMAKE_SOURCE_DIR
}
/ts/"
)
ADD_TRANSLATION_FILES
(
VLMC_QM
${
TS_FILES
}
)
...
...
src/Gui/LanguagePreferences.cpp
View file @
a6423545
...
...
@@ -35,7 +35,7 @@ LanguagePreferences::LanguagePreferences( QWidget *parent )
{
m_ui
.
setupUi
(
this
);
QDir
dir
(
"ts/"
,
"*.qm"
,
QDir
::
Name
|
QDir
::
IgnoreCase
,
QDir
::
Files
);
QDir
dir
(
TS_DIR
,
"*.qm"
,
QDir
::
Name
|
QDir
::
IgnoreCase
,
QDir
::
Files
);
QStringList
tss
=
dir
.
entryList
();
m_ui
.
comboBoxLanguage
->
setInsertPolicy
(
QComboBox
::
InsertAlphabetically
);
...
...
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