Skip to content

High performance self-hosted photo and video management solution.

fix: typos in comments and error messages (#25320)

yy65f9a228ba6b
diff --git a/mobile/lib/widgets/search/person_name_edit_form.dart b/mobile/lib/widgets/search/person_name_edit_form.dart
index d95d7c7483..3fa443121a 100644
--- a/mobile/lib/widgets/search/person_name_edit_form.dart
+++ b/mobile/lib/widgets/search/person_name_edit_form.dart
@@ -33,7 +33,7 @@ class PersonNameEditForm extends HookConsumerWidget {
decoration: InputDecoration(
hintText: 'name'.tr(),
border: const OutlineInputBorder(),
- errorText: isError.value ? 'Error occured' : null,
+ errorText: isError.value ? 'Error occurred' : null,
),
),
),
diff --git a/server/src/services/smart-info.service.ts b/server/src/services/smart-info.service.ts
index eff16fea45..d484fe8b6a 100644
--- a/server/src/services/smart-info.service.ts
+++ b/server/src/services/smart-info.service.ts
@@ -117,7 +117,7 @@ export class SmartInfoService extends BaseService {
const newConfig = await this.getConfig({ withCache: true });
if (machineLearning.clip.modelName !== newConfig.machineLearning.clip.modelName) {
- // Skip the job if the the model has changed since the embedding was generated.
+ // Skip the job if the model has changed since the embedding was generated.
return JobStatus.Skipped;
}