Update i18n.ts
This commit is contained in:
parent
4955df3911
commit
89f618d732
|
@ -7,7 +7,7 @@ import locale from '../../locales';
|
|||
export default class Replacer {
|
||||
private lang: string;
|
||||
|
||||
public pattern = /%i18n:([a-z_\-@\.\!]+?)%/g;
|
||||
public pattern = /%i18n:([a-z0-9_\-@\.\!]+?)%/g;
|
||||
|
||||
constructor(lang: string) {
|
||||
this.lang = lang;
|
||||
|
|
Loading…
Reference in a new issue