Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(i18n): remove HTML from translations
Browse files Browse the repository at this point in the history
fixes #3781
  • Loading branch information
sudden6 committed Oct 7, 2016
1 parent 8f37d4c commit c8bde5b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/widget/tool/screenshotgrabber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ void ScreenshotGrabber::setupScene()

void ScreenshotGrabber::useNothingSelectedTooltip()
{
helperTooltip->setHtml(tr("Click and drag to select a region. Press <b>Space</b> to hide/show qTox window, or <b>Escape</b> to cancel.",
"Help text shown when no region has been selected yet"));
helperTooltip->setHtml(tr("Click and drag to select a region. Press %1 to hide/show qTox window, or %2 to cancel.",
"Help text shown when no region has been selected yet")
.arg(QString("<b>%1</b>").arg(tr("Space", "[Space] key on the keyboard")),
QString("<b>%1</b>").arg(tr("Escape", "[Escape] key on the keyboard"))));
adjustTooltipPosition();
}

Expand Down

0 comments on commit c8bde5b

Please sign in to comment.