From 457936adba65e9b1d4c3be56a3bf76bb2e50e55f Mon Sep 17 00:00:00 2001 From: Dejan Zdravkovic Date: Tue, 17 Dec 2024 10:12:47 +0100 Subject: [PATCH] Fix wrong delimiter returned for Tagalog language --- src/translate/translate.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/translate/translate.ts b/src/translate/translate.ts index 7fc773a..f335fa2 100644 --- a/src/translate/translate.ts +++ b/src/translate/translate.ts @@ -163,9 +163,11 @@ export abstract class Translate { }; private cleanUpTranslations = (value: string): string => { - // This is needed because of this weird bug: + // This is needed because of weird bugs: // https://github.com/while1618/i18n-auto-translation/issues/12 + // https://github.com/while1618/i18n-auto-translation/issues/53 const patterns: [string, string][] = [ + ['#___#', '#__#'], ['#__ #', '#__#'], ['# __#', '#__#'], ['# __ #', '#__#'],