mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 00:50:05 +02:00
some i18n-hint comments
This commit is contained in:
parent
010217d83c
commit
3d54d912c0
@ -5439,7 +5439,9 @@ void TrackPanel::HandleRearrange(wxMouseEvent & event)
|
||||
if (event.LeftUp()) {
|
||||
if (mRearrangeCount != 0) {
|
||||
wxString dir;
|
||||
/* i18n-hint: a direction as in up or down.*/
|
||||
dir = mRearrangeCount < 0 ? _("up") : _("down");
|
||||
/* i18n-hint: will substitute name of track for first %s, "up" or "down" for the other.*/
|
||||
MakeParentPushState(wxString::Format(_("Moved '%s' %s"),
|
||||
mCapturedTrack->GetName().c_str(),
|
||||
dir.c_str()),
|
||||
@ -5467,7 +5469,6 @@ void TrackPanel::HandleRearrange(wxMouseEvent & event)
|
||||
else if (event.m_y > mMoveDownThreshold || event.m_y > GetRect().GetHeight()) {
|
||||
mTracks->MoveDown(mCapturedTrack);
|
||||
++mRearrangeCount;
|
||||
/* i18n-hint: a direction as in up or down.*/
|
||||
if (pMixerBoard)
|
||||
if(auto pPlayable = dynamic_cast< const PlayableTrack* >( mCapturedTrack ))
|
||||
pMixerBoard->MoveTrackCluster(pPlayable, false /* down */);
|
||||
|
Loading…
x
Reference in New Issue
Block a user