Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flatpak-qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marco Bubke
flatpak-qt-creator
Commits
f9cd84c1
Commit
f9cd84c1
authored
15 years ago
by
Oswald Buddenhagen
Browse files
Options
Downloads
Patches
Plain Diff
don't abuse special TRANSLATIONS variable
parent
d4797bd9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/qtcreator/translations/translations.pro
+5
-5
5 additions, 5 deletions
share/qtcreator/translations/translations.pro
with
5 additions
and
5 deletions
share/qtcreator/translations/translations.pro
+
5
−
5
View file @
f9cd84c1
include
(..
/../../
qtcreator
.
pri
)
TRANSLATION
S
=
de
it
ja
ru
LANGUAGE
S
=
de
it
ja
ru
#
var
,
prepend
,
append
defineReplace
(
prependAll
)
{
...
...
@@ -11,10 +11,10 @@ defineReplace(prependAll) {
LUPDATE
=
$$
targetPath
(
$$
[
QT_INSTALL_BINS
]
/
lupdate
)
-
locations
relative
-
no
-
ui
-
lines
LRELEASE
=
$$
targetPath
(
$$
[
QT_INSTALL_BINS
]
/
lrelease
)
T
S_FILE
S
=
$$
prependAll
(
TRANSLATION
S
,
$$
PWD
/
qtcreator_
,.
ts
)
T
RANSLATION
S
=
$$
prependAll
(
LANGUAGE
S
,
$$
PWD
/
qtcreator_
,.
ts
)
contains
(
QT_VERSION
,
^
4
\
.[
0
-
5
]
\
..
*
)
:
ts
.
commands
=
@
echo
This
Qt
version
is
too
old
for
the
ts
target
.
Need
Qt
4.6
+.
else
:
ts
.
commands
=
(
cd
$$
IDE_SOURCE_TREE
&&
$$
LUPDATE
src
-
ts
$$
T
S_FILE
S
)
else
:
ts
.
commands
=
(
cd
$$
IDE_SOURCE_TREE
&&
$$
LUPDATE
src
-
ts
$$
T
RANSLATION
S
)
QMAKE_EXTRA_TARGETS
+=
ts
TEMPLATE
=
app
...
...
@@ -23,7 +23,7 @@ CONFIG -= qt
QT
=
LIBS
=
updateqm
.
input
=
T
S_FILE
S
updateqm
.
input
=
T
RANSLATION
S
updateqm
.
output
=
$$
IDE_DATA_PATH
/
translations
/
$
{
QMAKE_FILE_BASE
}.
qm
isEmpty
(
vcproj
)
:
updateqm
.
variable_out
=
PRE_TARGETDEPS
updateqm
.
commands
=
$$
LRELEASE
$
{
QMAKE_FILE_IN
}
-
qm
$
{
QMAKE_FILE_OUT
}
...
...
@@ -47,6 +47,6 @@ isEmpty(vcproj) {
QMAKE_EXTRA_COMPILERS
+=
phony_src
}
qmfiles
.
files
=
$$
prependAll
(
TRANSLATION
S
,
$$
OUT_PWD
/
qtcreator_
,.
qm
)
qmfiles
.
files
=
$$
prependAll
(
LANGUAGE
S
,
$$
OUT_PWD
/
qtcreator_
,.
qm
)
qmfiles
.
path
=
/
share
/
qtcreator
/
translations
INSTALLS
+=
qmfiles
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment