Commit 425cce14 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Use i18np() instead of inplace implementation

parent 47989cc1
Pipeline #19902 passed with stage
in 9 minutes and 20 seconds
......@@ -40,7 +40,7 @@ TrackDialog::TrackDialog(const std::shared_ptr<TimelineItemModel> &model, int tr
connect(audio_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) {
tracks_count->setSuffix(count > 1 ? i18n(" tracks") : i18n(" track"));
tracks_count->setSuffix(i18np(" track", " tracks", count));
track_name->setEnabled(count == 1);
});
if (deleteMode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment