Skip to content

Commit

Permalink
Fix wrong delimiter returned for Tagalog language
Browse files Browse the repository at this point in the history
  • Loading branch information
while1618 committed Dec 17, 2024
1 parent 2e38ef2 commit 457936a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/translate/translate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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][] = [
['#___#', '#__#'],
['#__ #', '#__#'],
['# __#', '#__#'],
['# __ #', '#__#'],
Expand Down

0 comments on commit 457936a

Please sign in to comment.