Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

Use i18np() instead of inplace implementation

parent 47989cc1
......@@ -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