Skip to content

Commit

Permalink
Merge pull request #12590 from glocq/glocq-tooltipcorrection
Browse files Browse the repository at this point in the history
Improve `rate_up/down` tooltips, pitch vs. speed
  • Loading branch information
ronso0 authored Mar 12, 2024
2 parents a0de3e2 + 64e1677 commit 24b415c
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions src/skin/legacy/tooltips.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,28 +324,44 @@ void Tooltips::addStandardTooltips() {
<< tr("Manual: Sets how much to reduce the music volume, when talkover is activated regardless of volume of microphone inputs.");

QString changeAmount = tr("Change the step-size in the Preferences -> Decks menu.");
QString pitchAffected = tr("If keylock is disabled, pitch is also affected.");

add("rate_perm_up_rate_perm_up_small")
<< tr("Raise Pitch")
<< QString("%1: %2").arg(leftClick, tr("Sets the pitch higher."))
<< QString("%1: %2").arg(rightClick, tr("Sets the pitch higher in small steps."))
<< tr("Speed Up")
<< QString("%1: %2").arg(leftClick,
tr("Raises the track playback speed (tempo)."))
<< pitchAffected
<< QString("%1: %2").arg(
rightClick, tr("Raises playback speed in small steps."))
<< changeAmount;

add("rate_perm_down_rate_perm_down_small")
<< tr("Lower Pitch")
<< QString("%1: %2").arg(leftClick, tr("Sets the pitch lower."))
<< QString("%1: %2").arg(rightClick, tr("Sets the pitch lower in small steps."))
<< tr("Slow Down")
<< QString("%1: %2").arg(leftClick,
tr("Lowers the track playback speed (tempo)."))
<< pitchAffected
<< QString("%1: %2").arg(
rightClick, tr("Lowers playback speed in small steps."))
<< changeAmount;

add("rate_temp_up_rate_temp_up_small")
<< tr("Raise Pitch Temporary (Nudge)")
<< QString("%1: %2").arg(leftClick, tr("Holds the pitch higher while active."))
<< QString("%1: %2").arg(rightClick, tr("Holds the pitch higher (small amount) while active."))
<< tr("Speed Up Temporarily (Nudge)")
<< QString("%1: %2").arg(leftClick,
tr("Holds playback speed higher while active (tempo)."))
<< pitchAffected
<< QString("%1: %2").arg(rightClick,
tr("Holds playback speed higher (small amount) while "
"active."))
<< changeAmount;

add("rate_temp_down_rate_temp_down_small")
<< tr("Lower Pitch Temporary (Nudge)")
<< QString("%1: %2").arg(leftClick, tr("Holds the pitch lower while active."))
<< QString("%1: %2").arg(rightClick, tr("Holds the pitch lower (small amount) while active."))
<< tr("Slow Down Temporarily (Nudge)")
<< QString("%1: %2").arg(leftClick,
tr("Holds playback speed lower while active (tempo)."))
<< pitchAffected
<< QString("%1: %2").arg(rightClick,
tr("Holds playback speed lower (small amount) while "
"active."))
<< changeAmount;

add("filterLow")
Expand Down

0 comments on commit 24b415c

Please sign in to comment.