Skip to content

Commit

Permalink
Merge pull request #32 from SeverinPeter92/patch-1
Browse files Browse the repository at this point in the history
Change sentence Delimiter
  • Loading branch information
while1618 committed Dec 19, 2023
2 parents 3a66da5 + 69f9c24 commit 89b68c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/translate/translate.ts
Expand Up @@ -8,7 +8,7 @@ import { JSONObj } from './payload';
import { replaceAll } from './util';

export abstract class Translate {
public static readonly sentenceDelimiter: string = '\n{|}\n';
public static readonly sentenceDelimiter: string = '\n{~~~}\n';
private static readonly skipWordRegex: RegExp =
/({{([^{}]+)}}|<([^<>]+)>|<\/([^<>]+)>|\{([^{}]+)\})/g;
private static readonly maxLinesPerRequest = 200;
Expand Down

0 comments on commit 89b68c7

Please sign in to comment.