Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
1c8a88a9
Commit
1c8a88a9
authored
Jun 13, 2019
by
Pino Toscano
Browse files
i18n fixes
- use the proper i18n() function - avoid string puzzles
parent
73425fa5
Pipeline
#4294
passed with stage
in 14 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/assetlist/view/qml/assetList.qml
View file @
1c8a88a9
...
...
@@ -31,10 +31,6 @@ Rectangle {
SystemPalette
{
id
:
activePalette
}
color
:
activePalette
.
window
function
assetType
(){
return
isEffectList
?
i18n
(
"
effects
"
)
:
i18n
(
"
compositions
"
);
}
function
expandNodes
(
indexes
)
{
for
(
var
i
=
0
;
i
<
indexes
.
length
;
i
++
)
{
if
(
indexes
[
i
].
valid
)
{
...
...
@@ -83,7 +79,7 @@ Rectangle {
checkable
:
true
checked
:
true
exclusiveGroup
:
filterGroup
tooltip
:
i
18n
(
"
Main %1
"
,
assetType
()
)
tooltip
:
i
sEffectList
?
i18n
(
"
Main effects
"
)
:
i18n
(
"
Main compositions
"
)
onClicked
:
{
assetlist
.
setFilterType
(
""
)
}
...
...
@@ -152,7 +148,7 @@ Rectangle {
id
:
showDescription
iconName
:
"
help-about
"
checkable
:
true
tooltip
:
i18n
(
"
Show/hide description of the
%1
"
,
assetType
()
)
tooltip
:
isEffectList
?
i18n
(
"
Show/hide description of the
effects
"
)
:
i18n
(
"
Show/hide description of the compositions
"
)
onCheckedChanged
:{
assetlist
.
showDescription
=
checked
}
...
...
@@ -345,7 +341,7 @@ Rectangle {
}
}
TableViewColumn
{
role
:
"
identifier
"
;
title
:
ш
18
т
(
"
Name
"
);
}
TableViewColumn
{
role
:
"
identifier
"
;
title
:
i
18
n
(
"
Name
"
);
}
model
:
assetListModel
Keys.onDownPressed
:
{
...
...
src/timeline2/view/qml/Clip.qml
View file @
1c8a88a9
...
...
@@ -359,7 +359,7 @@ Rectangle {
}
contentItem
:
Label
{
color
:
activePalette
.
text
text
:
i18n
(
"
Offset
"
)
+
(
positionOffset
<
0
?
(
'
: -
'
+
timeline
.
timecode
(
-
positionOffset
))
:
'
:
'
+
timeline
.
timecode
(
positionOffset
))
text
:
positionOffset
<
0
?
i18n
(
"
Offset: -%1
"
,
timeline
.
timecode
(
-
positionOffset
))
:
i18n
(
"
Offset: %1
"
,
timeline
.
timecode
(
positionOffset
))
}
}
Text
{
...
...
Write
Preview
Supports
Markdown
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