Skip to content

Commit feffafc

Browse files
authored
Merge pull request #472 from luzpaz/typos
Fix various typos
2 parents 985120c + b9d42cf commit feffafc

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/core/Expressions/presets/orbitX.fexpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author=pgilfernandez
33
bindings="frame = $frame;\nvalue =$value "
44
categories=
55
definitions=
6-
description=To be applied to X parameter. It simulates the orbit around an origin with 'translate' X and Y parameters. It could be connected to custom properties to allow easier controll of both expressions
6+
description=To be applied to X parameter. It simulates the orbit around an origin with 'translate' X and Y parameters. It could be connected to custom properties to allow easier control of both expressions
77
highlighters=
88
id=graphics.friction.orbitX
99
license=

src/core/Expressions/presets/orbitY.fexpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author=pgilfernandez
33
bindings="frame = $frame;\nvalue =$value \n"
44
categories=
55
definitions=
6-
description=To be applied to Y parameter. It simulates the orbit around an origin with 'translate' X and Y parameters. It could be connected to custom properties to allow easier controll of both expressions
6+
description=To be applied to Y parameter. It simulates the orbit around an origin with 'translate' X and Y parameters. It could be connected to custom properties to allow easier control of both expressions
77
highlighters=
88
id=graphics.friction.orbitY
99
license=

src/core/appsupport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,13 +501,13 @@ const QString AppSupport::getRasterEffectHardwareSupportString(const QString &ef
501501
result = tr("CPU-only");
502502
break;
503503
case HardwareSupport::cpuPreffered:
504-
result = tr("CPU preffered");
504+
result = tr("CPU preferred");
505505
break;
506506
case HardwareSupport::gpuOnly:
507507
result = tr("GPU-only");
508508
break;
509509
case HardwareSupport::gpuPreffered:
510-
result = tr("GPU preffered");
510+
result = tr("GPU preferred");
511511
break;
512512
default:;
513513
}

src/ui/widgets/performancesettingswidget.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ void PerformanceSettingsWidget::setupRasterEffectWidgets()
265265
for (const auto &effect : effects) {
266266
const auto box = new QComboBox(this);
267267
box->addItem(tr("CPU-only"), static_cast<int>(HardwareSupport::cpuOnly));
268-
box->addItem(tr("CPU preffered"), static_cast<int>(HardwareSupport::cpuPreffered));
268+
box->addItem(tr("CPU preferred"), static_cast<int>(HardwareSupport::cpuPreffered));
269269
box->addItem(tr("GPU-only"), static_cast<int>(HardwareSupport::gpuOnly));
270-
box->addItem(tr("GPU preffered"), static_cast<int>(HardwareSupport::gpuPreffered));
270+
box->addItem(tr("GPU preferred"), static_cast<int>(HardwareSupport::gpuPreffered));
271271
box->setItemData(0, effect, RASTER_HW_SUPPORT_ID);
272272
box->setCurrentText(AppSupport::getRasterEffectHardwareSupportString(effect, defaultSupport));
273273
mRasterEffectsHardwareSupport << box;
@@ -302,7 +302,7 @@ void PerformanceSettingsWidget::saveRasterEffectsSupport()
302302
void PerformanceSettingsWidget::restoreDefaultRasterEffectsSupport()
303303
{
304304
for (const auto &box : mRasterEffectsHardwareSupport) {
305-
box->setCurrentText(tr("GPU preffered"));
305+
box->setCurrentText(tr("GPU preferred"));
306306
}
307307
}
308308

0 commit comments

Comments
 (0)