From 0b5a44090fda627963d8b3dd4683c9cfa96231e6 Mon Sep 17 00:00:00 2001 From: Hung Nguyen Date: Mon, 10 Jul 2017 11:18:57 +0700 Subject: [PATCH] add support for Vietnamese reply format --- talon/quotations.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/talon/quotations.py b/talon/quotations.py index 9286209..7eb16ad 100644 --- a/talon/quotations.py +++ b/talon/quotations.py @@ -42,6 +42,8 @@ RE_ON_DATE_SMB_WROTE = re.compile( u'På', # Swedish, Danish 'Den', + # Vietnamese + u'Vào', )), # Date and sender separator u'|'.join(( @@ -64,6 +66,8 @@ RE_ON_DATE_SMB_WROTE = re.compile( 'schrieb', # Norwegian, Swedish 'skrev', + # Vietnamese + u'đã viết', )) )) # Special case for languages where text is translated like this: 'on {date} wrote {somebody}:'