From ad41da8436ece7efe9ce21e017de48d65068e01e Mon Sep 17 00:00:00 2001 From: Derek P Sifford Date: Fri, 18 Jan 2019 21:01:44 -0500 Subject: [PATCH] fix error message parsing in csl file parser --- src/js/utils/file.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/js/utils/file.ts b/src/js/utils/file.ts index 6a5d2a93..78ff8325 100644 --- a/src/js/utils/file.ts +++ b/src/js/utils/file.ts @@ -1,3 +1,4 @@ +import { __ } from '@wordpress/i18n'; import { parse as parseBibtex } from 'astrocite-bibtex'; import { parse as parseRis } from 'astrocite-ris'; @@ -45,8 +46,18 @@ export async function parseCSL(file: File): Promise