mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: typos in comments and error messages (#25320)
This commit is contained in:
parent
e6eca895ba
commit
65f9a228ba
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ class PersonNameEditForm extends HookConsumerWidget {
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: 'name'.tr(),
|
hintText: 'name'.tr(),
|
||||||
border: const OutlineInputBorder(),
|
border: const OutlineInputBorder(),
|
||||||
errorText: isError.value ? 'Error occured' : null,
|
errorText: isError.value ? 'Error occurred' : null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ export class SmartInfoService extends BaseService {
|
||||||
|
|
||||||
const newConfig = await this.getConfig({ withCache: true });
|
const newConfig = await this.getConfig({ withCache: true });
|
||||||
if (machineLearning.clip.modelName !== newConfig.machineLearning.clip.modelName) {
|
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;
|
return JobStatus.Skipped;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue