Skip to content

Commit c651e8c

Browse files
committed
fix: unlocalized error if language key has args
1 parent 850a4ff commit c651e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/errorHandler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
var translator = require.main.require('./src/translator');
4-
var isLanguageKey = /^\[\[[\w.\-_:]+]]$/;
4+
var isLanguageKey = /^\[\[[\w.,\s\-_:]+]]$/;
55

66
var ErrorHandler = {};
77

0 commit comments

Comments
 (0)