1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-25 15:46:39 +09:00

Update i18n.ts

This commit is contained in:
syuilo 2018-05-07 05:22:06 +09:00 committed by GitHub
parent 4955df3911
commit 89f618d732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;