✌️
This commit is contained in:
parent
d3b3a7fc4e
commit
a53746e9d0
4 changed files with 12 additions and 9 deletions
|
|
@ -63,6 +63,8 @@ export default class Replacer {
|
|||
key = key.substr(1);
|
||||
}
|
||||
|
||||
if (ctx && ctx.lang) this.lang = ctx.lang;
|
||||
|
||||
if (match[0] == '"') {
|
||||
return '"' + this.get(name, key).replace(/"/g, '\\"') + '"';
|
||||
} else if (match[0] == "'") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue