mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-31 09:39:51 +02:00
allow multiline support for translator
see: https://github.com/psychobunny/templates.js/issues/36
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
var languages = {},
|
||||
regexes = {
|
||||
match: /\[\[.*?\]\]/g,
|
||||
match: /\[\[[\s\S]*?\]\]/g,
|
||||
split: /[,][\s]*/,
|
||||
replace: /\]+$/
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user