Skip to content

Commit

Permalink
Format file
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Feb 21, 2025
1 parent d33c213 commit 6b717b9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ await GetAllAsync(engineId, modelRevision, corpusId, textId, cancellationToken)
textId,
pretranslations.ToList(),
fullName: targetSettings.FullName,
textBehavior: UpdateUsfmTextBehavior.PreferExisting
textBehavior: UpdateUsfmTextBehavior.PreferExisting

Check failure on line 103 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context

Check failure on line 103 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context
) ?? "";
break;
case PretranslationUsfmTextOrigin.PreferPretranslated:
Expand All @@ -109,7 +109,7 @@ await GetAllAsync(engineId, modelRevision, corpusId, textId, cancellationToken)
textId,
pretranslations.ToList(),
fullName: targetSettings.FullName,
textBehavior: UpdateUsfmTextBehavior.PreferNew
textBehavior: UpdateUsfmTextBehavior.PreferNew

Check failure on line 112 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context

Check failure on line 112 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context
) ?? "";
break;
case PretranslationUsfmTextOrigin.OnlyExisting:
Expand All @@ -127,7 +127,7 @@ await GetAllAsync(engineId, modelRevision, corpusId, textId, cancellationToken)
textId,
pretranslations.ToList(),
fullName: targetSettings.FullName,
textBehavior: UpdateUsfmTextBehavior.StripExisting
textBehavior: UpdateUsfmTextBehavior.StripExisting

Check failure on line 130 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context
) ?? "";
break;
}
Expand All @@ -151,14 +151,14 @@ await GetAllAsync(engineId, modelRevision, corpusId, textId, cancellationToken)
textId,
pretranslations.ToList(),
fullName: targetSettings.FullName,
textBehavior: UpdateUsfmTextBehavior.StripExisting
textBehavior: UpdateUsfmTextBehavior.StripExisting

Check failure on line 154 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context
) ?? "";
case PretranslationUsfmTextOrigin.OnlyExisting:
return updater.UpdateUsfm(
textId,
[], // don't pass the pretranslations, we only want the existing text.
fullName: targetSettings.FullName,
textBehavior: UpdateUsfmTextBehavior.StripExisting
textBehavior: UpdateUsfmTextBehavior.StripExisting

Check failure on line 161 in src/Serval/src/Serval.Translation/Services/PretranslationService.cs

View workflow job for this annotation

GitHub Actions / Build

The name 'UpdateUsfmTextBehavior' does not exist in the current context
) ?? "";
}
}
Expand Down

0 comments on commit 6b717b9

Please sign in to comment.