Skip to content

Commit

Permalink
Fix various typos
Browse files Browse the repository at this point in the history
Found via codespell
  • Loading branch information
luzpaz committed Mar 5, 2025
1 parent 985120c commit b9d42cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/core/Expressions/presets/orbitX.fexpr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author=pgilfernandez
bindings="frame = $frame;\nvalue =$value "
categories=
definitions=
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
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
highlighters=
id=graphics.friction.orbitX
license=
Expand Down
2 changes: 1 addition & 1 deletion src/core/Expressions/presets/orbitY.fexpr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author=pgilfernandez
bindings="frame = $frame;\nvalue =$value \n"
categories=
definitions=
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
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
highlighters=
id=graphics.friction.orbitY
license=
Expand Down
4 changes: 2 additions & 2 deletions src/core/appsupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,13 +501,13 @@ const QString AppSupport::getRasterEffectHardwareSupportString(const QString &ef
result = tr("CPU-only");
break;
case HardwareSupport::cpuPreffered:
result = tr("CPU preffered");
result = tr("CPU preferred");
break;
case HardwareSupport::gpuOnly:
result = tr("GPU-only");
break;
case HardwareSupport::gpuPreffered:
result = tr("GPU preffered");
result = tr("GPU preferred");
break;
default:;
}
Expand Down
6 changes: 3 additions & 3 deletions src/ui/widgets/performancesettingswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ void PerformanceSettingsWidget::setupRasterEffectWidgets()
for (const auto &effect : effects) {
const auto box = new QComboBox(this);
box->addItem(tr("CPU-only"), static_cast<int>(HardwareSupport::cpuOnly));
box->addItem(tr("CPU preffered"), static_cast<int>(HardwareSupport::cpuPreffered));
box->addItem(tr("CPU preferred"), static_cast<int>(HardwareSupport::cpuPreffered));
box->addItem(tr("GPU-only"), static_cast<int>(HardwareSupport::gpuOnly));
box->addItem(tr("GPU preffered"), static_cast<int>(HardwareSupport::gpuPreffered));
box->addItem(tr("GPU preferred"), static_cast<int>(HardwareSupport::gpuPreffered));
box->setItemData(0, effect, RASTER_HW_SUPPORT_ID);
box->setCurrentText(AppSupport::getRasterEffectHardwareSupportString(effect, defaultSupport));
mRasterEffectsHardwareSupport << box;
Expand Down Expand Up @@ -302,7 +302,7 @@ void PerformanceSettingsWidget::saveRasterEffectsSupport()
void PerformanceSettingsWidget::restoreDefaultRasterEffectsSupport()
{
for (const auto &box : mRasterEffectsHardwareSupport) {
box->setCurrentText(tr("GPU preffered"));
box->setCurrentText(tr("GPU preferred"));
}
}

Expand Down

0 comments on commit b9d42cf

Please # to comment.