Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
253
Issues
253
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
Multimedia
Kdenlive
Commits
425cce14
Commit
425cce14
authored
May 10, 2020
by
Yuri Chornoivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use i18np() instead of inplace implementation
parent
47989cc1
Pipeline
#19902
passed with stage
in 9 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/timeline2/view/dialogs/trackdialog.cpp
src/timeline2/view/dialogs/trackdialog.cpp
+1
-1
No files found.
src/timeline2/view/dialogs/trackdialog.cpp
View file @
425cce14
...
@@ -40,7 +40,7 @@ TrackDialog::TrackDialog(const std::shared_ptr<TimelineItemModel> &model, int tr
...
@@ -40,7 +40,7 @@ TrackDialog::TrackDialog(const std::shared_ptr<TimelineItemModel> &model, int tr
connect
(
audio_track
,
&
QRadioButton
::
toggled
,
this
,
&
TrackDialog
::
buildCombo
);
connect
(
audio_track
,
&
QRadioButton
::
toggled
,
this
,
&
TrackDialog
::
buildCombo
);
connect
(
arec_track
,
&
QRadioButton
::
toggled
,
this
,
&
TrackDialog
::
buildCombo
);
connect
(
arec_track
,
&
QRadioButton
::
toggled
,
this
,
&
TrackDialog
::
buildCombo
);
connect
(
tracks_count
,
QOverload
<
int
>::
of
(
&
QSpinBox
::
valueChanged
),
[
this
]
(
int
count
)
{
connect
(
tracks_count
,
QOverload
<
int
>::
of
(
&
QSpinBox
::
valueChanged
),
[
this
]
(
int
count
)
{
tracks_count
->
setSuffix
(
count
>
1
?
i18n
(
" tracks"
)
:
i18n
(
" track"
));
tracks_count
->
setSuffix
(
i18np
(
" track"
,
" tracks"
,
count
));
track_name
->
setEnabled
(
count
==
1
);
track_name
->
setEnabled
(
count
==
1
);
});
});
if
(
deleteMode
)
{
if
(
deleteMode
)
{
...
...
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