mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-write-api.git
synced 2025-10-03 04:21:06 +08:00
fix: unlocalized error if language key has args
This commit is contained in:
parent
850a4ff7a3
commit
c651e8c329
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
var translator = require.main.require('./src/translator');
|
||||
var isLanguageKey = /^\[\[[\w.\-_:]+]]$/;
|
||||
var isLanguageKey = /^\[\[[\w.,\s\-_:]+]]$/;
|
||||
|
||||
var ErrorHandler = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue