Skip to content

Commit

Permalink
make word separator with : translatable for different typographical c…
Browse files Browse the repository at this point in the history
…onventions
  • Loading branch information
Be-ing committed Dec 7, 2016
1 parent 35bf933 commit a5a2fdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widget/weffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void WEffect::effectUpdated() {
const EffectManifest& manifest = pEffect->getManifest();
if (!manifest.shortName().isEmpty()) {
name = manifest.shortName();
description = manifest.name() + ": " + manifest.description();
description = manifest.name() + tr(": ") + manifest.description();
} else {
name = manifest.name();
description = manifest.description();
Expand Down
2 changes: 1 addition & 1 deletion src/widget/weffectparameterbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void WEffectParameterBase::parameterUpdated() {
if (!m_pEffectParameterSlot->shortName().isEmpty()) {
setText(m_pEffectParameterSlot->shortName());
setBaseTooltip(m_pEffectParameterSlot->name()
+ QString(": ") +
+ tr(": ") +
m_pEffectParameterSlot->description());
} else {
setText(m_pEffectParameterSlot->name());
Expand Down

0 comments on commit a5a2fdc

Please sign in to comment.